This will only work if the plugins have sources loaded in the ibiblio repo. You can check yourself by going to: http://www.ibiblio.org/maven2/<group>/.../<artifactId>/<version>/
Plugins are generally under group org.apache.maven.plugins. You can download source files by adding the following dependency to your pom.xml: <dep> <group> <art> <version> <scope> <classifier>sources</classifier> </dep> You can pull down the javadoc with: <classifier>javadoc</classifier> There's probably a better/easier way but this should work, again, assuming the sources have been uploaded into the repo in the first place. Otherwise you'll need to pull sources from SVN yourself. Wayne On 3/24/06, Szczepan Faber <[EMAIL PROTECTED]> wrote: > Is there a way to automatically download sources for plugins? > > E.g. When I type 'mvn compile' the maven-compiler-plugin is > automatically downloaded into local repository. Where can I find > sources for that? (Yes, I know I can look at > http://maven.apache.org/plugins/maven-compiler-plugin/source-repository.html > and checkout...) Can I set maven to download plugins with sources? > > Thanks, > Szczepan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
