nope it's still the same using this command line:
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-iolite
-DarchetypeVersion=1.3-SNAPSHOT
-DremoteRepositories=http://wicketstuff.org/maven
-DgroupId=com.mycompany -DartifactId=ioliteTest01
Works like a snug if I install the archetype and run it locally...
David Bernard wrote:
Nino,
it's a "bug" with the version 2 of maven-archetype-plugin.
try with an explicit version
mvn
org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ....
/davidB
Nino Saturnino Martinez Vazquez Wael wrote:
I am of course only asking about 2, as it seems that we will have to
wait for the next release of maven to helpout with number 1..
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
Im having trouble on serveral front's with the upcomming archetype
wicket iolite[1].
Problems
1. multiple projects in a archetype (currently im including all
source as resources, which makes it unable to use specified
packagenames)
2. I cant seem to use the archetype directly from wicketstuff maven
Im using this command line with maven:
mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-iolite
-DarchetypeVersion=1.3-SNAPSHOT
-DremoteRepositories=http://wicketstuff.org/maven^
-DgroupId=com.mycompany -DartifactId=myproject
In bamboo I've entered this "mvn clean deploy -U", and I can see
that the archetype are available at wicketstuf[2]. I've also entered
the distribution management in my pom:
<distributionManagement>
<snapshotRepository>
<id>repo</id>
<name>Local Bamboo/Tomcat repository</name>
<url>
file:/home/wicket/tomcat/webapps/maven/repository/
</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<repository>
<id>repo</id>
<name>Local Bamboo/Tomcat repository</name>
<url>
file:/home/wicket/tomcat/webapps/maven/repository/
</url>
<uniqueVersion>false</uniqueVersion>
</repository>
</distributionManagement>
So the question are what's wrong?
[1]=http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite
[2]http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-archetype-iolite/
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684