You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arash Amiri <ar...@researchstudio.at> on 2007/01/24 17:51:03 UTC
maven2 eclipse question
Hi
I dont know if this the right place to ask this, but I have a problem
with maven webapps and eclipse.
I am a newbie to maven2 and I create a new maven project by using:
mvn archetype:create -DgroupId=myGroup.myApp -DartifactId=myServerTest
-DarchetypeArtifactId=maven-archetype-webapp
then I run
mvn eclipse:eclipse
but for some reason, the source folders in eclipse are not correct.
meaning that src/main/webapp is not part of the source tree in eclipse.
why doesnt that work?
greetings, arash.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven2 eclipse question
Posted by Marco Mistroni <mm...@gmail.com>.
Hi,
check maven2 ecliplse plugin (pls google it, i dont remember webaddress)
create your project, then right click and do maven2 -->enable
then, for source folders, you might want to rightclick on your project
and choose maven2-->update source folders
hth
marco
On 1/24/07, Arash Amiri <ar...@researchstudio.at> wrote:
>
> Hi
>
>
> I dont know if this the right place to ask this, but I have a problem
> with maven webapps and eclipse.
>
> I am a newbie to maven2 and I create a new maven project by using:
>
> mvn archetype:create -DgroupId=myGroup.myApp -DartifactId=myServerTest
> -DarchetypeArtifactId=maven-archetype-webapp
>
> then I run
>
> mvn eclipse:eclipse
>
> but for some reason, the source folders in eclipse are not correct.
> meaning that src/main/webapp is not part of the source tree in eclipse.
>
> why doesnt that work?
>
> greetings, arash.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>