Reformat ITs

This commit is contained in:
Guillaume Nodet 2023-06-02 12:25:54 +02:00
parent 386efc3d6c
commit 74c1775d05
1557 changed files with 12414 additions and 12424 deletions

View File

@ -487,6 +487,39 @@ under the License.
<directory>src/test/resources-filtered</directory>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/java/**/*.java</include>
<include>src/test/resources/**/src/main/java/**/*.java</include>
<include>src/test/resources/**/src/test/java/**/*.java</include>
</includes>
<excludes>
<exclude>src/test/resources/mng-5208/project/sub-2/src/main/java/Bad.java</exclude>
</excludes>
</java>
<pom>
<includes>
<include>pom.xml</include>
<include>src/test/resources/**/pom.xml</include>
</includes>
<excludes>
<exclude>src/test/resources/mng-2254/latin-1/pom.xml</exclude>
<exclude>src/test/resources/mng-2362/latin-1/pom.xml</exclude>
<exclude>src/test/resources/mng-3839/pom.xml</exclude>
</excludes>
</pom>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

View File

@ -59,7 +59,7 @@ public class MavenITmng1803PomValidationErrorIncludesLineNumberTest extends Abst
List<String> lines = verifier.loadLines(verifier.getLogFileName(), null);
for (String line : lines) {
if (line.contains(":bad/id:")) {
assertTrue("Line number not found in: " + line, line.indexOf("38") > 0);
assertTrue("Line number not found in: " + line, line.indexOf("34") > 0);
assertTrue("Column number not found in: " + line, line.indexOf("19") > 0);
foundError = true;
break;

View File

@ -55,14 +55,14 @@ class MavenITmng6720FailFastTest extends AbstractMavenIntegrationTestCase {
// expected
}
List<String> module1Lines =
verifier.loadFile(new File(testDir, "module-1/target/surefire-reports/Module1Test-output.txt"), false);
List<String> module1Lines = verifier.loadFile(
new File(testDir, "module-1/target/surefire-reports/mng6720.Module1Test-output.txt"), false);
assertTrue("module-1 should be executed", module1Lines.contains("Module1"));
List<String> module2Lines =
verifier.loadFile(new File(testDir, "module-2/target/surefire-reports/Module2Test-output.txt"), false);
List<String> module2Lines = verifier.loadFile(
new File(testDir, "module-2/target/surefire-reports/mng6720.Module2Test-output.txt"), false);
assertTrue("module-2 should be executed", module2Lines.contains("Module2"));
List<String> module3Lines =
verifier.loadFile(new File(testDir, "module-3/target/surefire-reports/Module3Test-output.txt"), false);
List<String> module3Lines = verifier.loadFile(
new File(testDir, "module-3/target/surefire-reports/mng6720.Module3Test-output.txt"), false);
assertTrue("module-3 should be skipped", module3Lines.isEmpty());
}
}

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,23 +17,22 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<artifactId>bootstrap</artifactId>
<packaging>pom</packaging>
<artifactId>bootstrap</artifactId>
<packaging>pom</packaging>
<name>Maven Integration Test :: Boostrap :: boostrap</name>
<name>Maven Integration Test :: Boostrap :: boostrap</name>
<!-- We do want the file here -->
<properties>
<file>${bootstrap}</file>
</properties>
<!-- We do want the file here -->
<properties>
<file>${bootstrap}</file>
</properties>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,18 +17,17 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<artifactId>packaging-jar</artifactId>
<packaging>jar</packaging>
<artifactId>packaging-jar</artifactId>
<packaging>jar</packaging>
<name>Maven Integration Test :: Boostrap :: packaging-jar</name>
<name>Maven Integration Test :: Boostrap :: packaging-jar</name>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,18 +17,17 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<artifactId>packaging-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<artifactId>packaging-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Maven Integration Test :: Boostrap :: packaging-maven-plugin</name>
<name>Maven Integration Test :: Boostrap :: packaging-maven-plugin</name>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,18 +17,17 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<parent>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
</parent>
<artifactId>packaging-war</artifactId>
<packaging>war</packaging>
<artifactId>packaging-war</artifactId>
<packaging>war</packaging>
<name>Maven Integration Test :: Boostrap :: packaging-war</name>
<name>Maven Integration Test :: Boostrap :: packaging-war</name>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,53 +17,50 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<groupId>org.apache.maven.its.bootstrap</groupId>
<artifactId>maven-it-boostrap</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>Maven Integration Test :: Boostrap</name>
<description>
This project pulls down all the artifacts/plugins required for the IT suite. Due to MNG-2974, snapshot versions of
<name>Maven Integration Test :: Boostrap</name>
<description>This project pulls down all the artifacts/plugins required for the IT suite. Due to MNG-2974, snapshot versions of
plugins cannot be downloaded by Maven from non-default repositories configured in the POM if the plugin is invoked
directly from the command line. Also, having this in a central place spares us from copying the snapshot repo
config all around in the IT POMs.
Each module does:
- boostrap - resolves all artifacts provided in bootstrap file
- packaging-* - resolves build plugins provided by tested Maven default lifecycle(s)
</description>
- packaging-* - resolves build plugins provided by tested Maven default lifecycle(s)</description>
<modules>
<module>bootstrap</module>
<module>packaging-jar</module>
<module>packaging-maven-plugin</module>
<module>packaging-war</module>
</modules>
<modules>
<module>bootstrap</module>
<module>packaging-jar</module>
<module>packaging-maven-plugin</module>
<module>packaging-war</module>
</modules>
<build>
<plugins>
<!-- This merely locks the plugin versions to disable auto-update -->
<plugin>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-it-plugin-bootstrap</artifactId>
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>download</goal>
</goals>
<configuration>
<file>${file}</file>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<!-- This merely locks the plugin versions to disable auto-update -->
<plugin>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-it-plugin-bootstrap</artifactId>
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>download</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<file>${file}</file>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<relativePath/>
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<relativePath />
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Av1 {}

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<relativePath/>
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>1</version>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<relativePath />
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>1</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Bv1 extends Av1 {}

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -1,3 +0,0 @@
class Bundle {
Object[] components = {new Av1(), new Bv1()};
}

