It seems there is currently a problem with the Archetype plugin due to a few
botched releases: http://tinyurl.com/2elcwt

Only two real solutions:

1) Wait for them to fix it
2) Specify the version of the archetype plugin to use on your command line
to force the use of an earlier version:

mvn 
org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-4:create-DarchetypeGroupId=
org.appfuse -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=
http://static.appfuse.org/repository -DarchetypeVersion=2.0-m5 -DgroupId=
com.mycompany.app -DartifactId=myproject

Bit verbose, but does the trick ;-)

Mike


On 8/29/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> You might try running "mvn -U".
>
> Matt
>
> On 8/29/07, jar77 <[EMAIL PROTECTED]> wrote:
> >
> > New to maven and appfuse.  Recieve the following error when following
> the
> > quickstart.  Any ideas?  Worked fine the other day..
> >
> > Thanks for help
> >
> > mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeA
> > rtifactId=appfuse-basic-jsf
> > -DremoteRepositories=http://static.appfuse.org/repos
> > itory -DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app
> > -DartifactId=myproje
> > ct
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] Building Maven Default Project
> > [INFO]    task-segment: [archetype:create] (aggregator-style)
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-core/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-core/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-creator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-creator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-creator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-creator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-core/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch
> > etype-core/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.apache.maven.archetype
> > -DartifactId
> > =maven-archetype-creator \
> >           -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can deploy the file
> > there:
> >     mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype
> > -DartifactId=mav
> > en-archetype-creator \
> >           -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \
> >            -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1)
> > org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alph
> > a-6
> >         2)
> > org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5
> >
> > 2) org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.apache.maven.archetype
> > -DartifactId
> > =maven-archetype-core \
> >           -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can deploy the file
> > there:
> >     mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype
> > -DartifactId=mav
> > en-archetype-core \
> >           -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \
> >            -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1)
> > org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alph
> > a-6
> >         2)
> org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5
> >
> > ----------
> > 2 required artifacts are missing.
> >
> > for artifact:
> >
> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6
> >
> > from the specified remote repositories:
> >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> >   central (http://repo1.maven.org/maven2)
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Wed Aug 29 15:07:58 MDT 2007
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> > ------------------------------------------------------------------------
> > --
> > View this message in context:
> http://www.nabble.com/Missing-artifiacts-tf4350463s2369.html#a12395943
> > Sent from the AppFuse - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to