Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Exception parsing OSGi MANIFEST

Hi Thierry

JavaSE-1.5 has to be J2SE-1.5

This is clearly stated at https://wiki.eclipse.org/Tycho/Execution_Environments.

HTH,
Marco


2015-03-18 14:50 GMT+01:00 titimoby <titimoby@xxxxxxxxx>:
Hi,

I have an issue that I downsized to the attached sample code.
I build a feature, with a single plugin.

feature.xml file contains those lines:

<plugin
         id="bcprov"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

and pom.xml has:

  <dependencies>
    <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcprov-jdk15</artifactId>
      <version>1.46</version>
    </dependency>
  </dependencies>

when launching mvn clean, I got this error:

[ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST /home/thierry/.m2/repository/org/bouncycastle/bcprov-jdk15/1.46/bcprov-jdk15-1.46.jar!/META-INF/MANIFEST.MF: Unknown OSGi execution environment: 'JavaSE-1.5' -> [Help 1]

Looking at https://wiki.eclipse.org/Tycho/Execution_Environments , I tried several things like ading:

<executionEnvironmentDefault>JavaSE-1.5</executionEnvironmentDefault>

to the target-platform-configration.
But still this issue.

Any idea of modifications I can try?

Thanks,

Thierry


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Tschö Marco

Back to the top