This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MENFORCER-268-ci-friendly
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git

commit 3dff25a90b5da509c45fa580701d68a90a8b2a47
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Sat Jan 6 15:26:47 2018 +0100

    Added invoker IT's to check ci friendly setup.
---
 .../require-no-repositories_mm_ci/child/pom.xml    | 33 ++++++++++++
 .../invoker.properties                             | 18 +++++++
 .../projects/require-no-repositories_mm_ci/pom.xml | 63 ++++++++++++++++++++++
 3 files changed, 114 insertions(+)

diff --git 
a/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/child/pom.xml
 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/child/pom.xml
new file mode 100644
index 0000000..40ed3e6
--- /dev/null
+++ 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/child/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>
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.maven.its.enforcer</groupId>
+    <artifactId>test</artifactId>
+    <version>${revision}</version>
+  </parent>
+
+  <artifactId>child</artifactId>
+
+</project>
diff --git 
a/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/invoker.properties
 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/invoker.properties
new file mode 100644
index 0000000..1c82ab6
--- /dev/null
+++ 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/invoker.properties
@@ -0,0 +1,18 @@
+# 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.
+
+invoker.maven.version = 3.5.0+
\ No newline at end of file
diff --git 
a/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/pom.xml 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/pom.xml
new file mode 100644
index 0000000..2ab44fa
--- /dev/null
+++ 
b/maven-enforcer-plugin/src/it/projects/require-no-repositories_mm_ci/pom.xml
@@ -0,0 +1,63 @@
+<?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>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.enforcer</groupId>
+  <artifactId>test</artifactId>
+  <version>${revision}</version>
+  <packaging>pom</packaging>
+
+  <properties>
+    <revision>1.0-SNAPSHOT</revision>
+  </properties>
+  <modules>
+    <module>child</module>
+  </modules>
+  <description>
+    This IT demonstrates the use of properties for the versions.
+  </description>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>@project.version@</version>
+        <executions>
+          <execution>
+            <id>test</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireNoRepositories>
+                </requireNoRepositories>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to