maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rotick <pc.gree...@gmail.com>
Subject maven-dependency-plugin still misbehaving
Date Fri, 05 Nov 2010 13:23:56 GMT
I am experiencing the same problem as documented in
MDEP-257<http://jira.codehaus.org/browse/MDEP-257>whereby the
includedClassifiers is ignored. I am having trouble making the
suggested fix work.

I have added a dependency so

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack-runbeans</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>unpack-dependencies</goal>
                        </goals>
                        <configuration>

<includeClassifiers>runbeans</includeClassifiers>
                            <includeTypes>tar.gz</includeTypes>

<outputDirectory>target/copied/runbeans</outputDirectory>
                            <stripVersion>true</stripVersion>
                            <excludeTransitive>false</excludeTransitive>
                        </configuration>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven.shared</groupId>

<artifactId>maven-common-artifact-filters</artifactId>
                        <version>1.2</version>
                    </dependency>
                </dependencies>
            </plugin>

but this results in

ClassNotFoundException:
org.apache.maven.shared.artifact.filter.collection.TransitivityFilter

in both Maven 2.2.1 and 3.0.

Please couild someone give me a hint as to what I do next. Also, is there a
real fix for this or will I have to live with the workaround.

Many thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message