Another possibility is that the documentation is merely incorrect (or
forward-looking ie "at some point this is what will be possible") or
your interpretation of what "layered archetype" means is incorrect.

I'm not sure what the correct answer is here, because I like
constructing my pom.xml files manually, so I've never been interested
in this feature as yet.

Wayne

On 8/30/07, Andrew Leer <[EMAIL PROTECTED]> wrote:
> Yeah its definitely Friday, I know that feeling...but I do not think
> you are dumb, if you don't understand what I am saying, I am just not
> communicating clearly enough:
>
> The resulting pom.xml file I get after running "mvn archetype:create"
> using the two aforementioned archetypes I mentioned above, in this
> order:
>
> 1. Java6Archetype
> 2. JUnit4Archetype
>
> As you can bellow the resulting pom.xml file in the Layered Test
> project only matches that of the Java6Archetype, as the
> JUnit4Archetype dependencies are not included in the pom.xml file.
>
> <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";>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>com.mooo</groupId>
>  <artifactId>LayeredTestArtifact</artifactId>
>  <version>1.0-SNAPSHOT</version>
>  <build>
>        <plugins>
>          <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-compiler-plugin</artifactId>
>                <configuration>
>                        <source>1.5</source>
>                        <target>1.5</target>
>                </configuration>
>          </plugin>
>        </plugins>
>  </build>
>  <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>3.8.1</version>
>      <scope>test</scope>
>    </dependency>
>  </dependencies>
>  <developers>
>        <developer>
>                <id>leeand00</id>
>                <name>Andrew J. Leer</name>
>                <email>[EMAIL PROTECTED]</email>
>                <url>http://www.facebook.com/p/Andrew_J_Leer/698010716</url>
>        </developer>
>   </developers>
> </project>
> ****Resulting pom.xml file after running "mvn archetype:create" twice
> on the same project, using two different Archetypes. ****
>
> ---------------------------------------------------------------------
> 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]

Reply via email to