You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Peter L. Berghold" <Pe...@berghold.net> on 2005/11/24 18:45:38 UTC

mvn archetype:create seems to not work... did before...

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




OK:  this worked in the morning (I think) but doesn't seem to work
now...  What is going on or what am I having a brain fart over?

- --------- 8< snip 8< -----------------------------

 mvn archetype:create -DarchitypeGroupId=agilitystewards.org
- -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0
- -DgroupId=agilitystewards.org -DartifactId=agilitystewards.org

Yields:

> [INFO] Defaulting package to group ID: agilitystewards.org
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-webapp/1.0/maven-archetype-webapp-1.0.jar
> [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>  
> GroupId: org.apache.maven.archetypes
> ArtifactId: maven-archetype-webapp
> Version: 1.0
>  
> Reason: Unable to download the artifact from any repository
>   org.apache.maven.archetypes:maven-archetype-webapp:1.0:jar
>  
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>  
>  
> [INFO] ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Thu Nov 24 12:43:26 EST 2005
> [INFO] Final Memory: 4M/7M
> [INFO] ----------------------------------------------------------------------------



Thoughts?




- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     Peter@Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDhfxCUM9/01RIhaARAsKuAJ91OZzzyvVpJRGExxvcWY03qgHBnACfYa82
WcnCPA5cpCmXBQXcV7ROiGg=
=ElRb
-----END PGP SIGNATURE-----


Re: mvn archetype:create seems to not work... did before...

Posted by Brett Porter <br...@gmail.com>.
that archetype version doesn't exist. Try 1.0-alpha-3, or remove it altogether.

- Brett

On 11/25/05, Peter L. Berghold <Pe...@berghold.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
>
> OK:  this worked in the morning (I think) but doesn't seem to work
> now...  What is going on or what am I having a brain fart over?
>
> - --------- 8< snip 8< -----------------------------
>
>  mvn archetype:create -DarchitypeGroupId=agilitystewards.org
> - -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0
> - -DgroupId=agilitystewards.org -DartifactId=agilitystewards.org
>
> Yields:
>
> > [INFO] Defaulting package to group ID: agilitystewards.org
> > Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-webapp/1.0/maven-archetype-webapp-1.0.jar
> > [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> > [INFO] ----------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO] ----------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.maven.archetypes
> > ArtifactId: maven-archetype-webapp
> > Version: 1.0
> >
> > Reason: Unable to download the artifact from any repository
> >   org.apache.maven.archetypes:maven-archetype-webapp:1.0:jar
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> >
> > [INFO] ----------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO] ----------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Thu Nov 24 12:43:26 EST 2005
> > [INFO] Final Memory: 4M/7M
> > [INFO] ----------------------------------------------------------------------------
>
>
>
> Thoughts?
>
>
>
>
> - --
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> Peter L. Berghold                                     Peter@Berghold.Net
> "Those who fail to learn from history are condemned to repeat it."
> AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDhfxCUM9/01RIhaARAsKuAJ91OZzzyvVpJRGExxvcWY03qgHBnACfYa82
> WcnCPA5cpCmXBQXcV7ROiGg=
> =ElRb
> -----END PGP SIGNATURE-----
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org