<classpathContainer>org.eclipse.jst.j2ee.internal.web.container</classpathContainer> is not right??? <wtpapplicationxml>true</wtpapplicationxml> is not right , too?? But I donot get any useful details in http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html
2011/12/20 Barrie Treloar <[email protected]> > On Tue, Dec 20, 2011 at 4:45 PM, zuxiong lin <[email protected]> > wrote: > > I have a webapp project under eclipse by my colleage. So it has > WEB-INF/lib > > directory > > and dependcy packages are put in by my colleage. > > > > Now I have create a pom file for the project. But import the maven > project , > > I also need to configurate the classpath for it through > > project -->properties-->Java Build Path-->Libraries --> Add Library --> > Web > > App Libraries-->... > > Why does it still need the classpath ???How do I fix it ? > > By the way , we use eclipse-jee version 3.7 SR1 > > > > like : > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-eclipse-plugin</artifactId> > > <version>2.8</version> > > <configuration> > > <wtpmanifest>true</wtpmanifest> > > <wtpapplicationxml>true</wtpapplicationxml> > > <projectnatures> > > <projectnature>org.eclipse.jdt.core.javanature</projectnature> > > > <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature> > > <projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature> > > > <projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature> > > </projectnatures> > > <classpathContainers> > > > <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> > > <!-- > > > <classpathContainer>org.eclipse.jst.j2ee.internal.web.container/artifact</classpathContainer> > > --> > > > <classpathContainer>org.eclipse.jst.j2ee.internal.web.container</classpathContainer> > > <!-- > > > <classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer> > > --> > > </classpathContainers> > > </configuration> > > </plugin> > > I dont see a WTP specification in your plugin settings. > http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html > > I dont use WTP so you will have to read the docs and do some fiddling. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
