...
Code Block |
---|
<settings> ... <activeProfiles> <activeProfile>apache</activeProfile> </activeProfiles> ... </settings> |
Building the trunks
If you already have built the trunks once, it may be better to clean the repository :
Code Block |
---|
cd apacheds-trunk
mvn clean
|
Now, we can compile the project.
The command is simple :
Code Block |
---|
mvn clean install
|
Warning | ||
---|---|---|
| ||
You must make sure you build the shared, installers, and daemon project modules in addition to the apacheds module to prevent problems with stale Maven SNAPSHOT jars in the snapshot repository from causing compilation errors. This can be guaranteed by performing all Maven operations above in the top directory that you checked out: the apacheds-trunk directory. |
...
Info | ||
---|---|---|
If you want to do really safe build, run the following commands in trunks:
|
Building the installers
Building the installers is a two phase process :
...
Code Block |
---|
cd apacheds-trunk
mvn clean install
mvn eclipse:eclipse
cd apacheds/bootstrap-partition
mvn clean install
|
(The last command is necessary because eclipse:eclipse purge the target directory, and we need some generated files which has been removed. This is why we do another *mvn clean installù in the boostrap-partition module
then import all the existing project which has been created.
...