maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r465837 - in /maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/maven/ src/main/java/org/apache/maven/it0001...
Date Thu, 19 Oct 2006 20:47:08 GMT
Author: jvanzyl
Date: Thu Oct 19 13:47:07 2006
New Revision: 465837

URL: http://svn.apache.org/viewvc?view=rev&rev=465837
Log:
o adding IT it0063

Added:
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
  (with props)
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
  (with props)
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
  (with props)
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/
    maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
  (with props)

Added: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml?view=auto&rev=465837
==============================================================================
--- maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
(added)
+++ maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
Thu Oct 19 13:47:07 2006
@@ -0,0 +1,37 @@
+<model>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.it</groupId>
+  <artifactId>maven-core-it0063</artifactId>
+  <description>Test the use of a system scoped dependency to tools.jar.</description>
+  <packaging>jar</packaging>
+  <version>1.0</version>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <profiles>
+    <profile>
+      <!-- NOTE: This will not be activated on OS X, since classes.jar already has the
tools in it. -->
+      <id>default-tools.jar</id>
+      <activation>
+        <property>
+          <name>java.vendor</name>
+          <value>Sun Microsystems Inc.</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>com.sun</groupId>
+          <artifactId>tools</artifactId>
+          <version>1.4.2</version>
+          <scope>system</scope>
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</model>

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java?view=auto&rev=465837
==============================================================================
--- maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
(added)
+++ maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
Thu Oct 19 13:47:07 2006
@@ -0,0 +1,18 @@
+package org.apache.maven.it0001;
+
+import com.sun.tools.javac.Main;
+
+public class Person
+{
+    private String name;
+    
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+    
+    public String getName()
+    {
+        return name;
+    }
+}

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/java/org/apache/maven/it0001/Person.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties?view=auto&rev=465837
==============================================================================
--- maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
(added)
+++ maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
Thu Oct 19 13:47:07 2006
@@ -0,0 +1 @@
+name = jason

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/main/resources/it0001.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java?view=auto&rev=465837
==============================================================================
--- maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
(added)
+++ maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
Thu Oct 19 13:47:07 2006
@@ -0,0 +1,16 @@
+package org.apache.maven.it0001;
+
+import junit.framework.TestCase;
+
+public class PersonTest
+    extends TestCase
+{
+    public void testPerson()
+    {
+        Person person = new Person();
+        
+        person.setName( "foo" );
+        
+        assertEquals( "foo", person.getName() );
+    }
+}

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core-integration-tests/src/test/resources/it0063/src/test/java/org/apache/maven/it0001/PersonTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message