You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/10/12 12:22:27 UTC

[sling-site] branch master updated: only require msg property if profile for publishing is used

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 <kw...@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" <co...@sling.apache.org>'].