-
Put custom module source code into
src/. -
Put the contents of your module into
dist/. -
pom.xmlcontains project settings, such as the Vassal version to compile against, the name and version of your module. -
Variables defined in
pom.xmlcan be substituted into other files, listed explicitly in the<resources>section. E.g., you can substutite the module version number into themoduledatafile:<version>${project.version}</version>and also into to
buildFile.xml:<VASSAL.build.GameModule ModuleOther1="" ModuleOther2="" VassalVersion="3.7.4" description="Some Module for Some Game" name="SomeModule" nextPieceSlotId="14332" version="${project.version}">in order to keep them current automatically.
-
Run Maven's package target to build the module. (From the command line on Unix:
./mvnw package; from the command line on Windows:mvnw.cmd package; from an IDE, choose the "package" target.) The module will be written totarget/. -
The maven-shade-plugin in
pom.xmlmay be used to package dependent JARs with your module. See comments inpom.xmlfor more details.
-
Notifications
You must be signed in to change notification settings - Fork 6
License
vassalengine/vassal-module-template
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published