You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/08 18:13:59 UTC
[maven-downloader] 02/48: o adding component requirements o using
the CDC
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-downloader.git
commit c8c190b58cb249479634150c9e35dbe69869294b
Author: Jason van Zyl <jv...@apache.org>
AuthorDate: Thu Nov 16 22:44:29 2006 +0000
o adding component requirements
o using the CDC
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@475955 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 16 ++++++++++++++++
.../maven/shared/downloader/DefaultDownloader.java | 6 ++++++
2 files changed, 22 insertions(+)
diff --git a/pom.xml b/pom.xml
index 180ba5e..de7acf1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,4 +29,20 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>descriptor</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java b/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
index 4ec715a..658e680 100644
--- a/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
+++ b/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
@@ -17,8 +17,14 @@ import java.io.File;
public class DefaultDownloader
implements Downloader
{
+ /**
+ * @plexus.requirement
+ */
private ArtifactResolver artifactResolver;
+ /**
+ * @plexus.requirement
+ */
private ArtifactFactory artifactFactory;
public File download( String groupId,
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.