[ 
http://jira.codehaus.org/browse/MECLIPSE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated MECLIPSE-336:
-------------------------------------

    Fix Version/s:     (was: 2.5)

> Adding runtime facets and additional classpath containers depending on the 
> artifact packaging
> ---------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-336
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-336
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: New Feature
>          Components: WTP support
>    Affects Versions: 2.4
>            Reporter: Martin Zeltner
>         Attachments: patch_maven-eclipse-plugin-r587020-2.patch
>
>   Original Estimate: 20 minutes
>  Remaining Estimate: 20 minutes
>
> If extended the plugin so it is possible to add runtime facets and classpath 
> containers depending on the artifact packaging. So it is possible to 
> configure the eclipse plugin in "root pom" but with different behaviour for 
> jar, war, ejb and ear artifacts. Else it is necessary to i.e. set the same 
> classpath containers for each war project. Example:
> [code]
>                         <plugin>
>                             <groupId>org.apache.maven.plugins</groupId>
>                             <artifactId>maven-eclipse-plugin</artifactId>
>                             <configuration>
>                                 
> <wtpContextName>${jee-web.context}</wtpContextName>
>                                 <projectRuntimeFacets>
>                                     
> <projectRuntimeFacet>${tomcat5x.eclipse.runtime.facet.name}</projectRuntimeFacet>
>                                 </projectRuntimeFacets>
>                                 <additionalWarClasspathContainers>
>                                     
> <additionalWarClasspathContainer>org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/${tomcat5x.eclipse.runtime.facet.name}</additionalWarClasspathContainer>
>                                     
> <additionalWarClasspathContainer>org.eclipse.jst.j2ee.internal.web.container</additionalWarClasspathContainer>
>                                     
> <additionalWarClasspathContainer>org.eclipse.jst.j2ee.internal.module.container</additionalWarClasspathContainer>
>                                 </additionalWarClasspathContainers>
>                             </configuration>
>                         </plugin>
> [/code]
> Cheers,
> Martin

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