Sorry it's giving you so much trouble. I have used it on several
platforms and it seems to work. I am using Maven 2.0.9, just out of
curiosity what version of Maven are you using? "mvn -version"
Also, reading through your transcript I did notice one small
discrepancy, not sure if it matters, but it's worth looking into:
the mvn install:install-file command seems to work just fine for you -
and you followed the instructions perfectly -
"jeff@CanisNubilus:~/tmp$ mvn install:install-file -
DgroupId=com.totsp.gwt -DartifactId=maven-googlewebtoolkit2-archetype -
Dversion=1.0 -Dpackaging=maven-archetype -Dfile=maven-
googlewebtoolkit2-archetype-1.0.jar"
but, Maven itself is giving a slightly different instruction after it
can't find the artifact in the later commands:
"mvn install:install-file -DgroupId=com.totsp.gwt -DartifactId=maven-
googlewebtoolkit2-archetype -Dversion=1.0 -Dpackaging=jar -Dfile=/path/
to/file"
Note there that Maven is saying to use packaging JAR and I said (in
the directions) to use packaging MAVEN-ARCHETYPE. Try the install
command again with packaging JAR and see if that works?
I will look into this more though, and add an issue to the tracker to
delete my repos and so on and try BOTH ways (profile with repo, and or
local install).
------
Also, as to where the GWT non Java files go, yes, you can put them in
src/main/resources and that is arguably a better place to put them
(that is where I put them in my projects). The archetype though is
trying to keep things as simple as possible, and because GWT is sort
of special in regards to those "resources" sometimes people run into
other issues if they aren't in the src tree. Good catch on your part
to notice that, but the files can go in either place.
On Sep 26, 6:17 pm, Jeff Bowman <
jeff.wol...@gmail.com> wrote:
> 1) I have tried to use the archetype but am failing. Regardless of
> having an active profile, it seems to always look inhttp://
repo1.maven.org.
> I have provided a transcript athttp://www.bowmansarrow.uswhich shows