Do you have m2e-wtp installed?
On 27 February 2013 13:33, John Lussmyer <[email protected]> wrote: > I'm setting up a new workspace in Eclipse Juno SR1, with m2e 1.3.1. > When I "Import Existing Maven Projects", my projects get pulled in, and > the .project/.classpath built. > The problem is that it's building basic Eclipse projects, not a Server > project. > My project does have a "WebContent" folder, and the pom does have: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <version>2.2</version> > <configuration> > <warSourceDirectory>WebContent</warSourceDirectory> > </configuration> > </plugin> > > The .project it creates is this: > > <?xml version="1.0" encoding="UTF-8"?> > <projectDescription> > <name>OndeckSync</name> > <comment></comment> > <projects> > </projects> > <buildSpec> > <buildCommand> > <name>org.eclipse.jdt.core.javabuilder</name> > <arguments> > </arguments> > </buildCommand> > <buildCommand> > <name>org.eclipse.m2e.core.maven2Builder</name> > <arguments> > </arguments> > </buildCommand> > </buildSpec> > <natures> > <nature>org.eclipse.jdt.core.javanature</nature> > <nature>org.eclipse.m2e.core.maven2Nature</nature> > </natures> > </projectDescription> > > So I don't have a "Deployment Assembly" selection in my Project > Properties, and the "Servers" tab won't let me choose this project to add > to my Tomcat server. > > I have had this work in the past, but it's not working in a new workspace. > Any suggestions on what to look for? > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
