o Strengthened IT to check repository identity

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@806262 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-20 17:14:21 +00:00
parent c791ab82e1
commit 0adc235ad2
2 changed files with 2 additions and 3 deletions

View File

@ -63,8 +63,7 @@ public class MavenITmng3853ProfileInjectedDistReposTest
Properties props = verifier.loadProperties( "target/dist.properties" );
assertEquals( "1", props.getProperty( "listParam" ) );
assertNotNull( props.getProperty( "listParam.0" ) );
assertFalse( props.getProperty( "listParam.0" ).startsWith( "${" ) );
assertEquals( "maven-core-it", props.getProperty( "listParam.0" ) );
}
}

View File

@ -51,7 +51,7 @@ under the License.
<propertiesFile>target/dist.properties</propertiesFile>
<listParam>
<!-- Get the distro repo, just like the Maven Deploy Plugin would do -->
<listParam>${project.distributionManagementArtifactRepository}</listParam>
<listParam>${project.distributionManagementArtifactRepository.id}</listParam>
</listParam>
</configuration>
</execution>