maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r749086 - /maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
Date Sun, 01 Mar 2009 20:35:02 GMT
Author: jvanzyl
Date: Sun Mar  1 20:35:02 2009
New Revision: 749086

URL: http://svn.apache.org/viewvc?rev=749086&view=rev
Log:
o adding default constructor and one for the single artifact resolution request.

Modified:
    maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

Modified: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java?rev=749086&r1=749085&r2=749086&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
(original)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
Sun Mar  1 20:35:02 2009
@@ -44,6 +44,17 @@
 
     private List<ConflictResolver> conflictResolvers;
 
+    public ArtifactResolutionRequest()
+    {        
+    }
+    
+    public ArtifactResolutionRequest( Artifact artifact, ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories )    
+    {        
+        this.artifact = artifact;
+        this.localRepository = localRepository;
+        this.remoteRepostories = remoteRepositories;
+    }
+    
     public Artifact getArtifact()
     {
         return artifact;



Mime
View raw message