maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject maven-integration-testing git commit: [MNG-6352] - Added IT's for print version output. [Forced Update!]
Date Sat, 17 Feb 2018 18:40:56 GMT
Repository: maven-integration-testing
Updated Branches:
  refs/heads/MNG-6352-print-version 4e9303cb9 -> 5b422f106 (forced update)


[MNG-6352] - Added IT's for print version output.


Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/5b422f10
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/5b422f10
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/5b422f10

Branch: refs/heads/MNG-6352-print-version
Commit: 5b422f1065942feaf8e2d19945b815c33b297e41
Parents: d2b9d89
Author: Karl Heinz Marbaise <khmarbaise@apache.org>
Authored: Sat Feb 17 19:26:30 2018 +0100
Committer: Karl Heinz Marbaise <khmarbaise@apache.org>
Committed: Sat Feb 17 19:39:05 2018 +0100

----------------------------------------------------------------------
 .../apache/maven/it/IntegrationTestSuite.java   |   1 +
 .../it/MavenITmng6352PrintVersionTest.java      | 158 +++++++++++++++++++
 .../module-1/pom.xml                            |  30 ++++
 .../module-2/pom.xml                            |  30 ++++
 .../module-3/pom.xml                            |  30 ++++
 .../mng-6352-print-version-aggregator/pom.xml   |  58 +++++++
 .../mng-6352-print-version/module-1/pom.xml     |  33 ++++
 .../mng-6352-print-version/module-2/pom.xml     |  41 +++++
 .../mng-6352-print-version/module-3/pom.xml     |  41 +++++
 .../resources/mng-6352-print-version/pom.xml    |  58 +++++++
 10 files changed, 480 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java b/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
index c8bced7..ca46e3a 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
@@ -702,6 +702,7 @@ public class IntegrationTestSuite
         suite.addTestSuite( MavenIT0009GoalConfigurationTest.class );
         suite.addTestSuite( MavenIT0008SimplePluginTest.class );
         suite.addTestSuite( MavenITmng6210CoreExtensionsCustomScopesTest.class );
