Versions Compared

Key

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

...

The following process can be used to build the project without an existing repository clone.

Code Block

git clone https://git-wip-usgitbox.apache.org/repos/asf/incubator-knox.git knox
mvn clean install

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

Code Block
git stash
git pull
mvn 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

Verify Build (aka "Release")

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

Code Block
ant release
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 job Knox-master-daily

...

Include Page
Footer

Footer