mirror of https://github.com/apache/maven.git
remove duplicate integration test (same as it0043)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ecd39a0ba
commit
8eae3413e8
|
@ -150,9 +150,6 @@ it0053: Test that attached artifacts have the same buildnumber and timestamp
|
|||
as the main artifact. This will not correctly verify until we have
|
||||
some way to pattern-match the buildnumber/timestamp...
|
||||
|
||||
it0054: Test that locally defined repositories override those from the super
|
||||
POM. This is from MNG-479.
|
||||
|
||||
it0055: Test that source includes/excludes with in the compiler plugin config.
|
||||
This will test excludes and testExcludes...
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ it0058
|
|||
it0057
|
||||
it0056
|
||||
it0055
|
||||
it0054
|
||||
it0053
|
||||
it0052
|
||||
it0051
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
test
|
|
@ -1,41 +0,0 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-it1011</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>central-plugins</id>
|
||||
<name>Empty Repository</name>
|
||||
<url>file:/tmp/emptyRepo</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<artifactId>junit</artifactId>
|
||||
<groupId>junit</groupId>
|
||||
<version>3.8.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-projecthelp-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-test-resources</phase>
|
||||
<goals>
|
||||
<goal>effective-pom</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<output>target/effective-pom.xml</output>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -1,26 +0,0 @@
|
|||
import java.io.BufferedInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.FileInputStream;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
public class Test extends TestCase
|
||||
{
|
||||
public void testPOM() throws Exception
|
||||
{
|
||||
|
||||
BufferedInputStream in = new BufferedInputStream( new FileInputStream("target/effective-pom.xml") );
|
||||
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
|
||||
int rd = 0;
|
||||
byte [] buffer = new byte[512];
|
||||
|
||||
while ( ( rd = in.read( buffer ) ) > 0 )
|
||||
{
|
||||
out.write( buffer, 0, rd );
|
||||
}
|
||||
|
||||
assertEquals( -1, out.toString().indexOf("repo1.maven.org/maven2/plugins") );
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue