You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Enrico Schnepel (JIRA)" <ji...@codehaus.org> on 2010/04/19 17:43:12 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=218234#action_218234 ] 

Enrico Schnepel commented on MNG-4635:
--------------------------------------

done so... https://issues.sonatype.org/browse/TYCHO-415

> [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