maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukewpatterson <>
Subject Re: unit testing archetypes
Date Sat, 13 Feb 2010 01:20:29 GMT

Sounds like there are two separate problems:

Problem 1:

Stephen Connolly-2 wrote:
> however, when you create from an archetype in a directory which
> conatins a pom, the created module gets added as a new child module,
> so that the build will build the parent and the newly created child

I think this should do it, it would involve separating your it projects into
with-pom and without-pom subdirectories.  Not super-elegant but it works.

for the generate goal

for the verify goal

So you would have src/it/projects/with-pom and src/it/projects/without-pom

Problem 2:

Max Spring wrote:
> We have a parent POM design where the multi-module POM in the parent 
> directory != parent POM.

This is a capability/configurability problem with the archetype plugin, not
with the testing methods, right?

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message