Compiler settings from parent project aren't used in wtp facet
--------------------------------------------------------------

                 Key: MECLIPSE-241
                 URL: http://jira.codehaus.org/browse/MECLIPSE-241
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: WTP support
    Affects Versions: 2.3
         Environment: maven 2.0.4 / maven 2.0.5
            Reporter: Arnaud Heritier
            Priority: Minor
         Attachments: project-28.zip

In a parent POM I have :
{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <configuration>
    <source>1.5</source>
    <target>1.5</target>
  </configuration>
</plugin>
{code}
And I have a submodule (a war) configure to generate wtp 1.5 settings :
{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-eclipse-plugin</artifactId>
  <configuration>
    <wtpversion>1.5</wtpversion>
  </configuration>
</plugin>
{code}
After running eclipse:eclipse I have the following in my 
org.eclipse.wst.common.project.facet.core.xml :
{code:xml}
<faceted-project>
  <fixed facet="jst.java"/>
  <fixed facet="jst.web"/>
  <installed facet="jst.web" version="2.4"/>
  <installed facet="jst.java" version="1.4"/>
</faceted-project>
{code}
And not
{code:xml}
<faceted-project>
  <fixed facet="jst.java"/>
  <fixed facet="jst.web"/>
  <installed facet="jst.web" version="2.4"/>
  <installed facet="jst.java" version="5.0"/>
</faceted-project>
{code}

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

        

Reply via email to