mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
25.08.2013 d5405bbfef235a096147dbea84a909f97be6facb
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, April 25, 2013 11:08 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, April 25, 2013 11:08 +0200
commitd5405bbfef235a096147dbea84a909f97be6facb
tree 586988b6cbaf085f3811e472c95306497f5d9e30 tree | zip | gz
parent b54d8bdf7b583b5d57b7deae2431c32fcd644a1a view | diff
Use Maven to build OpenDJ server


Trying to bring opendj server the most possible under maven.
Here maven-antrun-plugin is only used to generate the java files from our resources.
I am sure there are many glitches that need to be fixed in this file. We'll fix them over time. It is not ready to be used as prime build system yet. For example, no tests are run yet, or several resources are missing (.properties files, other??).
My goal is to bring opendj server under Sonar in order to see code coverage data.
Use "mvn -f pom-maven.xml clean install" to compile.

build.xml:
Renamed compileadmin target to generateadmin.mvn -f pom-maven.xml clean install
Added generatesources target depending on dynamicconstants, generatemessages and generateadmin.
In generateadmin target, pass down admin.src.dir property to generateadminsubtask.

pom-maven.xml: ADDED
Inspired from pom.xml.
1 files added
1 files modified
307 ■■■■■ changed files
opends/build.xml 23 ●●●●● diff | view | raw | blame | history
opends/pom-maven.xml 284 ●●●●● diff | view | raw | blame | history