View File

@ -0,0 +1,23 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
class Bundle {
Object[] components = {new Av1(), new Bv1()};
}

View File

@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>1</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>1</version>
</dependency>
</dependencies>
</dependencyManagement>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>1</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>1</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>1</version>
<packaging>pom</packaging>
</project>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<relativePath/>
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<relativePath />
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Av2 {}

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<relativePath/>
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<relativePath />
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Bv2 extends Av1 {}

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -1,3 +0,0 @@
class Bundle {
Object[] components = {new Av2(), new Bv2()};
}

View File

@ -0,0 +1,23 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
class Bundle {
Object[] components = {new Av2(), new Bv2()};
}

View File

@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>2</version>
</dependency>
</dependencies>
</dependencyManagement>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>2</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>2</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>2</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<relativePath/>
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<relativePath />
</parent>
<artifactId>componentA</artifactId>
<packaging>jar</packaging>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Av3 {}

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<relativePath/>
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>3</version>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<relativePath />
</parent>
<artifactId>componentB</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>3</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,21 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
public class Bv3 extends Av3 {}

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>3</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>3</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -1,3 +0,0 @@
class Bundle {
Object[] components = {new Av3(), new Bv3()};
}

View File

@ -0,0 +1,23 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package cyclic;
class Bundle {
Object[] components = {new Av3(), new Bv3()};
}

View File

