Add a "-e" (or it might be a capital "-E") to the command, and Maven
will print out the stack trace and a little more information about the
problem. That might give you something to work with.

-----Original Message-----
From: maestro [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 10, 2008 8:42 PM
To: Struts Users Mailing List
Subject: Maven struts2-archetype-starter error

Hi,


I very new to Struts2 and Maven.

I ran this command with version 2.0.9 on the 6th of May without a
problem.


mvn archetype:create   -DgroupId=tutorial \

                       -DartifactId=tutorial \
                       -DarchetypeGroupId=org.apache.struts \
                       -DarchetypeArtifactId=struts2-archetype-starter \
                       -DarchetypeVersion=2.0.5-SNAPSHOT \

-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repositor
y


When I run it now I get an error.

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] :
org.apache.maven.archetype.exception.ArchetypeGenerationFailure:
Failed to generate project from the old archetype
Failed to generate project from the old archetype


I'm not sure if its a maven problem or a problem with the
struts2-archetype-starter or something else.

Maven version: 2.0.9
Java version: 1.5.0_13 OS name: "mac os x" version: "10.5.2" arch:
"i386"
Family: "unix"

Any ideas are appreciated.
- Glenn

-- 
This message may contain confidential, proprietary, or legally privileged 
information. No confidentiality or privilege is waived by any transmission to 
an unintended recipient. If you are not an intended recipient, please notify 
the sender and delete this message immediately. Any views expressed in this 
message are those of the sender, not those of any entity within the KBC 
Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the 
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
recommendation to buy or sell, any financial product. Any prices or other 
values included in this message are indicative only, and do not necessarily 
represent current market prices, prices at which KBC FP would enter into a 
transaction, or prices at which similar transactions may be carried on KBC FP's 
own books. The information contained in this message is provided "as is", 
without representations or warranties, express or implied, of any kind. Past 
performance is not indicative of future returns.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to