Author: bentmann Date: Tue Jan 6 08:40:59 2009 New Revision: 731995 URL: http://svn.apache.org/viewvc?rev=731995&view=rev Log: o Decoupled it0032 from production plugins
Removed: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/src/ Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0032Test.java maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/pom.xml Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0032Test.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0032Test.java?rev=731995&r1=731994&r2=731995&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0032Test.java (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0032Test.java Tue Jan 6 08:40:59 2009 @@ -35,15 +35,12 @@ throws Exception { File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0032" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); - verifier.executeGoal( "package" ); - verifier.assertFilePresent( "target/classes/org/apache/maven/it0032/Person.class" ); - verifier.assertFilePresent( "target/test-classes/org/apache/maven/it0032/PersonTest.class" ); - verifier.assertFilePresent( "target/maven-it-it0032-1.0.jar" ); - verifier.assertFilePresent( "target/maven-it-it0032-1.0.jar!/it0032.properties" ); + verifier.setAutoclean( false ); + verifier.executeGoal( "initialize" ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); - } -} +} Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/pom.xml?rev=731995&r1=731994&r2=731995&view=diff ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/pom.xml (original) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0032/pom.xml Tue Jan 6 08:40:59 2009 @@ -1,20 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <project> <modelVersion>4.0.0</modelVersion> - <name>Maven Integration Test :: it0032</name> + <groupId>org.apache.maven.its.it0032</groupId> - <artifactId>maven-it-it0032</artifactId> - <description>Tests that a specified Maven version requirement that is lower doesn't cause any problems</description> - <packaging>jar</packaging> + <artifactId>test</artifactId> <version>1.0</version> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <type>jar</type> - <scope>test</scope> - </dependency> - </dependencies> + <packaging>jar</packaging> + + <name>Maven Integration Test :: it0032</name> + <description>Tests that a specified Maven version requirement that is lower doesn't cause any problems</description> <prerequisites> <maven>2.0-alpha-3</maven>