You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2002/05/29 03:32:57 UTC
cvs commit: jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt TestMavenProject.java Project.java project.xml
jvanzyl 02/05/28 18:32:56
Modified: betwixt/src/test/org/apache/commons/betwixt
TestMavenProject.java
Removed: betwixt/src/test/org/apache/commons/betwixt Project.java
project.xml
Log:
Removing old project test files as the Maven POM is being used directly.
Added a test that makes the Maven mapping fail, trying to find the problem
now.
Revision Changes Path
1.5 +2 -0 jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestMavenProject.java
Index: TestMavenProject.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/TestMavenProject.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestMavenProject.java 28 May 2002 23:01:08 -0000 1.4
+++ TestMavenProject.java 29 May 2002 01:32:56 -0000 1.5
@@ -238,6 +238,8 @@
assertEquals( "commons-logging", dependency.getName() );
assertEquals( "required", dependency.getType() );
+ List sourceDirectories = project.getBuild().getSourceDirectories();
+ assertEquals("src/java", (String) sourceDirectories.get(0));
}
protected void write(Object bean, Writer out) throws Exception {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>