Re: Studio build issue
Le 31/08/2018 à 20:19, Stefan Seelmann a écrit : > On 08/31/2018 09:54 AM, Emmanuel Lécharny wrote: >> Sadly, after having applied the fix, I still get the same error : >> >> /Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: >> Could not find "org.apache.commons-pool2/2.6.0" in the repositories of > > It seems in one of the changed XML a "commons." is missing, should be > org.apache.commons.commons-pool2 > instead of > org.apache.commons-pool2 Indeed ! It works now. Thanks a lot Stefan ! FTR: as soon as you have used the latest Studio version, it seems ou can't use back teh previous one, as the keystore has been migrated. -- Emmanuel Lecharny Symas.com directory.apache.org pEpkey.asc Description: application/pgp-keys
Re: Studio build issue
On 08/31/2018 09:54 AM, Emmanuel Lécharny wrote: > Sadly, after having applied the fix, I still get the same error : > > /Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: > Could not find "org.apache.commons-pool2/2.6.0" in the repositories of It seems in one of the changed XML a "commons." is missing, should be org.apache.commons.commons-pool2 instead of org.apache.commons-pool2
Re: Studio build issue
Le 31/08/2018 à 06:30, Stefan Seelmann a écrit : > Hi Emmanuel, > > it seems commons pool2 changed the OSGi artifact name, so two more > changes are required. I pushed it to a branch: > https://github.com/apache/directory-studio/commit/5bebd786d1ddb328fa57979de1cb542e78df0ee2 Thanks Stefan ! I truly wouldn't have been able to find the solution... (except maybe the commons-pool2 instead of commons.pool2) Sadly, after having applied the fix, I still get the same error : mvn clean install Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.apache.directory.studio:org.apache.directory.studio.aciitemeditor:2.0.0-SNAPSHOT @ /Users/elecharny/apacheds/directory-studio/plugins/aciitemeditor/pom.xml [INFO] Adding repository file:///Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/target/repository [ERROR] Failed to resolve target definition /Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: Could not find "org.apache.commons-pool2/2.6.0" in the repositories of the current location -> [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 (note that I did a mvn -f pom-first.xml clean install before that, and a removal of the p2 repo) For my education, why is the sequence number changed ? (and what is it good for ?) Thanks ! -- Emmanuel Lecharny Symas.com directory.apache.org pEpkey.asc Description: application/pgp-keys
Re: Studio build issue
Hi Emmanuel, it seems commons pool2 changed the OSGi artifact name, so two more changes are required. I pushed it to a branch: https://github.com/apache/directory-studio/commit/5bebd786d1ddb328fa57979de1cb542e78df0ee2 Stefan On 08/31/2018 06:21 AM, Emmanuel Lécharny wrote: > Hi Stefan > > I'm a bit stuck here... > > I ave tried to build Studio with Apache LDAP API 2.0.0.AM2-SNAPSHOT, and > the build failed with this error: > > mvn clean install > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option > MaxPermSize=256M; support was removed in 8.0 > [INFO] Scanning for projects... > [INFO] Computing target platform for MavenProject: > org.apache.directory.studio:org.apache.directory.studio.aciitemeditor:2.0.0-SNAPSHOT > @ /Users/elecharny/apacheds/directory-studio/plugins/aciitemeditor/pom.xml > [INFO] Adding repository > file:///Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/target/repository > [ERROR] Failed to resolve target definition > /Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: > Could not find "org.apache.commons.pool2/2.6.0" in the repositories of > the current location -> [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 > > > I have updated the pom.xml file with those changes : > > $ git diff pom.xml > diff --git a/pom.xml b/pom.xml > index 1527bfb96..733d980bd 100644 > --- a/pom.xml > +++ b/pom.xml > @@ -86,9 +86,9 @@ > > 2.6.0 > 2.6 > > 2.6.0 > - > 2.5.0 > - > 2.5.0 > - > 2.0.0.AM1 > + > 2.6.0 > + > 2.6.0 > + > 2.0.0.AM2-SNAPSHOT > > 2.0.0.AM25 > 2.0.18 > 2.0.18 > > > I also doomed my p2 repository accordingly to the README, just in case. > > The change is that in 2.0.0.AM2, we are using commons pool2 version > 2.6.0 instead of 2.5.0. > > Am I missing some step ? > > Thanks ! >
Studio build issue
Hi Stefan I'm a bit stuck here... I ave tried to build Studio with Apache LDAP API 2.0.0.AM2-SNAPSHOT, and the build failed with this error: mvn clean install Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.apache.directory.studio:org.apache.directory.studio.aciitemeditor:2.0.0-SNAPSHOT @ /Users/elecharny/apacheds/directory-studio/plugins/aciitemeditor/pom.xml [INFO] Adding repository file:///Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/target/repository [ERROR] Failed to resolve target definition /Users/elecharny/apacheds/directory-studio/eclipse-trgt-platform/org.apache.directory.studio.eclipse-trgt-platform.target: Could not find "org.apache.commons.pool2/2.6.0" in the repositories of the current location -> [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 I have updated the pom.xml file with those changes : $ git diff pom.xml diff --git a/pom.xml b/pom.xml index 1527bfb96..733d980bd 100644 --- a/pom.xml +++ b/pom.xml @@ -86,9 +86,9 @@ 2.6.0 2.6 2.6.0 - 2.5.0 - 2.5.0 - 2.0.0.AM1 + 2.6.0 + 2.6.0 + 2.0.0.AM2-SNAPSHOT 2.0.0.AM25 2.0.18 2.0.18 I also doomed my p2 repository accordingly to the README, just in case. The change is that in 2.0.0.AM2, we are using commons pool2 version 2.6.0 instead of 2.5.0. Am I missing some step ? Thanks ! -- Emmanuel Lecharny Symas.com directory.apache.org pEpkey.asc Description: application/pgp-keys