WTP Settings does not use servlet-api version defined in pom.xml
----------------------------------------------------------------

                 Key: MECLIPSE-255
                 URL: http://jira.codehaus.org/browse/MECLIPSE-255
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: Windows XP Pro SP2, Eclipse 3.2.1, WTP 1.5.2, Maven 2.0.4
            Reporter: Joel


I have this dependencu in my pom.xml:
<dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.3</version>
        <scope>provided</scope>
</dependency>

And I've set the plugin like this:
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.3</version>
        <configuration>
                <wtpversion>1.5</wtpversion>
        </configuration>
</plugin>

When I'm generating eclipse config file with goal eclipse:eclipse, the content 
of the generated file ".settings/org.eclipse.wst.common.project.facet.core.xml" 
is:
<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>

The <installed facet="jst.web" version="2.4"/> should be <installed 
facet="jst.web" version="2.3"/>, isn't it?

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