+        suite.addTestSuite( MavenITmng6352PrintVersionTest.class );
 
         /*
          * Add tests in reverse alpha order above.

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6352PrintVersionTest.java
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6352PrintVersionTest.java
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6352PrintVersionTest.java
new file mode 100644
index 0000000..5359179
--- /dev/null
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6352PrintVersionTest.java
@@ -0,0 +1,158 @@
+package org.apache.maven.it;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+
+import java.io.File;
+import java.util.Arrays;
+import java.util.LinkedList;
+import java.util.List;
+
+/**
+ * An integration test to check the enhancements to print out version
+ * information during the reactor summary output at the correct
+ * positions.
+ *  
+ * <a href="https://issues.apache.org/jira/browse/MNG-6352">MNG-6352</a>.
+ * 
+ * @author Karl Heinz Marbaise khmarbaise@apache.org
+ */
+public class MavenITmng6352PrintVersionTest
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng6352PrintVersionTest()
+    {
+        super( "[3.5.3-SNAPSHOT,)" );
+    }
+
+    /**
+     * Check that the resulting output is
+     * as expected for the root module and last 
+     * module in build but not for the intermediate
+     * modules. 
+     */
+    public void testitShouldPrintVersionAtTopAndAtBottom()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-6352-print-version"
);
+
+        Verifier verifier = newVerifier( testDir.getAbsolutePath(), false );
+        verifier.setMavenDebug( false );
+        verifier.setAutoclean( false );
+        
+        verifier.setLogFileName( "version-log.txt" );
+        verifier.executeGoals( Arrays.asList( "clean" ) );
+        verifier.verifyErrorFreeLog();
+
+        List<String> loadedLines = verifier.loadLines( "version-log.txt", "UTF-8" );
+        List<String> resultingLines = extractReactorBuildOrder( loadedLines );
+
+        // We expecting exactly four lines as result.
+        assertEquals( 4, resultingLines.size() );
+
+        // We expect those lines in the following exact order.
+        assertTrue( resultingLines.get( 0 ).startsWith( "[INFO] base-project 1.3.0-SNAPSHOT
........................ SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 1 ).startsWith( "[INFO] module-1 ...........................................
SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 2 ).startsWith( "[INFO] module-2 ...........................................
SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 3 ).startsWith( "[INFO] module-3 1.3.0-SNAPSHOT ............................
SUCCESS [  " ) );
+        
+        verifier.resetStreams();
+    }
+
+    /**
+     * Check that the resulting output is
+     * as expected for all modules in case
+     * for an aggregator build. 
+     */
+    public void testitShouldPrintVersionInAllLines()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-6352-print-version-aggregator"
);
+
+        Verifier verifier = newVerifier( testDir.getAbsolutePath(), false );
+        verifier.setMavenDebug( false );
+        verifier.setAutoclean( false );
+        
+        verifier.setLogFileName( "version-log.txt" );
+        verifier.executeGoals( Arrays.asList( "clean" ) );
+        verifier.verifyErrorFreeLog();
+
+        List<String> loadedLines = verifier.loadLines( "version-log.txt", "UTF-8" );
+        List<String> resultingLines = extractReactorBuildOrder( loadedLines );
+
+        // We expecting exactly four lines as result.
+        assertEquals( 4, resultingLines.size() );
+
+        // We expect those lines in the following exact order.
+        assertTrue( resultingLines.get( 0 ).startsWith( "[INFO] module-1 1.2.7.43.RELEASE
.......................... SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 1 ).startsWith( "[INFO] module-2 7.5-SNAPSHOT ..............................
SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 2 ).startsWith( "[INFO] module-3 1-RC1 .....................................
SUCCESS [  " ) );
+        assertTrue( resultingLines.get( 3 ).startsWith( "[INFO] base-project 1.0.0-SNAPSHOT
........................ SUCCESS [  " ) );
+
+        verifier.resetStreams();
+    }
+
+    
+    /**
+     * Extract the lines at the beginning of the Maven output:
+     * 
+     * <pre>
+     * [INFO] Reactor Build Order:
+     * [INFO]
+     * [INFO] module-1
+     * [INFO] module-2
+     * [INFO] base-project
+     * [INFO]
+     * </pre>
+     */
+    private List<String> extractReactorBuildOrder( List<String> loadedLines )
+    {
+        List<String> resultingLines = new LinkedList<String>();
+        boolean start = false;
+        for ( String line : loadedLines )
+        {
+            if ( start )
+            {
+                if ( line.startsWith( "[INFO] -------------" ) )
+                {
+                    start = false;
+                }
+                else if ( !line.endsWith( "[INFO] " ) )
+                {
+                    resultingLines.add( line );
+                }
+            }
+            else
+            {
+                if ( line.startsWith( "[INFO] Reactor Build Order:" ) )
+                {
+                    start = true;
+                }
+
+            }
+        }
+        return resultingLines;
+
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-1/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-1/pom.xml
b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-1/pom.xml
new file mode 100644
index 0000000..f5cad17
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-1/pom.xml
@@ -0,0 +1,30 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+  <artifactId>module-1</artifactId>
+  <version>1.2.7.43.RELEASE</version>
+
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-2/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-2/pom.xml
b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-2/pom.xml
new file mode 100644
index 0000000..abc040e
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-2/pom.xml
@@ -0,0 +1,30 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+  <artifactId>module-2</artifactId>
+  <version>7.5-SNAPSHOT</version>
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-3/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-3/pom.xml
b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-3/pom.xml
new file mode 100644
index 0000000..b52cbec
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/module-3/pom.xml
@@ -0,0 +1,30 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+  <artifactId>module-3</artifactId>
+  <version>1-RC1</version>
+
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/pom.xml b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/pom.xml
new file mode 100644
index 0000000..e643563
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version-aggregator/pom.xml
@@ -0,0 +1,58 @@
+<?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
+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.
+-->
+
+<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>mng-6352-print-version</groupId>
+  <artifactId>base-project</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>module-1</module>
+    <module>module-2</module>
+    <module>module-3</module>
+  </modules>
+
+  <build>
+    <pluginManagement><!-- see bootstrap for plugins versions -->
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.5.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.0.2</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version/module-1/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version/module-1/pom.xml b/core-it-suite/src/test/resources/mng-6352-print-version/module-1/pom.xml
new file mode 100644
index 0000000..822f847
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version/module-1/pom.xml
@@ -0,0 +1,33 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+    <artifactId>base-project</artifactId>
+    <version>1.3.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>module-1</artifactId>
+
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version/module-2/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version/module-2/pom.xml b/core-it-suite/src/test/resources/mng-6352-print-version/module-2/pom.xml
new file mode 100644
index 0000000..1a04229
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version/module-2/pom.xml
@@ -0,0 +1,41 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+    <artifactId>base-project</artifactId>
+    <version>1.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>module-2</artifactId>
+
+  <dependencies>
+    <dependency>
+      <groupId>mng-6352-print-version</groupId>
+      <artifactId>module-1</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version/module-3/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version/module-3/pom.xml b/core-it-suite/src/test/resources/mng-6352-print-version/module-3/pom.xml
new file mode 100644
index 0000000..dfad8a2
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version/module-3/pom.xml
@@ -0,0 +1,41 @@
+<?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
+  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.
+-->
+
+<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>mng-6352-print-version</groupId>
+    <artifactId>base-project</artifactId>
+    <version>1.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>module-3</artifactId>
+
+  <dependencies>
+    <dependency>
+      <groupId>mng-6352-print-version</groupId>
+      <artifactId>module-2</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/5b422f10/core-it-suite/src/test/resources/mng-6352-print-version/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-6352-print-version/pom.xml b/core-it-suite/src/test/resources/mng-6352-print-version/pom.xml
new file mode 100644
index 0000000..db545d8
--- /dev/null
+++ b/core-it-suite/src/test/resources/mng-6352-print-version/pom.xml
@@ -0,0 +1,58 @@
+<?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
+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.
+-->
+
+<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>mng-6352-print-version</groupId>
+  <artifactId>base-project</artifactId>
+  <version>1.3.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>module-3</module>
+    <module>module-1</module>
+    <module>module-2</module>
+  </modules>
+
+  <build>
+    <pluginManagement><!-- see bootstrap for plugins versions -->
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.5.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.0.2</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>


Mime
View raw message