mirror of https://github.com/apache/maven.git
o Decoupled it0008 from production deps/plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@729959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3cbc52f0c
commit
850b4c6cd2
|
@ -39,13 +39,14 @@ public class MavenIT0008Test
|
|||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0008" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setAutoclean( false );
|
||||
verifier.deleteDirectory( "target" );
|
||||
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-touch", "1.0", "maven-plugin" );
|
||||
verifier.executeGoal( "compile" );
|
||||
verifier.executeGoal( "process-sources" );
|
||||
verifier.assertFilePresent( "target/touch.txt" );
|
||||
verifier.assertFilePresent( "target/test-basedir-alignment/touch.txt" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,24 +1,40 @@
|
|||
<?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 :: it0008</name>
|
||||
|
||||
<groupId>org.apache.maven.its.it0008</groupId>
|
||||
<artifactId>maven-it-it0008</artifactId>
|
||||
<description>Simple goal decoration where a plugin binds to a phase and the plugin must
|
||||
be downloaded from a remote repository before it can be executed. This
|
||||
test also checks to make sure that mojo parameters are aligned to the
|
||||
project basedir when their type is "java.io.File".
|
||||
</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 :: it0008</name>
|
||||
<description>
|
||||
Simple goal decoration where a plugin binds to a phase and the plugin must
|
||||
be downloaded from a remote repository before it can be executed. This
|
||||
test also checks to make sure that mojo parameters are aligned to the
|
||||
project basedir when their type is "java.io.File".
|
||||
</description>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in New Issue