Eclipse Platform 3.5.1
Eclipse WST/JST 3.1.1
m2eclipse 0.9.9 (but very same with stable 0.9.8)
Maven 2.0.9
Java 1.6.0_14
When I try to append WTP support into war application project by this
$ mvn -Dwtpversion=2.0 eclipse:m2eclipse
and then:
run Eclipse,
convert WTP configuration (Ctrl+1 QuickFix),
add Maven dependecies to WTP (Ctrl+1 QuickFix),
setup server Tomcat (in Server view),
publish application to Tomcat (in Server view),
run server
....ClassNotFoundException throws.
When I look into folder wtpwebapps in workspace Tomcat structure, I see
that
publish operation was not complete:
- WEB-INF/classes contains current project classes (OK)
- WEB-INF/lib contains all dependent out-of-project jars (OK)
- there aren't binaries of dependent jar projects from my workspace (NOT OK)
- there aren't resources of shared webapps folder from other project in
my workspace (NOT OK)
After some tricky editing of file
.settings/org.eclipse.wst.common.component
I'm able to publish shared webapps folder, but not for jar project
dependencies...
Any ideas?
Thank you
Martin Schayna
Antonio Petrelli wrote:
2010/2/1 Martin Schayna <martin.scha...@abra.eu>:
we have pretty large project, successfully "mavenized" with Maven 2,
split into several module projects under one parent pom. We are using
m2eclipse plugin in Eclipse 3.5.
What version? I am a happy user of the 0.9.9 development version, it
seems that versions prior to this are not compatible with Eclipse 3.5.
Update site: http://m2eclipse.sonatype.org/update-dev/
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org