Index: src/site/apt/guides/development/guide-plugin-snapshot-repositories.apt =================================================================== --- src/site/apt/guides/development/guide-plugin-snapshot-repositories.apt (revision 0) +++ src/site/apt/guides/development/guide-plugin-snapshot-repositories.apt (revision 0) @@ -0,0 +1,83 @@ + ------ + Guide to Plugin Snapshot Repositories + ------ + Maven Team + ------ + 11 August 2006 + ------ + +Introduction + + If you are trying to build a development version of a maven plugin, or you + just need to trial the latest plugin code that is yet to be released, then + you may need to access the maven plugin snapshot repositories. + +Repositories + + The most widely known repositories are {{{http://maven.apache.org/}Maven}} + itself hosted at Apache and the {{{http://mojo.codehaus.org/}Mojo Project hosted}} + at CodeHaus. + + Both of these sites provide snapshot versions of their plugins which are + available from the plugin snapshot repository. + + * apache snapshots = http://people.apache.org/maven-snapshot-repository + + * codehaus snapshots = http://snapshots.maven.codehaus.org/maven2 + +How to include the plugin snapshot repositories as part of your build + + You need to modify your <~/.m2/settings.xml> file to include two new profiles + and then when you need access to the plugin snapshots use <<<-Papache>>> or + <<<-Pcodehaus>>> to enable the profiles. The profile only needs to be enabled + once so that the plugins can be downloaded into you local repository. Once + in your local repository Maven can succesfully resolve the dependencies and + the profile no longer needs to be activated. + ++--- + + apache + + + apache.snapshots + Maven Snapshots + http://people.apache.org/maven-snapshot-repository + + false + + + true + + + + + + apache.plugin.snapshots + Maven Plugin Snapshots + http://people.apache.org/maven-snapshot-repository + + false + + + true + + + + + + codehaus + + + codehaus.plugin.snapshots + CodeHaus Plugin Snapshots + http://snapshots.maven.codehaus.org/maven2 + + false + + + true + + + + ++--- Index: src/site/apt/guides/index.apt =================================================================== --- src/site/apt/guides/index.apt (revision 430581) +++ src/site/apt/guides/index.apt (working copy) @@ -25,7 +25,6 @@ * {{{mini/guide-assemblies.html}Guide to Creating Assemblies}} * {{{mini/guide-attached-tests.html}Guide to using attached tests}} - * {{{mini/guide-bash-m2-completion.html}Guide to Maven 2.x auto completion using BASH}} * {{{mini/guide-configuring-maven.html}Guide to Configuring Maven}} @@ -134,8 +133,10 @@ * {{{development/guide-plugin-documentation.html}Guide to the Plugin Documentation Standard}} * {{{development/guide-testing-development-plugins.html}Guide to Testing Development Versions of Plugins}} + + * {{{development/guide-plugin-snapshot-repositories.html}Guide to Plugin Snapshot Repositories}} + - * Reference * {{{../ref/current/maven-model/maven.html}Project Descriptor}}