[Tycho] the maven-osgi-compiler-plugin should be properly configured to respect
the Bundle-RequiredExecutionEnvironment manifest entry
--------------------------------------------------------------------------------------------------------------------------------------
Key: MNG-4635
URL: http://jira.codehaus.org/browse/MNG-4635
Project: Maven 2 & 3
Issue Type: Bug
Affects Versions: 3.0-alpha-7
Environment: Tycho 0.8.0
Reporter: Enrico Schnepel
after generating the poms I need to configure every pom whose plug-in uses Java
1.6 as configured execution environment to contain a block like:
<build>
<plugins>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-compiler-plugin</artifactId>
<version>0.8.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
tycho should be aware of a configured execution environment in the manifest
(entry "Bundle-RequiredExecutionEnvironment") or take the setting out of the
".settings/org.eclipse.jdt.core.prefs" properties file to configure the
compiler properly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira