From 300fef04cd21f9c6ec028ea87e6a01994be2e13d Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 10 Jan 2007 14:49:35 +0000 Subject: [PATCH] o using new plugin configuraiton emitter plugin to see how interpolation is handled git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494834 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/it0104/pom.xml | 26 ++++++++++++----- .../java/org/apache/maven/it/AppTest.java | 29 ------------------- 2 files changed, 18 insertions(+), 37 deletions(-) delete mode 100644 its/core-integration-tests/src/test/resources/it0104/src/test/java/org/apache/maven/it/AppTest.java diff --git a/its/core-integration-tests/src/test/resources/it0104/pom.xml b/its/core-integration-tests/src/test/resources/it0104/pom.xml index 1160c9e21b..e436849110 100644 --- a/its/core-integration-tests/src/test/resources/it0104/pom.xml +++ b/its/core-integration-tests/src/test/resources/it0104/pom.xml @@ -9,7 +9,6 @@ Map.Entry. jar 1.0-SNAPSHOT - Maven Quick Start Archetype http://maven.apache.org @@ -24,15 +23,26 @@ - maven-surefire-plugin + org.apache.maven.its.plugins + maven-it-plugin-configuration - - - target.dir - ${project.build.directory} - - + + ${project.name} + + + target.dir + ${project.build.directory} + + + + + + + config + + + diff --git a/its/core-integration-tests/src/test/resources/it0104/src/test/java/org/apache/maven/it/AppTest.java b/its/core-integration-tests/src/test/resources/it0104/src/test/java/org/apache/maven/it/AppTest.java deleted file mode 100644 index 572ec8e470..0000000000 --- a/its/core-integration-tests/src/test/resources/it0104/src/test/java/org/apache/maven/it/AppTest.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.apache.maven.it; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -import java.io.File; - -/** - * Unit test for simple App. - */ -public class AppTest - extends TestCase -{ - - /** - * Rigourous Test :-) - */ - public void testApp() - { - - String targetDir = System.getProperty( "target.dir" ); - - System.out.println( "Got 'target.dir' of: '" + targetDir + "'" ); - - assertNotNull( "System property 'target.dir' is not present.", targetDir ); - assertTrue( "System property 'target.dir' was not resolved correctly.", targetDir.indexOf( "${" ) < 0 ); - } -}