I don't think there is any such tag as "active". Though there is
"activation" under profile. There isn't really any need for you to have a
profile tag to begin with, so I'd remove that whole section

The full Maven2 POM reference is here:
http://maven.apache.org/ref/2.0.4/maven-model/maven.html

I recommend you start with your POM as simple as possible. You can add more
later once you have the project compiling and testing successfully.

--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

-----Original Message-----
From: Guofeng Zhang [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 9:36 AM
To: [email protected]
Subject: newbie failed to create a Maven 2 project

Hi,

 

I am new to maven 2.

 

I download maven and following Maven in 5 Minutes to create a project

 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

but I got the following error message:

Error reading settings.xml: Unrecognised tag: 'active' (position:
START_TAG seen

 ...<profile>\r\n      <active>... @5:15)

  Line:   5

  Column: 15

 

How to solve it?  I use JDK 1.5_03, Maven 2.0.4

 

Thanks

 


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

Reply via email to