Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the repository has already been cloned the following process should be used.

Code Block
git pull
mvn clean install
stash
git rebase
git stash pop
mvn clean install

There is also a build.xml in the root that will do the same thing by executing simply ant.

Code Block

ant

There are a few other ant targets and mvn command lines to generate various other things.

Development Build

The following are equivalent. Does not generate distribution ZIPs.

Code Block

ant
mvn clean install

"Release" Build

The following are equivalent. Generates distribution ZIPs in target/dist/{X.Y.Z}

Code Block

ant verify
mvn -Prelease clean install

This is also equivalent to the Jenkins job Knox-master-verify

Full Build. Generates distribution ZIPs in target/dist/{X.Y.Z}. Generates full site in target/site of the top level and all sub-modules.

Code Block

ant full
mvn -Panalyze -Prelease clean site

This is also equivalent to the Jenkins Knox-master-daily

Include Page
KNOX:Footer
KNOX:Footer