mirror of https://github.com/apache/maven.git
[MNG-8190] Fix ITs (#359)
This commit is contained in:
parent
4fc65368c7
commit
e6af8ffeee
|
@ -48,7 +48,7 @@ public class MavenITmng1021EqualAttachmentBuildNumberTest extends AbstractMavenI
|
|||
verifier.setAutoclean(false);
|
||||
verifier.deleteDirectory("repo");
|
||||
verifier.deleteArtifacts("org.apache.maven.its.mng1021");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("-Dmaven.consumer.pom=false");
|
||||
verifier.addCliArgument("initialize");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
|
|
@ -46,7 +46,6 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte
|
|||
verifier.deleteArtifact(GROUP_ID, "A", "1.0", "jar");
|
||||
verifier.deleteArtifact(GROUP_ID, "B", "1.0", "pom");
|
||||
verifier.deleteArtifact(GROUP_ID, "B", "1.0", "jar");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("install");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
@ -60,7 +59,6 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte
|
|||
verifier.deleteArtifact(GROUP_ID, "A", "3.0", "jar");
|
||||
verifier.deleteArtifact(GROUP_ID, "plugin", "1.0", "pom");
|
||||
verifier.deleteArtifact(GROUP_ID, "plugin", "1.0", "jar");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("install");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
@ -70,7 +68,6 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte
|
|||
verifier = newVerifier(testDir.getAbsolutePath(), "remote");
|
||||
verifier.deleteArtifact(GROUP_ID, "pluginuser", "1.0", "pom");
|
||||
verifier.deleteArtifact(GROUP_ID, "pluginuser", "1.0", "jar");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("install");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
|
|
@ -50,7 +50,7 @@ public class MavenITmng5576CdFriendlyVersions extends AbstractMavenIntegrationTe
|
|||
verifier.setAutoclean(false);
|
||||
verifier.deleteDirectory("target");
|
||||
verifier.addCliArgument("-Dchangelist=changelist");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=false");
|
||||
verifier.addCliArgument("validate");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
@ -83,7 +83,7 @@ public class MavenITmng5576CdFriendlyVersions extends AbstractMavenIntegrationTe
|
|||
verifier.setAutoclean(false);
|
||||
verifier.deleteDirectory("target");
|
||||
verifier.addCliArgument("-Dchangelist=changelist");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=true");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=true");
|
||||
verifier.addCliArgument("validate");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
|
|
@ -57,7 +57,7 @@ public class MavenITmng5669ReadPomsOnce extends AbstractMavenIntegrationTestCase
|
|||
verifier.setAutoclean(false);
|
||||
verifier.addCliArgument("-q");
|
||||
verifier.addCliArgument("-U");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=false");
|
||||
verifier.addCliArgument("verify");
|
||||
verifier.execute();
|
||||
|
||||
|
@ -93,7 +93,7 @@ public class MavenITmng5669ReadPomsOnce extends AbstractMavenIntegrationTestCase
|
|||
verifier.setAutoclean(false);
|
||||
verifier.addCliArgument("-q");
|
||||
verifier.addCliArgument("-U");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=true");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=true");
|
||||
verifier.addCliArgument("verify");
|
||||
verifier.execute();
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ public class MavenITmng5895CIFriendlyUsageWithPropertyTest extends AbstractMaven
|
|||
|
||||
// verifier.setLogFileName( "log-only.txt" );
|
||||
verifier.addCliArgument("-Drevision=1.2");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=false");
|
||||
verifier.addCliArgument("clean");
|
||||
verifier.execute();
|
||||
verifier.addCliArgument("package");
|
||||
|
@ -76,7 +76,7 @@ public class MavenITmng5895CIFriendlyUsageWithPropertyTest extends AbstractMaven
|
|||
|
||||
verifier.setLogFileName("log-bc.txt");
|
||||
verifier.addCliArgument("-Drevision=1.2");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=true");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=true");
|
||||
verifier.addCliArgument("clean");
|
||||
verifier.execute();
|
||||
verifier.addCliArgument("package");
|
||||
|
|
|
@ -56,7 +56,7 @@ public class MavenITmng6090CIFriendlyTest extends AbstractMavenIntegrationTestCa
|
|||
verifier.setAutoclean(false);
|
||||
|
||||
verifier.addCliArgument("-Drevision=1.2");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=false");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=false");
|
||||
verifier.setLogFileName("install-log.txt");
|
||||
verifier.addCliArguments("clean", "install");
|
||||
verifier.execute();
|
||||
|
@ -82,7 +82,7 @@ public class MavenITmng6090CIFriendlyTest extends AbstractMavenIntegrationTestCa
|
|||
verifier.setForkJvm(true);
|
||||
|
||||
verifier.addCliArgument("-Drevision=1.2");
|
||||
verifier.addCliArgument("-Dmaven.buildconsumer=true");
|
||||
verifier.addCliArgument("-Dmaven.consumerpom=true");
|
||||
verifier.setLogFileName("install-log.txt");
|
||||
verifier.addCliArguments("clean", "install");
|
||||
verifier.execute();
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>0.9-${changelist}-SNAPSHOT</version>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>utils-parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>simple-parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>simple-parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>simple-parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>0.9-${changelist}-SNAPSHOT</version>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.sonatype.mavenbook.multi</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent>
|
||||
<relativePath>../utils-parent</relativePath>
|
||||
</parent>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent />
|
||||
<artifactId>simple-weather</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent />
|
||||
|
||||
<artifactId>simple-webapp</artifactId>
|
||||
|
|
|
@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the
|
|||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<parent />
|
||||
<artifactId>utils-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
limitations under the License.
|
||||
|
||||
-->
|
||||
<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/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 http://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
<groupId>org.apache.maven.its.mng7360</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
|
Loading…
Reference in New Issue