Maven Build Instructions

Note: To deploy the site to SourceForge you must create a shell:

        ssh -t <username>,microlog@shell.sf.net create

See http://people.apache.org/~baerrach/maven-site-plugin-2.0-beta-8-SNAPSHOT/examples/site-deploy-to-sourceforge.net.html

Note: For deploying artifacts and the site you must have created the following server settings in your .m2/settings.xml

  <servers>
    <server>
      <id>microlog-releases</id>
      <username>username</username>
      <password>password</password>
    </server>
    <server>
      <id>microlog-snapshots</id>
      <username>username</username>
      <password>password</password>    </server>
    <server>
      <id>microlog.sourceforge.site</id>
      <username>username</username>
      <password>password</password>
    </server>
  </servers>

See http://maven.apache.org/settings.html#Servers

  • Build all modules:
        mvn clean install
  • Build site and deploy to stage directory under microlog/target to check the site generation:
        mvn site:stage
  • Deploy the site to web page on http://microlog.sourceforge.net/site
        mvn site site:deploy