@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>3</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>3</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>3</version>
</dependency>
</dependencies>
</dependencyManagement>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>3</version>
<packaging>pom</packaging>
<modules>
<module>bundle</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>componentA</artifactId>
<version>3</version>
</dependency>
<dependency>
<groupId>test</groupId>
<artifactId>componentB</artifactId>
<version>3</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>parent</artifactId>
<version>3</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>main</artifactId>
<version>2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,12 +26,10 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0008</name>
<description>
Simple goal decoration where a plugin binds to a phase and the plugin must
<description>Simple goal decoration where a plugin binds to a phase and the plugin must
be downloaded from a remote repository before it can be executed. This
test also checks to make sure that mojo parameters are aligned to the
project basedir when their type is "java.io.File".
</description>
project basedir when their type is "java.io.File".</description>
<build>
<plugins>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0009</name>
<description>
Test plugin configuration and goal configuration that overrides what the
mojo has specified.
</description>
<description>Test plugin configuration and goal configuration that overrides what the
mojo has specified.</description>
<build>
<plugins>
@ -45,12 +41,12 @@ under the License.
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>touch</goal>
</goals>
<phase>validate</phase>
<configuration>
<goalItem> goalItem </goalItem>
<goalItem>goalItem</goalItem>
</configuration>
</execution>
</executions>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,11 +26,9 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0010</name>
<description>
Since the artifact resolution does not use the project builder, we must
<description>Since the artifact resolution does not use the project builder, we must
ensure that the full hierarchy of all dependencies is resolved. This
includes the dependencies of the parent-pom's of dependencies.
</description>
includes the dependencies of the parent-pom's of dependencies.</description>
<dependencies>
<dependency>
@ -56,10 +52,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>compile</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -30,21 +28,6 @@ under the License.
<name>Maven Integration Test :: it0011</name>
<description>Test specification of dependency versions via &lt;dependencyManagement/&gt;.</description>
<dependencies>
<dependency>
<groupId>org.apache.maven.its.it0011</groupId>
<artifactId>a</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.its.it0011</groupId>
<artifactId>b</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
@ -64,6 +47,21 @@ under the License.
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven.its.it0011</groupId>
<artifactId>a</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.its.it0011</groupId>
<artifactId>b</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
@ -76,10 +74,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>compile</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven</groupId>
<artifactId>child-project</artifactId>
<packaging>jar</packaging>
<version>3.0.3</version>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-it-plugin-touch</artifactId>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-touch</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<outputDirectory>${basedir}/target/</outputDirectory>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@ -30,9 +28,12 @@ under the License.
<name>Maven Integration Test :: it0012</name>
<description>Test simple POM interpolation</description>
<modules>
<module>child-project</module>
</modules>
<properties>
<test>
POM content (available with 2 prefixes):
<test>POM content (available with 2 prefixes):
project.version: ${project.version}
version: ${version}
@ -62,20 +63,15 @@ environment properties (available with 2 prefixes):
Not replaced:
baseUri (not supported): ${baseUri}
any.undefined.property: ${any.undefined.property}
settings.localRepository: ${settings.localRepository} (only replaced during parameter expression evaluation)
</test>
settings.localRepository: ${settings.localRepository} (only replaced during parameter expression evaluation)</test>
<any.property>any value</any.property>
</properties>
<modules>
<module>child-project</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-it-plugin-touch</artifactId>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-touch</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<pluginFile>touch-${project.version}.txt</pluginFile>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,11 +25,9 @@ under the License.
<version>1.0</version>
<name>Maven Integration Test :: it0018</name>
<description>
Ensure that managed dependencies for dependency POMs are calculated
<description>Ensure that managed dependencies for dependency POMs are calculated
correctly when resolved. Removes managed-dep-1.0.3 and checks it is
redownloaded.
</description>
redownloaded.</description>
<dependencies>
<dependency>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,9 +25,7 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>Maven Integration Test :: it0021</name>
<description>
Test pom-level profile inclusion (this one is activated by system property).
</description>
<description>Test pom-level profile inclusion (this one is activated by system property).</description>
<build>
<plugins>
@ -40,10 +36,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>compile</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0024</name>
<description>
Test usage of &lt;executions/&gt; inside a plugin rather than &lt;goals/&gt;
that are directly inside the plugin.
</description>
<description>Test usage of &lt;executions/&gt; inside a plugin rather than &lt;goals/&gt;
that are directly inside the plugin.</description>
<build>
<plugins>
@ -42,13 +38,13 @@ under the License.
<executions>
<execution>
<id>test</id>
<goals>
<goal>reset</goal>
</goals>
<phase>initialize</phase>
<configuration>
<logFile>target/plugin-exec-configuration.txt</logFile>
</configuration>
<goals>
<goal>reset</goal>
</goals>
</execution>
</executions>
</plugin>

View File

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0025</name>
<groupId>org.apache.maven.its.it0025</groupId>
<artifactId>maven-it-it0025</artifactId>
<description>Test multiple goal executions with different execution-level configs.</description>
<version>1.0-SNAPSHOT</version>
<name>Maven Integration Test :: it0025</name>
<description>Test multiple goal executions with different execution-level configs.</description>
<build>
<plugins>
<plugin>
@ -14,26 +15,26 @@
<executions>
<execution>
<id>test1</id>
<goals>
<goal>touch</goal>
</goals>
<phase>validate</phase>
<configuration>
<pluginItem>test.txt</pluginItem>
</configuration>
<goals>
<goal>touch</goal>
</goals>
</execution>
<execution>
<id>test2</id>
<goals>
<goal>touch</goal>
</goals>
<phase>validate</phase>
<configuration>
<pluginItem>test2.txt</pluginItem>
</configuration>
<goals>
<goal>touch</goal>
</goals>
</execution>
</executions>
</plugin>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
@ -6,8 +7,12 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>child-hierarchy</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>project1</module>
<module>project2</module>
</modules>
<dependencies>
<dependency>
<groupId>junit</groupId>
@ -15,8 +20,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<modules>
<module>project1</module>
<module>project2</module>
</modules>
</project>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>

