maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1176032 - /maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
Date Mon, 26 Sep 2011 20:31:25 GMT
Author: hboutemy
Date: Mon Sep 26 20:31:24 2011
New Revision: 1176032

URL: http://svn.apache.org/viewvc?rev=1176032&view=rev
Log:
added an assertion to check a known problem when upgrading Maven core dependency

Modified:
    maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java

Modified: maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java?rev=1176032&r1=1176031&r2=1176032&view=diff
==============================================================================
--- maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
(original)
+++ maven/shared/trunk/maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
Mon Sep 26 20:31:24 2011
@@ -121,6 +121,13 @@ public class DefaultProjectDependencyAna
 
         MavenProject project2 = getProject( "jarWithCompileDependency/project2/pom.xml" );
 
+        if ( project2.getBuild().getOutputDirectory().contains( "${" ) )
+        {
+            // if Maven version used as dependency is upgraded to >= 2.2.0 
+            throw new TestToolsException( "output directory was not interpolated: "
+                + project2.getBuild().getOutputDirectory() );
+        }
+
         ProjectDependencyAnalysis actualAnalysis = analyzer.analyze( project2 );
 
         Artifact project1 =



Mime
View raw message