Hi Eugene, I solved the problem adding this in pom.xml of web project <classpathContainers> <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5</classpathContainer> <classpathContainer>org.eclipse.jst.j2ee.internal.web.container</classpathContainer> <classpathContainer>org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v6.0</classpathContainer> </classpathContainers>
The problem was in eclipse:m2eclispe step. I thought that this plugin was be able to understand a war package and automatically add the above peace of code. Regards Alex Zucchi Alessandro wrote: > > Ok, just I have 1 hour I create a simple test. > Regards > Alex > > > Eugene Kuleshov wrote: >> >> >> It would help us investigate this if you could create small test >> project with this non-standard directory structure and submit it to a >> new JIRA issue. >> >> Thanks >> >> Eugene >> >> >> Zucchi Alessandro wrote: >>> Looking more deeply in <<Eclipse Maven Console>> after check out as >>> maven >>> project I found this: >>> >>> 1/09/08 17.01.13 CEST: [INFO] Building auOnWeb >>> 11/09/08 17.01.13 CEST: [INFO] >>> 11/09/08 17.01.13 CEST: [INFO] Id: >>> com.zucchetti.qweb.au.web:auonweb:war:03.05.00-SNAPSHOT >>> 11/09/08 17.01.13 CEST: [INFO] task-segment: [eclipse:m2eclipse] >>> 11/09/08 17.01.13 CEST: [INFO] >>> ------------------------------------------------------------------------ >>> 11/09/08 17.01.13 CEST: [INFO] [eclipse:m2eclipse] >>> 11/09/08 17.01.13 CEST: [INFO] Adding support for WTP version 2.0. >>> 11/09/08 17.01.13 CEST: [INFO] Using source status cache: >>> C:\Programmi\eclipse34\eclipse\target\mvn-eclipse-cache.properties >>> 11/09/08 17.01.13 CEST: [INFO] Using as WTP server : null >>> 11/09/08 17.01.13 CEST: [INFO] Wrote settings to >>> C:\Lavori\Eclipse34\auonweb\.settings\org.eclipse.jdt.core.prefs >>> 11/09/08 17.01.13 CEST: [INFO] File C:\Lavori\Eclipse34\auonweb\.project >>> already exists. >>> Additional settings will be preserved, run mvn eclipse:clean if >>> you >>> want old settings to be removed. >>> 11/09/08 17.01.13 CEST: [INFO] Wrote Eclipse project for "auonweb" to >>> C:\Lavori\Eclipse34\auonweb. >>> 11/09/08 17.01.13 CEST: [INFO] >>> 11/09/08 17.01.13 CEST: Adding source folder /auonweb/JavaSource >>> 11/09/08 17.01.13 CEST: [INFO] snapshot >>> com.zucchetti.qweb.au:au:03.05.00-SNAPSHOT: checking for updates from >>> snapshot-repo >>> 11/09/08 17.01.13 CEST: Setting source compatibility: 1.5 >>> 11/09/08 17.01.13 CEST: Setting target compatibility: 1.5 >>> 11/09/08 17.01.13 CEST: Updated source folders for project auonweb 0sec >>> >>> >>> May be this: >>> <<<<< Using as WTP server : null >>>>> >>> the problem ???? >>> >>> Regards >>> Alex. >>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >> > > -- View this message in context: http://www.nabble.com/Check-out-as-Maven-project-tp19413931p19893436.html Sent from the Maven Eclipse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
