[
https://issues.apache.org/jira/browse/DIRSHARED-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238265#comment-13238265
]
Hendy Irawan commented on DIRSHARED-134:
----------------------------------------
Thank you Pierre-Arnaud.
I tried building ApacheDS trunk itself and as it currently stands, I cannot
build it without commenting the type=bundle lines.
Is there something special I should do with the apacheds sources in order to
build it using Maven ?
What side effect will happen if I comment the type=bundle lines in the
<dependency> elements ?
{code}
ceefour@annafi:~/vendor_dev/apacheds$ mvn install -DskipTests
[INFO] Scanning for projects...
[ERROR] The build could not read 3 projects -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-all:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/all/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 74, column 17
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-jdbm-partition:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/jdbm-partition/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 58, column 17
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/protocol-ldap/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 61, column 17
[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
ceefour@annafi:~/vendor_dev/apacheds$ nano all/pom.xml
ceefour@annafi:~/vendor_dev/apacheds$ mvn install -DskipTests
[INFO] Scanning for projects...
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-jdbm-partition:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/jdbm-partition/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 58, column 17
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/protocol-ldap/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 61, column 17
[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
ceefour@annafi:~/vendor_dev/apacheds$ nano jdbm-partition/pom.xml
ceefour@annafi:~/vendor_dev/apacheds$ mvn install -DskipTests
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.directory.server:apacheds-protocol-ldap:2.0.0-M7-SNAPSHOT
(/home/ceefour/vendor_dev/apacheds/protocol-ldap/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for
org.apache.directory.jdbm:apacheds-jdbm2:bundle is missing. @ line 61, column 17
[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
ceefour@annafi:~/vendor_dev/apacheds$ nano protocol-ldap/pom.xml
ceefour@annafi:~/vendor_dev/apacheds$ mvn install -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ApacheDS
[INFO] ApacheDS I18n
[INFO] ApacheDS Core Constants
[INFO] ApacheDS Core API
...
{code}
> Missing artifact org.apache.directory.jdbm:apacheds-jdbm2:bundle:2.0.0-M1
> when depending on apacheds-server-jndi
> ----------------------------------------------------------------------------------------------------------------
>
> Key: DIRSHARED-134
> URL: https://issues.apache.org/jira/browse/DIRSHARED-134
> Project: Directory Shared
> Issue Type: Bug
> Affects Versions: 1.0.0-M11
> Reporter: Hendy Irawan
> Assignee: Pierre-Arnaud Marcelot
>
> Missing artifact org.apache.directory.jdbm:apacheds-jdbm2:bundle:2.0.0-M1
> when depending on :
> <dependency>
> <groupId>org.apache.directory.server</groupId>
> <artifactId>apacheds-server-jndi</artifactId>
> <version>2.0.0-M6</version>
> </dependency>
> It should transitively depend on a "jar" type, not a bundle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira