You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/06/02 20:11:11 UTC
cvs commit: jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt TestMavenProject.java
jstrachan 2002/06/02 11:11:11
Modified: betwixt/src/test/org/apache/commons/betwixt
TestMavenProject.java
Log:
Updated the build and project POM to the latest Maven CVS HEAD
Revision Changes Path
1.8 +2 -3 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.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TestMavenProject.java 30 May 2002 07:49:03 -0000 1.7
+++ TestMavenProject.java 2 Jun 2002 18:11:11 -0000 1.8
@@ -235,9 +235,8 @@
Dependency dependency = (Dependency) dependencies.get(0);
assertEquals( "commons-logging", dependency.getName() );
- List sourceDirectories = project.getBuild().getSourceDirectories();
- assertTrue("Found at least one sourceDirectory", sourceDirectories.size() > 0 );
- assertEquals("src/java", (String) sourceDirectories.get(0));
+ String sourceDirectory = project.getBuild().getSourceDirectory();
+ assertEquals("src/java", sourceDirectory);
}
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>