mirror of https://github.com/apache/maven.git
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:
parent
c791ab82e1
commit
0adc235ad2
|
@ -63,8 +63,7 @@ public class MavenITmng3853ProfileInjectedDistReposTest
|
||||||
|
|
||||||
Properties props = verifier.loadProperties( "target/dist.properties" );
|
Properties props = verifier.loadProperties( "target/dist.properties" );
|
||||||
assertEquals( "1", props.getProperty( "listParam" ) );
|
assertEquals( "1", props.getProperty( "listParam" ) );
|
||||||
assertNotNull( props.getProperty( "listParam.0" ) );
|
assertEquals( "maven-core-it", props.getProperty( "listParam.0" ) );
|
||||||
assertFalse( props.getProperty( "listParam.0" ).startsWith( "${" ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ under the License.
|
||||||
<propertiesFile>target/dist.properties</propertiesFile>
|
<propertiesFile>target/dist.properties</propertiesFile>
|
||||||
<listParam>
|
<listParam>
|
||||||
<!-- Get the distro repo, just like the Maven Deploy Plugin would do -->
|
<!-- Get the distro repo, just like the Maven Deploy Plugin would do -->
|
||||||
<listParam>${project.distributionManagementArtifactRepository}</listParam>
|
<listParam>${project.distributionManagementArtifactRepository.id}</listParam>
|
||||||
</listParam>
|
</listParam>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
Loading…
Reference in New Issue