maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r389722 - in /maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs: ArtifactStub.java IdeaArtifactStub.java SimpleMavenProjectStub.java
Date Wed, 29 Mar 2006 09:18:58 GMT
Author: epunzalan
Date: Wed Mar 29 01:18:56 2006
New Revision: 389722

URL: http://svn.apache.org/viewcvs?rev=389722&view=rev
Log:
PR: MIDEA-42

Added dependency filter to filter out excluded deps also made some changes to make it compatible
with the latest test-harness library

Added:
    maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
      - copied, changed from r389656, maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/ArtifactStub.java
Removed:
    maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/ArtifactStub.java
Modified:
    maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java

Copied: maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
(from r389656, maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/ArtifactStub.java)
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java?p2=maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java&p1=maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/ArtifactStub.java&r1=389656&r2=389722&rev=389722&view=diff
==============================================================================
--- maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/ArtifactStub.java
(original)
+++ maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
Wed Mar 29 01:18:56 2006
@@ -3,13 +3,13 @@
 import org.apache.maven.artifact.versioning.ArtifactVersion;
 import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
 import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
-import org.apache.maven.plugins.testing.stubs.StubArtifact;
+import org.apache.maven.plugins.testing.stubs.ArtifactStub;
 
 /**
  * @author Edwin Punzalan
  */
-public class ArtifactStub
-    extends StubArtifact
+public class IdeaArtifactStub
+    extends ArtifactStub
 {
     private String groupId;
 
@@ -33,7 +33,7 @@
         this.artifactId = artifactId;
     }
 
-    public String getArtifactId( String artifactId )
+    public String getArtifactId()
     {
         return artifactId;
     }

Modified: maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java?rev=389722&r1=389721&r2=389722&view=diff
==============================================================================
--- maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
(original)
+++ maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
Wed Mar 29 01:18:56 2006
@@ -16,6 +16,10 @@
  * limitations under the License.
  */
 
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.model.Dependency;
+import org.apache.maven.plugins.testing.stubs.MavenProjectStub;
+
 import java.io.File;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -102,7 +106,7 @@
 
     public Artifact getArtifact()
     {
-        Artifact artifact = new ArtifactStub();
+        Artifact artifact = new IdeaArtifactStub();
 
         artifact.setGroupId( getGroupId() );
 



Mime
View raw message