[
https://jira.codehaus.org/browse/MECLIPSE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MECLIPSE-514.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> eclipse:eclipse always adds project-facet for ejb 2.1
> -----------------------------------------------------
>
> Key: MECLIPSE-514
> URL: https://jira.codehaus.org/browse/MECLIPSE-514
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.5.1
> Environment: Ubuntu Linux 8.10, Eclipse Ganymede, maven 2.0.9, java
> 1.6.10
> Reporter: Thorsten Gawantka
> Attachments: JeeUtils.java, JeeUtils.patch
>
>
> I have an ejb-project with ejb-version 3.0 specified. (see below)
> Now if i execute "mvn eclipse:eclipse" the genereated eclipse project always
> contains the facet for ejb 2.1
> If i edit the the facet in the corresponding file to ejb 3.0, and execute
> "mvn eclipse:eclipse" again, the facet is reseted to ejb 2.1
> If i add the additonalFacet for ejb 3.0 to the pom, then the corresponding
> file contains facets for ejb 2.1 *and* ejb 3.0
> --- pom.xml Sniplets ---
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <wtpversion>2.0</wtpversion>
> <downloadSources>true</downloadSources>
> </configuration>
> </plugin>
> <plugin>
> <artifactId>maven-ejb-plugin</artifactId>
> <configuration>
> <ejbVersion>3.0</ejbVersion>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> </manifest>
> </archive>
> </configuration>
> </plugin>
> </plugins>
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)