Ok, I have capitulated.
Sorry pankjajain, but it's much difficult to start maven project then 5
minute install.
Maven environment need to be configured. Different repositories must be
added to your configuration.
Try to read what Maven is. It will lead your to the right way.
By the way, try to change archetype version in command to earlier, like
3.3.1.GA
3.3.0.GA
3.2.2.GA
3.3.1.GA
May be the luck will be with you in one moment and this version of archetype
will use only releases...
Aleksey.
23.04.2010 16:34, pankjajain15 пишет:
till it is asking for snapshot version
Aleksey Didik wrote:
Ok, I undertsand.
Looks like this archetype is quite difficult as I think before.
You need to add JBoss Snapshot repo to you maven settings.xml.
Try to change previously added<profiles> section to listed below and
try again with command.
<profiles>
<profile>
<id>jboss-repo</id>
<repositories>
<repository>
<id>jboss</id>
<url>http://repository.jboss.org/maven2</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
</repositories>
</profile>
<profile>
<id>jboss-repo-snapshots</id>
<repositories>
<repository>
<id>jboss-snapshots</id>
<url>http://snapshots.jboss.org/maven2/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-repo</activeProfile>
<activeProfile>jboss-repo-snapshots</activeProfile>
</activeProfiles>
23.04.2010 16:11, pankjajain15 пишет:
i used same command as u told me
the command is as follow
C:\sample2>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-Darchety
peArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA
-DgroupId=org
.docs.richfaces -DartifactId=jsf-app
-DarchetypeRepository=http://repository.jbo
ss.org/maven2
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org