[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Exception parsing OSGi MANIFEST
|
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]
<executionEnvironmentDefault>JavaSE-1.5</executionEnvironmentDefault>
to the target-platform-configration.
But still this issue.
Any idea of modifications I can try?
Thanks,
Thierry
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="com.semarchy.feature"
label="External plugins used by semarchy"
version="3.2.0.3"
provider-name="Semarchy">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<plugin
id="bcprov"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
Attachment:
log
Description: Binary data
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.semarchy</groupId>
<artifactId>com.semarchy.feature</artifactId>
<packaging>eclipse-feature</packaging>
<properties>
<project-build-sourceEncoding>UTF-8</project-build-sourceEncoding>
<tycho-version>0.22.0</tycho-version>
<tycho-groupid>org.eclipse.tycho</tycho-groupid>
</properties>
<repositories>
<repository>
<id>EclipseLuna</id>
<url>http://download.eclipse.org/releases/luna/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.46</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<executionEnvironmentDefault>JavaSE-1.5</executionEnvironmentDefault>
<resolver>p2</resolver>
<resolveWithExecutionEnvironmentConstraints>false</resolveWithExecutionEnvironmentConstraints>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
<pomDependencies>consider</pomDependencies>
<filters>
<filter>
<type>p2-installable-unit</type>
<id>org.apache.commons.lang3</id>
<restrictTo>
<version>3.3.2</version>
</restrictTo>
</filter>
<filter>
<type>p2-installable-unit</type>
<id>org.apache.commons.lang</id>
<restrictTo>
<version>2.6</version>
</restrictTo>
</filter>
<filter>
<type>p2-installable-unit</type>
<id>org.apache.commons.pool</id>
<restrictTo>
<version>1.6</version>
</restrictTo>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
<version>3.2.0.3</version>
</project>