[ 
http://jira.codehaus.org/browse/MECLIPSE-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102100
 ] 

Thierry Levieux commented on MECLIPSE-266:
------------------------------------------

"Why would I add a dependency to anything if there is already a version tag in 
the ear plugin specification?"

I think maven has been designed so as the plugins are as agnostics as possible, 
to avoid cross plugins
dependencies. By agnostic I mean they don't know about each other (maybe one 
exception is maven-compiler-plugin).
Please correct me if I am wrong...

Personally, I always start thinking of plugins as functionalities, so you can 
easily answer the former question:
- I need to generate an eclipse project that represents an EAR.
- who is responsible for generating the artifacts (.project .classpath 
.settings..) ? 
- ear plugin ? No, it is a packaging tool.
- eclipse plugin ? Yes, it generates my eclipse artifacts.

Now you can forget your ear/ant/tomcat/coffee... plugins !
If you have an issue with wtp, the responsibles are either the eclipse plugin 
itself (a bug), its configuration
or the project attributes (i.e jar packaging instead of ear packaging, for 
instance)...

By the way, have you succeed in generating your project ?
Thierry



> plugin applies java facet to ear project
> ----------------------------------------
>
>                 Key: MECLIPSE-266
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-266
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: WTP support
>    Affects Versions: 2.3
>         Environment: Windows XP
>            Reporter: Srepfler Srgjan
>
> In .settings/org.eclipse.wst.common.project.facet.core.xml of the EAR module 
> I'm getting this:
> <faceted-project>
>   <fixed facet="jst.java"/>
>   <fixed facet="jst.ear"/>
>   <installed facet="jst.ear" version="1.3"/>
>   <installed facet="jst.java" version="1.4"/>
> </faceted-project>
> This is a wrong facet on a EAR module and I can't compile if I don't edit 
> this file manually (I can't do it from the project properties - facets dialog)

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