Hi, I have a problem to define a new Archetype which creates a non-Maven directory structure.
My desiered directory structure is defined in src/main/resources/META-INF/archetype.xml: <sources> <source>src/Version.java</source> </sources> <testSources> <source>test/src/VersionTest.java</source> </testSources> <resources> <resource>conf/app.properties</resource> </resources> <test-resources> <resource>test/conf/app_test.properties</resource> </test-resources> and in a parent project named "my-parent-projekt" under the <build>-section: <build> <directory>build</directory> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>test/src</testSourceDirectory> <outputDirectory>build/classes</outputDirectory> <testOutputDirectory>build/test-classes</testOutputDirectory> ... The prototype pom.xml for my Archetype inherits the parent project and looks like this: <project> <parent> <artifactId>my-parent-projekt</artifactId> <groupId>com.myCompany</groupId> <version>1.0</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <packaging>jar</packaging> <version>${version}</version> <name>A custom project</name> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project> When I try to create a new project using my Archetype, Maven creates not only my defiend directories but also the standard Maven directries and i get the debug message: "Was build element found in generated POM?: false" The build element is not in the prototype pom.xml but in its parent. I use Maven 2.0.1 and maven-archetype-plugin 1.0-alpha-3 Any idea how I can resolve this problem? Regards, Wahid Bashirazad --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]