It depends on what the error is, but if the structure below is your
whole pom file, it isn't valid XML, it's missing a closing tag for
<project> and the last </dependency> tag should be </dependencies>. So
some more information may be necessary.
Hth,
Nick Stolwijk
Dmitry wrote:
Creating maven project using >mvn archetype:create -
DgropuId=com.project.interfaces\ -DartifactId=my-proj
got exception. What can be wrong with this command?
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.project.interfaces</groupId>
<artifactId>my-proj</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>My Archetype</name>
<url>http://www.ejinz.com</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependency>
thanks,
DT
www.ejinz.com Search News Category
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]