I'll point out that I seem to have had the same issue after modifying the israfil maven-flex template from http://ancientprogramming.blogspot.com/2007/11/quickstart-flex-development-with-this.html to use the ServeBox flex plugin (http://maven.servebox.org/sites/maven-flex-plugin/flex-plugin/). I think I have worked around this issue but I thought posting my information might help another googler out there somewhere.
Philip ---------------------------- Brian E Fox wrote: > > Huh? The flex2 plugin depends on the dependency plugin? That's not > right...plugins shouldn't be used as dependencies of other plugins and now > you can see why..... > > You might wanna ping the flex2 author and have him/her fix that. > > -----Original Message----- > From: Sebastien ARBOGAST [mailto:[email protected]] > Sent: Sunday, March 02, 2008 12:48 PM > To: Maven Users List > Subject: Re: Bug with maven-dependency-plugin? > > I finally found the plugin that is using 2.0-alpha-4 version of > maven-dependency-plugin. One of my modules is using maven-flex2-plugin > from > net.israfil.mojo which depends explicitly on maven-dependency-plugin: > 2.0-alpha-4So I fixed the problem by changing the version of the plugin > configuration to 2.0-alpha-4. Now it works great. > > 2008/3/2, Dennis Lundberg <[email protected]>: >> >> 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] >> >> > > > -- > Sébastien Arbogast > > http://sebastien-arbogast.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Bug-with-maven-dependency-plugin--tp15789785p21092054.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
