maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Gawantka (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-514) eclipse:eclipse always adds project-facet for ejb 2.1
Date Fri, 19 Dec 2008 11:21:19 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158701#action_158701
] 

Thorsten Gawantka commented on MECLIPSE-514:
--------------------------------------------

I have patched the JeeUtils-Class, so it recognises the maven-ejb-plugin->ejbVersion Configuration.

Where can I upload my modified Source-File?

> eclipse:eclipse always adds project-facet for ejb 2.1
> -----------------------------------------------------
>
>                 Key: MECLIPSE-514
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-514
>             Project: Maven 2.x 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
>
> 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 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

        

Mime
View raw message