for some reason when i create a new project from an existing archetype, the pom.xml copied to the root of the new project has its <project> element stripped of the xml namespace information and the empty <dependencies> element is removed, as is the <packaging> element. this worked a couple of days ago, so i can't tell if this is something that i've done or something that's changed underneath me? any ideas?
this is my pom.xml from archetype-resources: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.mycompany.lacrs</groupId> <artifactId>lacrs-parent</artifactId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <name>${artifactId}</name> <artifactId>${artifactId}</artifactId> <packaging>jar</packaging> <dependencies> </dependencies> </project> when i create the archetype, this is the pom that's copied to the root of the project: <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>lacrs-parent</artifactId> <groupId>com.mycompany.lacrs</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>testjava</artifactId> <name>testjava</name> </project> -- View this message in context: http://www.nabble.com/archetype-pom.xml-not-same-as-archetype-resources-pom.xml-t1723419.html#a4681828 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]