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

Gaetan Boismal
03.50.2016 723b1bd2df194b640e3a5d2e92175803dc9bc494
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Thursday, March 3, 2016 18:50 +0100
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, March 4, 2016 15:50 +0100
commit723b1bd2df194b640e3a5d2e92175803dc9bc494
tree 07e375869bfaf77df41aeec42291a15162c8de9e tree | zip | gz
parent 6d85503c79a77f86a02d2fc8cb50cf34aaa8b70a view | diff
OPENDJ-2741 Fix maven default lifecycle

The maven default lifecycle build-phases from generate-sources to prepare-package (included)
were broken on the server build because of the following reasons:
* maven-plugin:generate-config expected a jar file to browse XML
descriptors and get a folder instead.
The fix consists to take in account the use case when the URL returned is actually a local folder path.

Once that fixed, we got another error which was related to the maven-dependency-plugin issue MDEP-187.
The maven-dependency-plugin:unpack goal only works for build phase >= package for multi modules projects.
Remove the use of the plugin to address the problem by directly pointing to the local path of:
* opendj-legacy sources
* opendj-maven-plugin xml configuration reference files
2 files modified
71 ■■■■ changed files
opendj-maven-plugin/src/main/java/org/forgerock/opendj/maven/GenerateConfigMojo.java 11 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/pom.xml 60 ●●●●● diff | view | raw | blame | history