mirror of https://github.com/apache/maven.git
o Moved a couple of artifacts into groupId org.apache.maven.its.<issue>
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@711399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3cd0394287
commit
5e089d07de
|
@ -194,7 +194,7 @@ public class MavenITmng3415JunkRepositoryMetadataTest
|
|||
File firstLogFile = new File( projectDir, verifier.getLogFileName() );
|
||||
|
||||
// FIXME: There really should be a better way than this!
|
||||
assertOutputLinePresent( verifier, firstLogFile, "snapshot tests:missing:1.0-SNAPSHOT: checking for updates from testing-repo" );
|
||||
assertOutputLinePresent( verifier, firstLogFile, "snapshot org.apache.maven.its.mng3415:missing:1.0-SNAPSHOT: checking for updates from testing-repo" );
|
||||
|
||||
File updateCheckFile = getUpdateCheckFile( localRepo );
|
||||
long firstLastMod = updateCheckFile.lastModified();
|
||||
|
@ -210,7 +210,7 @@ public class MavenITmng3415JunkRepositoryMetadataTest
|
|||
File secondLogFile = new File( projectDir, verifier.getLogFileName() );
|
||||
|
||||
// FIXME: There really should be a better way than this!
|
||||
assertOutputLineMissing( verifier, secondLogFile, "snapshot tests:missing:1.0-SNAPSHOT: checking for updates from testing-repo" );
|
||||
assertOutputLineMissing( verifier, secondLogFile, "snapshot org.apache.maven.its.mng3415:missing:1.0-SNAPSHOT: checking for updates from testing-repo" );
|
||||
|
||||
assertEquals( "Last-modified time should be unchanged from first build through second build for the file we use for updateInterval checks.", firstLastMod, updateCheckFile.lastModified() );
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ public class MavenITmng3415JunkRepositoryMetadataTest
|
|||
|
||||
private File getMetadataFile( File localRepo )
|
||||
{
|
||||
File dir = new File( localRepo, "tests/missing/1.0-SNAPSHOT" );
|
||||
File dir = new File( localRepo, "org/apache/maven/its/mng3415/missing/1.0-SNAPSHOT" );
|
||||
|
||||
dir.mkdirs();
|
||||
|
||||
|
@ -277,7 +277,7 @@ public class MavenITmng3415JunkRepositoryMetadataTest
|
|||
*/
|
||||
private File getUpdateCheckFile( File localRepo )
|
||||
{
|
||||
File dir = new File( localRepo, "tests/missing/1.0-SNAPSHOT" );
|
||||
File dir = new File( localRepo, "org/apache/maven/its/mng3415/missing/1.0-SNAPSHOT" );
|
||||
|
||||
dir.mkdirs();
|
||||
|
||||
|
@ -301,14 +301,14 @@ public class MavenITmng3415JunkRepositoryMetadataTest
|
|||
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
|
||||
verifier.deleteArtifact( "org.apache.maven.plugins", "maven-find-local-repo-plugin", "1.0-SNAPSHOT", "jar" );
|
||||
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-find-local-repo-plugin", "1.0-SNAPSHOT", "jar" );
|
||||
|
||||
verifier.executeGoal( "install" );
|
||||
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
verifier.executeGoal( "find-local-repo:find" );
|
||||
verifier.executeGoal( "org.apache.maven.its.plugins:maven-find-local-repo-plugin:1.0-SNAPSHOT:find" );
|
||||
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<groupId>org.apache.maven.its.plugins</groupId>
|
||||
<artifactId>maven-find-local-repo-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>tests</groupId>
|
||||
<groupId>org.apache.maven.its.mng3415</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>1</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>tests</groupId>
|
||||
<groupId>org.apache.maven.its.mng3415</groupId>
|
||||
<artifactId>missing</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
|
|
Loading…
Reference in New Issue