You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/04/19 17:17:12 UTC
[jira] Closed: (MNG-4635) [Tycho] the maven-osgi-compiler-plugin
should be properly configured to respect the
Bundle-RequiredExecutionEnvironment manifest entry
[ http://jira.codehaus.org/browse/MNG-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4635.
----------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
Please fill issues regarding Tycho at https://issues.sonatype.org/browse/TYCHO.
For now, you could try using a shared parent POM for your modules to simply inherit the common configuration.
> [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
> Assignee: Benjamin Bentmann
>
> 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