Skip to content

richardwilly98/github-maven-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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 (update with your GitHub login name and password):
<profiles>
  <profile>
    <id>github</id>
    <properties>
      <github.global.userName>user</github.global.userName>
      <github.global.password>password</github.global.password>
    </properties>
  </profile>  
</profiles>

<activeProfiles>
  <activeProfile>github</activeProfile>
</activeProfiles>

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.

About

Example project using GitHub Maven Plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published