You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ar...@apache.org on 2006/08/02 12:18:08 UTC
svn commit: r427949 - in
/maven/plugins/trunk/maven-dependency-plugin/src/site: ./ apt/
apt/examples/ fml/
Author: aramirez
Date: Wed Aug 2 03:18:03 2006
New Revision: 427949
URL: http://svn.apache.org/viewvc?rev=427949&view=rev
Log:
PR: MDEP-30
-changed the artifactId in the examples from "dependency-maven-plugin" to "maven-dependency-plugin"
-added links to dependency mechanism
-standardize font styles for parameters
Modified:
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copy-direct-dependencies.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking-direct-dependencies.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/index.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/apt/usage.apt
maven/plugins/trunk/maven-dependency-plugin/src/site/fml/faq.fml
maven/plugins/trunk/maven-dependency-plugin/src/site/site.xml
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copy-direct-dependencies.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copy-direct-dependencies.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copy-direct-dependencies.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copy-direct-dependencies.apt Wed Aug 2 03:18:03 2006
@@ -21,7 +21,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
@@ -45,7 +45,7 @@
* Excluding Transitive Dependencies
- As mentioned, transitive dependencies are copied by default. However, it
+ As mentioned, {{{http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html}transitive dependencies}} are copied by default. However, it
can also be excluded by setting the <<<excludeTransitive>>> property to
<<true>>.
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt Wed Aug 2 03:18:03 2006
@@ -20,7 +20,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking-direct-dependencies.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking-direct-dependencies.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking-direct-dependencies.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking-direct-dependencies.apt Wed Aug 2 03:18:03 2006
@@ -22,7 +22,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies</id>
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-unpacking.apt Wed Aug 2 03:18:03 2006
@@ -21,7 +21,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/index.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/index.apt Wed Aug 2 03:18:03 2006
@@ -53,7 +53,7 @@
* Examples
- The following examples show how to use the dependency plugin in more advanced usecases:
+ The following examples show how to use the dependency plugin in more advanced use-cases:
* {{{examples/copying-artifacts.html}Copying Specific Artifacts}}
@@ -64,3 +64,14 @@
* {{{examples/copying-unpacking-direct-dependencies.html}Unpacking the Copied Direct Dependencies}}
[]
+
+* Resources
+
+ Here is a link that provides more reference regarding dependencies
+ (i.e. dependency management, transitive dependencies).
+
+ * {{{http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html}Dependency Mechanism}}
+
+ []
+
+
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/usage.apt?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/usage.apt Wed Aug 2 03:18:03 2006
@@ -22,11 +22,11 @@
Artifacts are copied using the following rules:
- * If the artifactItem.overWrite is set, use that value.
+ * If the <<<artifactItem.overWrite>>> is set, use that value.
- * Releases use the overWriteReleases value (default = true)
+ * Releases use the <<<overWriteReleases>>> value (default = true)
- * Snapshots use the overWriteSnapshots value (default = false)
+ * Snapshots use the <<<overWriteSnapshots>>> value (default = false)
[]
@@ -39,7 +39,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
@@ -110,7 +110,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
@@ -140,11 +140,11 @@
ArtifactItem by setting the optional outputDirectory field. Artifacts are
unpacked using the following rules:
- *If the artifactItem.overWrite is set, use that value.
+ *If the <<<artifactItem.overWrite>>> is set, use that value.
- *Releases use the overWriteReleases value (default = true)
+ *Releases use the <<<overWriteReleases>>> value (default = true)
- *Snapshots use the overWriteSnapshots value (default = false)
+ *Snapshots use the <<<overWriteSnapshots>>> value (default = false)
The artifact version is optional. If not set, the plugin will attempt to
resolve from the dependencyManagement section.
@@ -156,7 +156,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
@@ -211,7 +211,7 @@
By default, SNAPSHOTs are always overwritten, Releases are not. This can be
changed via the optional parameters.
-
+ s
The goal can also be launched from the command line like:
<<<mvn dependency:unpack-dependencies [optional params]>>>
@@ -222,7 +222,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugin</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies</id>
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/fml/faq.fml?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/fml/faq.fml Wed Aug 2 03:18:03 2006
@@ -6,7 +6,7 @@
<answer>
<p>
Actually, they are the same, It's just it was moved and renamed. The dependency-maven-plugin
- is hosted at Mojo while maven-dependency-plugin is hosted at Apache. But the most recommended
+ is hosted at Mojo while maven-dependency-plugin is hosted at Apache. But the recommended
plugin to use is the maven-dependency-plugin.
</p>
</answer>
Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/site.xml?rev=427949&r1=427948&r2=427949&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/site.xml Wed Aug 2 03:18:03 2006
@@ -29,7 +29,7 @@
</bannerRight>
<body>
<links>
- <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
+ <item name="Maven" href="http://maven.apache.org/maven2/"/>
</links>
<menu name="Overview">
@@ -43,6 +43,9 @@
<item name="Copying Direct Dependencies" href="examples/copy-direct-dependencies.html" />
<item name="Unpacking the Copied Specific Artifacts" href="examples/copying-unpacking.html" />
<item name="Unpacking the Copied Direct Dependencies" href="examples/copying-unpacking-direct-dependencies.html" />
+ </menu>
+ <menu name="Resources">
+ <item name="Dependency Mechanism" href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html" />
</menu>
${reports}
</body>