[ 
http://jira.codehaus.org/browse/MGWT-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244625#action_244625
 ] 

Todd Farrell commented on MGWT-233:
-----------------------------------

I was having the same issue but found that specifying the central repository 
works:
{code}
mvn archetype:generate -DarchetypeRepository=repo1.maven.org 
-DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin 
-DarchetypeVersion=2.1.0 
{code}

Seems strange that this does not work by default but then again most things 
about Maven are strange at first :-)

> Cannot generate GWT 2.1.0 project -- Archetype repository missing -- it 
> creates GWT 1.7.1 project instead
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MGWT-233
>                 URL: http://jira.codehaus.org/browse/MGWT-233
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: windows
>            Reporter: Alexander Pivovarov
>             Fix For: 2.1.x
>
>
> I run command as indicated in instruction
> mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo 
> -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.1.0
> It gives me the following output
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom 
> >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom 
> <<<
> [INFO]
> [INFO] --- maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom 
> ---
> [INFO] Generating project in Interactive mode
> [INFO] Archetype repository missing. Using the one from 
> [org.codehaus.mojo:gwt-maven-plugin:1.2] found in catalog remote
> And it creates me GWT 1.7.1 project

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to