All Projects → kevinsawicki → Github Maven Example

kevinsawicki / Github Maven Example

Example project using GitHub Maven Plugins

Programming Languages

java
68154 projects - #9 most used programming language

This is an example project that uses the GitHub Maven Plugins.

See the POM file for how the downloads plugin and site plugin are configured.

Getting started

  • Fork this project
  • Update the pom.xml file <url> element to be the address of your fork
  • Optionally update <scm> and <developers> section as well to have the information for your fork
  • Add the following to your Maven settings.xml file updated with your GitHub login name and password:
<servers>
  <server>
    <id>github</id>
    <username>user</username>
    <password>password</password>
  </server>  
</servers>

Using the downloads plugin

$ cd github-maven-example/example
$ mvn clean install

The compiled, source, and Javadoc JAR files will be uploaded as downloads here.

Using the site plugin

$ cd github-maven-example/example
$ mvn site

The generated site will be committed to the gh-pages branch and visible here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].