You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Bräutigam <da...@googlemail.com> on 2011/05/13 08:49:57 UTC

RE: order of the unpacking from \"unpack-dependencys\"

Hi I have the following unpack goal:

<execution>
                <id>unpack-modules</id>
                <phase>verify</phase>
                <goals>
                  <goal>unpack-dependencies</goal>
                </goals>
                <configuration>

<outputDirectory>${basedir}/target/dist_tmp/classes</outputDirectory>
                  <includeGroupIds>${project.groupId}</includeGroupIds>
                  <includeClassifiers>classes</includeClassifiers>
                  <includeTypes>jar</includeTypes>
                  <includeScope>runtime</includeScope>
                  <excludeTransitive>true</excludeTransitive>
                  <includes>**/*.class</includes>
                  <excludes>META-INF/**,com/atomikos/**</excludes>
                </configuration>
</execution>

The identification works with the group id. The solution with a separate
unpack per module would be possible.

But I would prefer that the "unpack-dependencies" uses the order in which i
define the dependency's. This would prevent further problems as mentioned by
Michael.

But what puzzles me is that the unpack order seams arbitrary but fixed.
Maybe i should as in the developer mailing list for an deeper insight of the
matter.

Regards David