Skip to content

lockss/lockss-plugins-archetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This archetype creates a LOCKSS plugin project in which to store, test and build LOCKSS plugins

Usage

To use the latest released version of this archetype execute the following maven command:

mvn archetype:generate \
 -DarchetypeGroupId=org.lockss \
 -DarchetypeArtifactId=lockss-plugins-archetype \
 -DarchetypeVersion=1.4.0-SNAPSHOT

Note: Use -Ptesting to package the plugin without supplying keyfile/password. This is intended for development and testing of plugins e.g., in runcluster. See the README.md in that project for additional details.

Follow the prompts:

  • Define value for property 'groupId': <your.package> (e.g., edu.)
  • Define value for property 'artifactId': (e.g., plugin name)
  • Define value for property 'version':
  • Define value for property 'package'

Place your plugin files (.xml, .java, etc.) in src/main/java///, and your tests in src/test/java///.

Build the plugin(s) with mvn verify. This will generate .jar files in target/pluginjars as well as run some validation checks.

Available properties

Name Default Description
groupId Base Maven groupId
artifactId Base Maven ArtifactId
version Version
package Java Source Package
artifactName Maven Project Name

About

Maven archetype for generating a lockss plugin

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages