Hi Ron

If you look here:

http://maven.wocommunity.org/content/groups/public/archetype-catalog.xml

You will see the correct version of archetype-catalog.xml; save that content as 
archetype-catalog.xml in ~/.m2

I think the wiki documentation is a little old, maybe quite old. I will try to 
fix it up soon.

G Brown
[email protected]




On Dec 19, 2013, at 1:46 PM, Ron X <[email protected]> wrote:

> Can you give me a link to it?
> 
> I've just loaded archetype.xml from wiki and used it as local.
> 
> Can you describe how you get the servlet archetype?
> 
> Thanks!
> 
> 
> WebRep
> 
> Overall rating
> 
> 
> 
> 
>  
> WebRep
> 
> Overall rating
> 
> 
> 
> 
>  
> 
> 
> 2013/12/18 <[email protected]>
> Snapshot? What snapshot?
>  
> Try with the released version, which is version 2.1
>  
> Maybe your archetypes need updating?
>  
> I just did it and it worked.
>  
>  
>  
> On Wed, Dec 18, 2013, at 05:52 AM, Ron X wrote:
>> Hello!
>> I have troubles with maven archetype for erxapp+servlet:
>>  
>> [INFO] Scanning for projects...
>> [INFO]                                                                       
>>   
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Building Maven Stub Project (No POM) 1
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] 
>> [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ 
>> standalone-pom >>>
>> [INFO] 
>> [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ 
>> standalone-pom <<<
>> [INFO] 
>> [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ 
>> standalone-pom ---
>> [INFO] Generating project in Interactive mode
>> [INFO] No archetype defined. Using maven-archetype-quickstart 
>> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
>> Choose archetype:
>> 1: local -> org.objectstyle.woproject.maven2:woapplication-archetype (basic 
>> woapplication)
>> 2: local -> org.objectstyle.woproject.maven2:woframework-archetype (basic 
>> woframework)
>> 3: local -> org.objectstyle.woproject.maven2:erxapplication-archetype 
>> (wonder application (snapshot))
>> 4: local -> 
>> org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder 
>> servlet application (snapshot))
>> Choose a number or apply filter (format: [groupId:]artifactId, case 
>> sensitive contains): : 4
>> Downloading: 
>> http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml
>> Downloading: 
>> http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 5:37.362s
>> [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013
>> [INFO] Final Memory: 7M/81M
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) 
>> on project standalone-pom: The desired archetype does not exist 
>> (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT)
>>  -> [Help 1]
>> [ERROR] 
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
>> switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR] 
>> [ERROR] For more information about the errors and possible solutions, please 
>> read the following articles:
>> [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>  
>> Where can i get this artefact?
>>  
>> Thanks!
>>  
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu
>>  
>> This email sent to [email protected]
>  
> -- 
>  
> [email protected]
>  
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ron.x.by.su%40gmail.com
> 
> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to