-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thor wrote:
> Hello everyone in the list. And thanks for reading...
>
> First of all, let me tell you that I'm a newbie at Maven 2, but I'm already
> enjoying it...
>
> Here's my issue:
> I have a multi modules project:
> - The API project
> - The Core project
> - The WAR project
> - The EAR Project
>
> The thing is that I need to use WTP 2.0 in order to develop 3.0 EJB's. I've
> been checking the Maven 2 documentation and it seems that at this
moment the
> maven-eclipse-plugin only supports WTP R7, 1.0 and 1.5.
> I was thinking about develop my own plugin and an archetype that constructs
> my multi module project. But it comes that at this moment, I don't have the
> time to do it.
>
> I was wondering if there's any other way to integrate Maven with
Eclipse and
> WTP or if is there any beta version of the plugin that i could try?
>
> Thanks in advice...
>
Hello,
I'm currently somehow using configured maven and Eclipse EUROPA
WST 2.0. mvn eclipse:eclipse seems to work fine with the exception
that it can't configure WEB-INF/lib to contain all required jars. As a
work around i've added
<wb-resource deploy-path="/WEB-INF/lib"
source-path="/target/Project/WEB-INF/lib" />
in .settings/org.eclipse.wst.common.component. Having all this i have
to run mvn eclipse:eclipse and mvn package
this way i can run Tomcat 6 through eclipse
here is the POM part for the eclipse plugin that i use
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<useProjectReferences>false</useProjectReferences>
<!--
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
-->
<additionalProjectFacets>
<jst.java>5.0</jst.java>
<jst.web>2.5</jst.web>
<jst.jsf>1.2</jst.jsf>
</additionalProjectFacets>
<additionalProjectnatures>
<projectnature>
com.atlassw.tools.eclipse.checkstyle.CheckstyleNature
</projectnature>
<projectnature>
org.eclipse.wst.common.modulecore.ModuleCoreNature
</projectnature>
<projectnature>
org.eclipse.jdt.core.javanature
</projectnature>
<projectnature>
org.eclipse.wst.common.project.facet.core.nature
</projectnature>
<projectnature>
org.eclipse.jem.workbench.JavaEMFNature
</projectnature>
</additionalProjectnatures>
<additionalBuildcommands>
<buildcommand>
org.eclipse.jdt.core.javabuilder
</buildcommand>
<buildcommand>
org.eclipse.wst.common.project.facet.core.builder
</buildcommand>
<buildcommand>
org.eclipse.wst.validation.validationbuilder
</buildcommand>
<buildcommand>
org.springframework.ide.eclipse.core.springbuilder
</buildcommand>
<buildcommand>
com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder
</buildcommand>
</additionalBuildcommands>
</configuration>
</plugin>
Hope this will hep. If anybody has better solution i should be
interested :)
Angel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFG+9gMhgSIDFxSFd0RAokWAKCNaLyV1lLZkx/gGRcecu09pQOf8ACgk29t
CMyiY1C4x8l6rlvglT9KTFE=
=dy0r
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]