ForgeRock / opendj-community-edition

OpenDJ is a directory server which implements a wide range of Lightweight Directory Access Protocol and related standards, including full compliance with LDAPv3 but also support for Directory Service Markup Language (DSMLv2).[1] Written in Java, OpenDJ offers multi-master replication, access control, and many extensions.
https://forgerock.github.io/opendj-community-edition/
51 stars 25 forks source link

Update pom.xml to change opendj-project version #4

Closed FireBurn closed 7 years ago

FireBurn commented 7 years ago

Update opendj-project version form 2.6.4 to 2.6.11

chrisridd commented 7 years ago

What's the rationale for this? Note that the server's version is not going to be the same as the SDK version as they were released at different times and for different reasons.

FireBurn commented 7 years ago

Currently with a mvn clean install I get:

(t99oam01_85cell:node > mvn clean install
[INFO] Scanning for projects...
Downloading: http://maven.forgerock.org/repo/community/org/forgerock/ce/opendj/opendj-project/2.6.4/opendj-project-2.6.4.pom
Downloading: https://repo.maven.apache.org/maven2/org/forgerock/ce/opendj/opendj-project/2.6.4/opendj-project-2.6.4.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.forgerock.ce.opendj:opendj-server:2.6.4: Could not find artifact org.forgerock.ce.opendj:opendj-project:pom:2.6.4 in forgerock-community-repository (http://maven.forgerock.org/repo/community) and 'parent.relativePath' points at wrong local POM @ line 37, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.forgerock.ce.opendj:opendj-server:2.6.4 (/apps/was/OpenDJ/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.forgerock.ce.opendj:opendj-server:2.6.4: Could not find artifact org.forgerock.ce.opendj:opendj-project:pom:2.6.4 in forgerock-community-repository (http://maven.forgerock.org/repo/community) and 'parent.relativePath' points at wrong local POM @ line 37, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Changing the project version to 2.6.11 allows it to build

BohoCode commented 7 years ago

Closing because this change is already in master - but thanks for the pull request! Much appreciated!