maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/resources/org/apache/maven/project pom.xml
Date Mon, 14 Jun 2004 23:22:10 GMT
jvanzyl     2004/06/14 16:22:10

  Modified:    maven-core/src/main/java/org/apache/maven/project
                        MavenProject.java
               maven-core/src/main/resources/org/apache/maven/project
                        pom.xml
  Log:
  o add default value for project.build.output
  o add default value for project.build.testOutput
  
  Revision  Changes    Path
  1.6       +2 -2      maven-components/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
  
  Index: MavenProject.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/project/MavenProject.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MavenProject.java	14 Jun 2004 21:56:44 -0000	1.5
  +++ MavenProject.java	14 Jun 2004 23:22:10 -0000	1.6
  @@ -305,7 +305,7 @@
           String[] classpathElements = new String[size + 1];
   
           //@todo This needs to go into the super model ...
  -        classpathElements[0] = getBuild().getDirectory() + PS + "classes";
  +        classpathElements[0] = getBuild().getDirectory() + System.getProperty( "file.separator"
) + "classes";
   
           for ( int i = 0; i < size; i++ )
           {
  
  
  
  1.2       +2 -0      maven-components/maven-core/src/main/resources/org/apache/maven/project/pom.xml
  
  Index: pom.xml
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/resources/org/apache/maven/project/pom.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pom.xml	11 Jun 2004 15:11:55 -0000	1.1
  +++ pom.xml	14 Jun 2004 23:22:10 -0000	1.2
  @@ -20,6 +20,8 @@
     <build>
       <!-- This all may just fold into plugin parameters -->
       <directory>target</directory>
  +    <output>target/classes</output>
  +    <testOutput>target/test-classes</testOutput>
       <sourceDirectory>src/main/java</sourceDirectory>
       <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
       <unitTest>
  
  
  

Mime
View raw message