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

Jean-Noel Rouvignac
25.08.2013 7c1f6a58ce9fafa73307b783cad8c184c9cae665
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
commit7c1f6a58ce9fafa73307b783cad8c184c9cae665
tree f6076905b17653c9288e7af97ff9e1a3ef1f838a tree | zip | gz
parent 95b6eab545532a8feaecd358e28631ccd3c00dc1 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 modified
1 files added
307 ■■■■■ changed files
opendj-sdk/opends/build.xml 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/pom-maven.xml 284 ●●●●● diff | view | raw | blame | history