You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2019/12/17 20:18:00 UTC

[jira] [Comment Edited] (DIRSTUDIO-1244) Build failure on trunk/master: Missing requirement: org.apache.directory.api.ldap.client.api 2.0.0.AM5-SNAPSHOT requires 'java.package; org.apache.commons.pool2 2.7.0' but it could not be found

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998492#comment-16998492 ] 

Stefan Seelmann edited comment on DIRSTUDIO-1244 at 12/17/19 8:17 PM:
----------------------------------------------------------------------

And to clarify, the error that 2.7.0 is not found does not mean that it's missing in Maven central, it's in fact still there as commented in https://issues.apache.org/jira/browse/POOL-383.

The cause is the build system of Studio which appears to be "just" Maven but as it builds an Eclipse application it uses Eclipse Tycho which uses it's own repository format P2. The Studio build consists of two parts: The 1st part creates in {{eclipse-trgt-platform/target/repository}} the P2 repository of all non-Eclipse dependencies (especially LDAP API and ApacheDS including transitive dependencies). The 2nd part then invokes Tycho. Unfortunately dependencies have to be listed explicit to generate the P2 repo, maybe there is a way to automate this.


was (Author: seelmann):
And to clarify, the error that 2.7.0 is not found does not mean that it's missing in Maven central, it's in fact still there as commented in https://issues.apache.org/jira/browse/POOL-383.

The cause is the build system of Studio which appears to be "just" Maven but as it build and Eclipse application it uses Eclipse Tycho which uses it's own repository format P2. The Studio build consists of two parts: The 1st part creates in {{eclipse-trgt-platform/target/repository}} the P2 repository of all non-Eclipse dependencies (especially LDAP API and ApacheDS including transitive dependencies). The 2nd part then invokes Tycho. Unfortunately dependencies have to be listed explicit to generate the P2 repo, maybe there is a way to automate this.

> Build failure on trunk/master: Missing requirement: org.apache.directory.api.ldap.client.api 2.0.0.AM5-SNAPSHOT requires 'java.package; org.apache.commons.pool2 2.7.0' but it could not be found
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1244
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1244
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-build
>            Reporter: Graham Leggett
>            Priority: Major
>
> When attempting to build trunk/master of Apache Directory Studio, the build fails with reference to non-existent dependencies:
> {noformat}
> [ERROR] Cannot resolve target definition:
> [ERROR]   Software being installed: org.apache.directory.api.ldap.client.api 2.0.0.AM5-SNAPSHOT
> [ERROR]   Missing requirement: org.apache.directory.api.ldap.client.api 2.0.0.AM5-SNAPSHOT requires 'java.package; org.apache.commons.pool2 2.7.0' but it could not be found
> [ERROR] 
> [ERROR] Failed to resolve target definition /Users/minfrin/src/apache/sandbox/directory/directory-studio-trunk/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: See log for details -> [Help 1]
> [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/MavenExecutionException
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org