Or specify the archetypCatalog as local[1]

Thus:

$ mvn archetype:generate -DarchetypeCatalog=local

Hth,

[1] http://maven.apache.org/plugins/maven-archetype-plugin/advanced-usage.html

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Wed, Sep 23, 2009 at 12:22 AM, Edelson, Justin
<[email protected]> wrote:
> You need to specify the archetype repository: 
> http://maven.apache.org/plugins/maven-archetype-plugin/generate-mojo.html#archetypeRepository
>
> Justin
>
> ________________________________
>
> From: Manuel Grau [mailto:[email protected]]
> Sent: Tue 9/22/2009 5:47 PM
> To: [email protected]
> Subject: using my own archtype
>
>
>
> I have created my own archetype, to use with google app engine
> projects. I have packaged it and installed to my local repository usin
> mvn package install command.  I've navigated in my repo to test if the
> jar is installed, and it is. But when I try to create a project using
> my archetype I get a message that the artifact cannot be found. This
> is the comman I executed:
>
> mvn archetype:create -DarchetypeGroupId=com.google.gae.maven -
> DarchetypeArtifactId=maven-gae-project -DgroupId=xxx.yyy.zzz -
> DartifactId=my-gae-project
>
> This is the error message:
>
> Embedded error:
> org.apache.maven.archetype.downloader.DownloadNotFoundException:
> Requested download does not exist.
> Unable to determine the release version
>
> Any idea? thanks.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to