Skip to content

vassalengine/vassal-module-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vassal Module Template

  • Put custom module source code into src/.

  • Put the contents of your module into dist/.

  • pom.xml contains project settings, such as the Vassal version to compile against, the name and version of your module.

  • Variables defined in pom.xml can be substituted into other files, listed explicitly in the <resources> section. E.g., you can substutite the module version number into the moduledata file:

    <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 to target/.

  • The maven-shade-plugin in pom.xml may be used to package dependent JARs with your module. See comments in pom.xml for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages