On 03/25/2018 06:48 PM, Emmanuel Lécharny wrote: > Hi Stefan, > > today, I tried to build Studio, and I get an error that makes me thing > the trunk requires Java 9 to be built. Is that correct, or am I missing > something ? > > INFO] Resolving class path of MavenProject: > org.apache.directory.studio:org.apache.directory.studio.aciitemeditor:2.0.0-SNAPSHOT > @ /Users/elecharny/apacheds/directory-studio/plugins/aciitemeditor/pom.xml > [ERROR] Internal error: > org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception > parsing OSGi MANIFEST > /Users/elecharny/.m2/repository/p2/osgi/bundle/bcprov/1.56.0/bcprov-1.56.0.jar!/META-INF/MANIFEST.MF: > Unknown OSGi execution environment: 'JavaSE-1.9' -> [Help 1] > org.apache.maven.InternalErrorException: Internal error: > org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception > parsing OSGi MANIFEST > /Users/elecharny/.m2/repository/p2/osgi/bundle/bcprov/1.56.0/bcprov-1.56.0.jar!/META-INF/MANIFEST.MF: > Unknown OSGi execution environment: 'JavaSE-1.9'
bcprov 1.56 is broken [3], I updated version 1.59 in ApacheDS, see [1] and [2]. Your problem is probably related to cached snapshot artifacts in ~/.m2/repository/p2 so please delete them [4]. Kind Regards, Stefan [1] https://github.com/apache/directory-server/commit/6200fa2b25e9aa96517283dd9a965a753eeca7b1 [2] https://github.com/apache/directory-server/commit/94c7d9de024edae6758a160c00488fd96bff370f [3] https://www.bouncycastle.org/jira/browse/BJA-669 [4] https://github.com/apache/directory-studio#build-issues
