Perhaps there is something wrong with the meta data in your local repository. You could try removing the following directory and have Maven download the artifact again:

~/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/

Sebastien ARBOGAST wrote:
I have a problem using maven-dependency-plugin. One of my modules configures
this plugin:
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.0</version>
                <executions>
                    <execution>
                        <id>copy-flex-resources</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory
}/flex-resources</outputDirectory>
                            <includeTypes>swf,swc</includeTypes>
                            <stripVersion>true</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

And I get the following error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal '
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies':
Unable to find the mojo '
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies'
in the plugin 'org.apache.maven.plugins:maven-dependency-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
.

What does 2.0-alpha-4 do here?
Does anybody have an idea?



--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to