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

Michael Osipov closed MECLIPSE-498.
-----------------------------------

    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 generates inaccurate .project file for ejb-client dependency
> ----------------------------------------------------------------------------
>
>                 Key: MECLIPSE-498
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-498
>             Project: Maven Eclipse Plugin
>          Issue Type: Bug
>            Reporter: Marius Grama
>         Attachments: EclipsePlugin.patch
>
>
> I have a pom.xml in which i specify among the dependencies and ejb library 
> and its ejb-client generated library dependencies :
> .....
>     <dependency>
>       <groupId>myproject</groupId>
>       <artifactId>my-artifact-ejb</artifactId>
>       <version>0.0.1-SNAPSHOT</version>
>       <type>ejb-client</type>
>     </dependency>
>     <dependency>
>       <groupId>myproject</groupId>
>       <artifactId>my-artifact-ejb</artifactId>
>       <version>0.0.1-SNAPSHOT</version>
>       <type>ejb</type>
>     </dependency>
> .....
> When I run maven having this program arguments :
> -e clean eclipse:clean eclipse:eclipse package install  
> -Dmaven.test.skip=true -Declipse.useProjectReferences=false 
> -Declipse.useProjectReferences=false
> everything runs smoothly and I have all the libraries added in the classpath.
> When I drop 
> -Declipse.useProjectReferences=false
> program argument my .project generated file looks a bit like this :
> <projectDescription>
>   <name>uniqa-testservice-service-testserviceimpl-iiop-client</name>
>   <comment>uniqa-testservice-service-testserviceimpl-iiop-client</comment>
>   <projects>
>     <project>xxx</project>
>     <project>my-artifact-ejb</project>
>     <project>my-artifact-ejb</project>
>     <project>yyyy</project>
>   </projects>
>   ........
> </projectDescription>
> and in the .classpath file :
> ....
>   <classpathentry kind="src" path="/my-artifact-ejb"/>
>   <classpathentry kind="src" path="/my-artifact-ejb"/>
> .....
> my-artifact-ejb is a project which exists in the same workspace as my project.
> I am rather new to Maven, but it seems to me that this is a bug for 
> eclipse:eclipse. Please correct me if I am wrong.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to