Child pages
  • Build MyFaces Core from source code using Maven

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Build MyFaces Core from source code using Maven

...

Running a Myfaces build

...

  • You may need to run the 'mvn' command multiple times when you're first starting out, as it downloads plugins and the download process does not seem to be entirely reliable.
  • Use the setting -Dmaven.test.skip=true if you don't want tests to run.
  • Use the setting -Dmaven.test.failure.ignore=true if you don't want the build to stop if a test fails

...

To build the documentation site, execute:

...

The documentation will be put in the target/site folder of every subproject.

...

In most cases, it is best to build all the Tomahawk modules:

...

If you really want to build just Tomahawk core then you will need to manually add the apache snapshot repository to your settings file. The problem is that each tomahawk
submodule needs access to its parent pom. That is no problem if the parent pom is in the parent directory (which happens if you check out the whole of tomahawk rather
than just the core module). Otherwise maven can also retrieve it from the apache snapshot repository - except that the definition for the apache snapshot repository
location is in an ancestor pom that is referenced only from the parent pom!

To enable the apache snapshot repostory, edit file ~/.m2/settings.xml and add the following:

...

IDE support

See Building_MyFaces_in_your_IDE.

...