Igor Fedorenko <[EMAIL PROTECTED]> wrote on 16/06/2008 11:43:31:
> Maven projects with packaging=war will be automatically configured as
> Dynamic Web WTP project during project import or update configuration
> action. All relevant project dependencies will be added to WTP J2EE
> Module Dependencies (and removed from Maven Dependencies) and J2EE
> Module Dependencies and Maven Dependencies will be automatically updated
> as projects dependencies change.
>
> There is still some bugs/limitations in this area, but this mostly works
> ;-) You may want to try to create/import WAR project in WTP 2.0.x and
> see how changes to dependencies in POM get reflected in J2EE Module
> Dependencies.
Ok, so in essence you are doing the same job as the maven-eclipse-plugin,
in that you read the pom, and generate the .project, .classpath, .settings
folder and any other eclipse related meta data.
Is that essentially correct?
So where do you/can you set the facets for a project?
In some instances, this is mandatory meta data that needs to be there for
certain features that I use, to work.
The maven-eclipse-plugin covers this via:
<build>
<plugins>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalProjectFacets>
<com.ibm.websphere.extended.web>6.1</
com.ibm.websphere.extended.web>
<com.ibm.websphere.coexistence.web>6.1</
com.ibm.websphere.coexistence.web>
<web.jstl>1.1</web.jstl>
<jsf.base>7.0</jsf.base>
<jsf.ibm>7.0</jsf.ibm>
</additionalProjectFacets>
</configuration>
</plugin>
</plugins>
</build>
How can I accomplish this using m2eclipse?
-Chris
**********************************************************************
CAUTION - This message is intended for the addressee named above. It may
contain privileged or confidential information.
If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer
immediately.
Internet emails are not necessarily secure. Australian Associated Motors
Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not
accept responsibility for changes made to this message after it was sent.
Unless otherwise stated, views expressed within this email are the author's own
and do not represent those of AAMI.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email