View File

@ -1,16 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.maven.it0001;
public class Person
{
public class Person {
private String name;
public void setName( String newName )
{
public void setName(String newName) {
this.name = newName;
}
public String getName()
{
public String getName() {
return name;
}
}

View File

@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0030</name>
<groupId>org.apache.maven.its.it0030</groupId>
<artifactId>maven-it-it0030</artifactId>
<description>Test for injection of dependencyManagement through parents of
dependency poms.</description>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Maven Integration Test :: it0030</name>
<description>Test for injection of dependencyManagement through parents of
dependency poms.</description>
<modules>
<module>child-hierarchy</module>
</modules>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,9 +26,7 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0037</name>
<description>
Test building with alternate pom file using '-f'
</description>
<description>Test building with alternate pom file using '-f'</description>
<build>
<plugins>
@ -45,10 +41,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,9 +26,7 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0038</name>
<description>
Test building project from outside the project directory using '-f' option
</description>
<description>Test building project from outside the project directory using '-f' option</description>
<build>
<plugins>
@ -45,10 +41,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0040</name>
<groupId>org.apache.maven.its.it0040</groupId>
<artifactId>maven-it-it0040</artifactId>
<description>Test the use of a packaging from a plugin</description>
<packaging>it-packaging</packaging>
<version>1.0</version>
<packaging>it-packaging</packaging>
<name>Maven Integration Test :: it0040</name>
<description>Test the use of a packaging from a plugin</description>
<build>
<plugins>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -53,10 +51,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>compile</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0056</name>
<description>
Test that multiple executions of a goal with different
parameter values will succeed.
</description>
<description>Test that multiple executions of a goal with different
parameter values will succeed.</description>
<build>
<plugins>
@ -42,20 +38,20 @@ under the License.
<executions>
<execution>
<id>first-exec</id>
<phase>validate</phase>
<goals>
<goal>reset</goal>
</goals>
<phase>validate</phase>
<configuration>
<logFile>target/first-exec.txt</logFile>
</configuration>
</execution>
<execution>
<id>second-exec</id>
<phase>initialize</phase>
<goals>
<goal>reset</goal>
</goals>
<phase>initialize</phase>
<configuration>
<logFile>target/second-exec.txt</logFile>
</configuration>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
@ -7,10 +8,8 @@
<packaging>jar</packaging>
<name>Maven Integration Test :: it0064</name>
<description>
Test the use of a mojo that uses setters instead of private fields
for the population of configuration values.
</description>
<description>Test the use of a mojo that uses setters instead of private fields
for the population of configuration values.</description>
<build>
<plugins>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
@ -7,9 +8,7 @@
<packaging>jar</packaging>
<name>Maven Integration Test :: it0071</name>
<description>
Verifies that dotted property references work within plugin configurations.
</description>
<description>Verifies that dotted property references work within plugin configurations.</description>
<properties>
<m2.foo>foo2</m2.foo>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
@ -8,9 +9,7 @@
<packaging>jar</packaging>
<name>Maven Integration Test :: it0072</name>
<description>
Verifies that property references with dotted notation work within POM interpolation.
</description>
<description>Verifies that property references with dotted notation work within POM interpolation.</description>
<properties>
<m2.version>1.0-SNAPSHOT</m2.version>
@ -31,10 +30,10 @@
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
@ -7,12 +8,10 @@
<packaging>pom</packaging>
<name>Maven Integration Test :: it0085</name>
<description>
Verify that system-scoped dependencies get resolved with system scope
<description>Verify that system-scoped dependencies get resolved with system scope
when they are resolved transitively via another (non-system)
dependency. Inherited scope should not apply in the case of
system-scoped dependencies, no matter where they are.
</description>
system-scoped dependencies, no matter where they are.</description>
<dependencies>
<dependency>
@ -36,10 +35,10 @@
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>test</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,10 +25,8 @@ under the License.
<version>1.0</version>
<name>Maven Integration Test :: it0086</name>
<description>
Verify that a plugin dependency class can be loaded from both the plugin classloader and the context classloader
available to the plugin.
</description>
<description>Verify that a plugin dependency class can be loaded from both the plugin classloader and the context classloader
available to the plugin.</description>
<build>
<plugins>
@ -41,6 +37,9 @@ under the License.
<executions>
<execution>
<id>load</id>
<goals>
<goal>load</goal>
</goals>
<phase>validate</phase>
<configuration>
<classNames>org.apache.maven.plugin.coreit.ClassA,org.apache.maven.plugin.coreit.ClassB,org.apache.maven.plugin.coreit.SomeClass</classNames>
@ -48,9 +47,6 @@ under the License.
<pluginClassLoaderOutput>target/pcl.properties</pluginClassLoaderOutput>
<contextClassLoaderOutput>target/tccl.properties</contextClassLoaderOutput>
</configuration>
<goals>
<goal>load</goal>
</goals>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,10 +25,8 @@ under the License.
<version>1.0</version>
<name>Maven Integration Test :: it0087</name>
<description>
Verify that a project-level plugin dependency class can be loaded from both the plugin classloader
and the context classloader available to the plugin.
</description>
<description>Verify that a project-level plugin dependency class can be loaded from both the plugin classloader
and the context classloader available to the plugin.</description>
<build>
<plugins>
@ -48,6 +44,9 @@ under the License.
<executions>
<execution>
<id>load</id>
<goals>
<goal>load</goal>
</goals>
<phase>validate</phase>
<configuration>
<classNames>org.apache.maven.its.it0087.IT0087,org.apache.maven.plugin.coreit.ClassA,org.apache.maven.plugin.coreit.ClassB</classNames>
@ -55,9 +54,6 @@ under the License.
<pluginClassLoaderOutput>target/pcl.properties</pluginClassLoaderOutput>
<contextClassLoaderOutput>target/tccl.properties</contextClassLoaderOutput>
</configuration>
<goals>
<goal>load</goal>
</goals>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,10 +25,8 @@ under the License.
<version>1.0</version>
<name>Maven Integration Test :: it0090</name>
<description>
Test that ensures that envars are interpolated correctly into plugin
configurations.
</description>
<description>Test that ensures that envars are interpolated correctly into plugin
configurations.</description>
<build>
<plugins>
@ -40,14 +36,14 @@ under the License.
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>config</goal>
</goals>
<phase>validate</phase>
<configuration>
<propertiesFile>target/env.properties</propertiesFile>
<stringParam>${env.MAVEN_TEST_ENVAR}</stringParam>
</configuration>
<goals>
<goal>config</goal>
</goals>
</execution>
</executions>
</plugin>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2004-2006 The Apache Software Foundation.
~
@ -13,18 +14,14 @@
~ 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 http://maven.apache.org/maven-v4_0_0.xsd">
<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>
<name>Maven Integration Test :: snapshotUpdate</name>
<groupId>org.apache.maven.its.snapshotUpdate</groupId>
<artifactId>maven-it-snapshot-update</artifactId>
<description>
Downloads a snapshot dependency that was deployed with uniqueVersion = false, and checks it can be
updated. See MNG-1908.
</description>
<version>1.0-SNAPSHOT</version>
<name>Maven Integration Test :: snapshotUpdate</name>
<description>Downloads a snapshot dependency that was deployed with uniqueVersion = false, and checks it can be
updated. See MNG-1908.</description>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
@ -34,11 +31,11 @@
</dependencies>
<repositories>
<repository>
<id>it.snapshots</id>
<url>file:///${basedir}/repository</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>it.snapshots</id>
<url>file:///${basedir}/repository</url>
</repository>
</repositories>
</project>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,9 +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 http://maven.apache.org/maven-v4_0_0.xsd">
<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.its.it0113</groupId>
@ -29,10 +26,8 @@ under the License.
<packaging>jar</packaging>
<name>test</name>
<description>
Test that the auth infos given in the settings.xml are pushed into the wagon manager and are available
to other components/plugins.
</description>
<description>Test that the auth infos given in the settings.xml are pushed into the wagon manager and are available
to other components/plugins.</description>
<build>
<plugins>
@ -49,10 +44,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>dump-auth</goal>
</goals>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.its.it0116</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<profiles>
<profile>
<id>bogus-profile</id>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,14 +17,13 @@ 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.it0139</groupId>
<artifactId>parent</artifactId>
<version>1.0</version>
<groupId>org.apache.maven.its.it0139</groupId>
<artifactId>parent</artifactId>
<version>1.0</version>
</parent>
<groupId>org.apache.maven.its.it0139.child</groupId>
@ -87,7 +85,6 @@ under the License.
</properties>
<build>
<outputDirectory>target/bin</outputDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
@ -95,10 +92,10 @@ under the License.
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>initialize</phase>
<configuration>
<outputFile>target/interpolated.properties</outputFile>
<expressions>
@ -109,6 +106,7 @@ under the License.
</executions>
</plugin>
</plugins>
<outputDirectory>target/bin</outputDirectory>
</build>
<reporting>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,14 +17,13 @@ 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.its.it0140</groupId>
<artifactId>parent</artifactId>
<version>1.0</version>
<groupId>org.apache.maven.its.it0140</groupId>
<artifactId>parent</artifactId>
<version>1.0</version>
</parent>
<groupId>org.apache.maven.its.it0140.child</groupId>
@ -87,7 +85,6 @@ under the License.
</properties>
<build>
<outputDirectory>target/bin</outputDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
@ -95,10 +92,10 @@ under the License.
<version>2.1-SNAPSHOT</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>initialize</phase>
<configuration>
<outputFile>target/interpolated.properties</outputFile>
<expressions>
@ -109,6 +106,7 @@ under the License.
</executions>
</plugin>
</plugins>
<outputDirectory>target/bin</outputDirectory>
</build>
<reporting>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,9 +26,7 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: it0144</name>
<description>
Test that the lifecycle phases execute in proper order.
</description>
<description>Test that the lifecycle phases execute in proper order.</description>
<build>
<plugins>
@ -42,10 +38,10 @@ under the License.
<!-- default lifecycle -->
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>validate</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>validate</string>
@ -53,10 +49,10 @@ under the License.
</execution>
<execution>
<id>initialize</id>
<phase>initialize</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>initialize</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>initialize</string>
@ -64,10 +60,10 @@ under the License.
</execution>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-sources</string>
@ -75,10 +71,10 @@ under the License.
</execution>
<execution>
<id>process-sources</id>
<phase>process-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-sources</string>
@ -86,10 +82,10 @@ under the License.
</execution>
<execution>
<id>generate-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-resources</string>
@ -97,10 +93,10 @@ under the License.
</execution>
<execution>
<id>process-resources</id>
<phase>process-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-resources</string>
@ -108,10 +104,10 @@ under the License.
</execution>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>compile</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>compile</string>
@ -119,10 +115,10 @@ under the License.
</execution>
<execution>
<id>process-classes</id>
<phase>process-classes</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-classes</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-classes</string>
@ -130,10 +126,10 @@ under the License.
</execution>
<execution>
<id>generate-test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>generate-test-sources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-test-sources</string>
@ -141,10 +137,10 @@ under the License.
</execution>
<execution>
<id>process-test-sources</id>
<phase>process-test-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-test-sources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-sources</string>
@ -152,10 +148,10 @@ under the License.
</execution>
<execution>
<id>generate-test-resources</id>
<phase>generate-test-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>generate-test-resources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-test-resources</string>
@ -163,10 +159,10 @@ under the License.
</execution>
<execution>
<id>process-test-resources</id>
<phase>process-test-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-test-resources</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-resources</string>
@ -174,10 +170,10 @@ under the License.
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>test-compile</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>test-compile</string>
@ -185,10 +181,10 @@ under the License.
</execution>
<execution>
<id>process-test-classes</id>
<phase>process-test-classes</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>process-test-classes</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-classes</string>
@ -196,10 +192,10 @@ under the License.
</execution>
<execution>
<id>test</id>
<phase>test</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>test</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>test</string>
@ -207,10 +203,10 @@ under the License.
</execution>
<execution>
<id>prepare-package</id>
<phase>prepare-package</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>prepare-package</string>
@ -218,10 +214,10 @@ under the License.
</execution>
<execution>
<id>package</id>
<phase>package</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>package</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>package</string>
@ -229,10 +225,10 @@ under the License.
</execution>
<execution>
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-integration-test</string>
@ -240,10 +236,10 @@ under the License.
</execution>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>integration-test</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>integration-test</string>
@ -251,10 +247,10 @@ under the License.
</execution>
<execution>
<id>post-integration-test</id>
<phase>post-integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>post-integration-test</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-integration-test</string>
@ -262,10 +258,10 @@ under the License.
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>verify</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>verify</string>
@ -273,10 +269,10 @@ under the License.
</execution>
<execution>
<id>install</id>
<phase>install</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>install</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>install</string>
@ -284,10 +280,10 @@ under the License.
</execution>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>deploy</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>deploy</string>
@ -296,10 +292,10 @@ under the License.
<!-- clean lifecycle -->
<execution>
<id>pre-clean</id>
<phase>pre-clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>pre-clean</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-clean</string>
@ -307,10 +303,10 @@ under the License.
</execution>
<execution>
<id>clean</id>
<phase>clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>clean</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>clean</string>
@ -318,10 +314,10 @@ under the License.
</execution>
<execution>
<id>post-clean</id>
<phase>post-clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>post-clean</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-clean</string>
@ -330,10 +326,10 @@ under the License.
<!-- site lifecycle -->
<execution>
<id>pre-site</id>
<phase>pre-site</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>pre-site</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-site</string>
@ -341,10 +337,10 @@ under the License.
</execution>
<execution>
<id>site</id>
<phase>site</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>site</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>site</string>
@ -352,10 +348,10 @@ under the License.
</execution>
<execution>
<id>post-site</id>
<phase>post-site</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>post-site</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-site</string>
@ -363,10 +359,10 @@ under the License.
</execution>
<execution>
<id>site-deploy</id>
<phase>site-deploy</phase>
<goals>
<goal>log-string</goal>
</goals>
<phase>site-deploy</phase>
<configuration>
<logFile>target/phases.log</logFile>
<string>site-deploy</string>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -27,10 +25,8 @@ under the License.
<version>0.1</version>
<name>Maven Integration Test :: it-0146</name>
<description>
Verify that download remote snapshot are correctly installed locally via Installer with timestamped name.
see issue related in this thread: http://mail-archives.apache.org/mod_mbox/maven-dev/201112.mbox/%3cCAPCjjnHjsQED0tzUztwWtQcSpYVN_k0-0Xq2B7QxTN5arZ-xzA@mail.gmail.com%3e
</description>
<description>Verify that download remote snapshot are correctly installed locally via Installer with timestamped name.
see issue related in this thread: http://mail-archives.apache.org/mod_mbox/maven-dev/201112.mbox/%3cCAPCjjnHjsQED0tzUztwWtQcSpYVN_k0-0Xq2B7QxTN5arZ-xzA@mail.gmail.com%3e</description>
<dependencies>
<dependency>
@ -49,10 +45,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>install-artifacts</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
@ -7,10 +8,14 @@
<packaging>pom</packaging>
<name>Maven Integration Test :: MNG-95</name>
<description>
Test reactor failure modes fail-fast, fail-at-end and fail-never by forcing an exception in the first module and
checking the build output of the other modules.
</description>
<description>Test reactor failure modes fail-fast, fail-at-end and fail-never by forcing an exception in the first module and
checking the build output of the other modules.</description>
<modules>
<module>subproject1</module>
<module>subproject2</module>
<module>subproject3</module>
</modules>
<build>
<pluginManagement>
@ -23,10 +28,4 @@
</plugins>
</pluginManagement>
</build>
<modules>
<module>subproject1</module>
<module>subproject2</module>
<module>subproject3</module>
</modules>
</project>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>pom</packaging>
<name>Maven Integration Test :: MNG-187</name>
<description>
Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.
</description>
<description>Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.</description>
<modules>
<module>sub-1</module>
@ -54,10 +50,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>pom</packaging>
<name>Maven Integration Test :: MNG-187 :: Sub-1</name>
<description>
Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.
</description>
<description>Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.</description>
<modules>
<module>sub-2</module>
@ -53,10 +49,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@ -18,7 +17,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
@ -28,10 +26,8 @@ under the License.
<packaging>jar</packaging>
<name>Maven Integration Test :: MNG-187 :: Sub-2</name>
<description>
Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.
</description>
<description>Verify that MavenProject.getCollectedProjects() provides access to the direct and indirect modules
of the current project.</description>
<build>
<plugins>
@ -48,10 +44,10 @@ under the License.
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<goals>
<goal>eval</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>

Some files were not shown because too many files have changed in this diff Show More