sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [sling-site] branch master updated: only require msg property if profile for publishing is used
Date Thu, 12 Oct 2017 12:22:27 GMT
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b01ec4  only require msg property if profile for publishing is used
0b01ec4 is described below

commit 0b01ec43d1af8e29d4e84e72519803d1774c2787
Author: Konrad Windszus <kwin@apache.org>
AuthorDate: Thu Oct 12 14:22:23 2017 +0200

    only require msg property if profile for publishing is used
---
 pom.xml | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/pom.xml b/pom.xml
index 74e22d5..b98758a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,28 +110,6 @@
             <scmBranch>asf-site</scmBranch>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-enforcer-plugin</artifactId>
-        <version>3.0.0-M1</version>
-        <executions>
-          <execution>
-            <id>enforce-property</id>
-            <goals>
-              <goal>enforce</goal>
-            </goals>
-            <configuration>
-              <rules>
-                <requireProperty>
-                  <property>msg</property>
-                  <message>Please specify a commit message for publishing the website
(-Dmsg="...")</message>
-                </requireProperty>
-              </rules>
-              <fail>true</fail>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 
@@ -142,6 +120,28 @@
                 <plugins>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-enforcer-plugin</artifactId>
+                        <version>3.0.0-M1</version>
+                        <executions>
+                          <execution>
+                            <id>enforce-property</id>
+                            <goals>
+                              <goal>enforce</goal>
+                            </goals>
+                            <configuration>
+                              <rules>
+                                <requireProperty>
+                                  <property>msg</property>
+                                  <message>Please specify a commit message for publishing
the website (-Dmsg="...")</message>
+                                </requireProperty>
+                              </rules>
+                              <fail>true</fail>
+                            </configuration>
+                          </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-scm-publish-plugin</artifactId>
                         <executions>
                             <execution>

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <commits@sling.apache.org>'].

Mime
View raw message