I'm trying to run the following command :
mvn archetype:create -DgroupId=tutorial 
-DartifactId=tutorial 
-DarchetypeGroupId=org.apache.struts 
-DarchetypeArtifactId=struts2-archetype-blank 
-DarchetypeVersion=2.0.9-SNAPSHOT 
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository

It returns the following error :
org.apache.maven.reactor.MavenExecutionException:
Could not find the model file
'/home/myhome/ejb/pom.xml'. for project unknown
...
Caused by:
org.apache.maven.project.ProjectBuildingException:
Could not find the model file
'/home/myhome/ejb/pom.xml'. for project unknown
...

I'm running it with my user in gnome terminal in a
debian etch 

maven version in my computer : 
# mvn -version
Maven version: 2.0.7
Java version: 1.6.0_04
OS name: "linux" version: "2.6.18-6-686" arch: "i386"

# echo $M2
/opt/java/maven-2.0.7/bin

# echo $M2_HOME
/opt/java/maven-2.0.7

echo $JAVA_HOME
/opt/java/jdk1.6.0_04

JAVA_HOME, M2 and M2_HOME environment variables are
declared in /etc/profile 

I'm I missing something in my environment so I can
create the project correctly ?

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to