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

[sling-site] branch master updated (12a6a71 -> 0ae13a0)

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

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


    from 12a6a71  gitbox is the canonical repository
     new b8e83c1  git ignore
     new b6a8bdc  git ignore
     new 0ae13a0  Require a commit message for publishing the website

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                       |  1 +
 README.md                        |  2 +-
 pom.xml                          | 24 +++++++++++++++++++++++-
 src/main/jbake/assets/.gitignore |  2 +-
 4 files changed, 26 insertions(+), 3 deletions(-)

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

[sling-site] 01/03: git ignore

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b8e83c1b7424007c58f9990a43e616e52d597669
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Oct 11 13:04:07 2017 +0200

    git ignore
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 2d8030d..e3fbba5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ target
 # IDE settings
 .*
 !.gitignore
+.DS_Store

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

[sling-site] 03/03: Require a commit message for publishing the website

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0ae13a048178fa68c50870a4054e81048517f054
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Oct 11 13:05:52 2017 +0200

    Require a commit message for publishing the website
---
 README.md |  2 +-
 pom.xml   | 24 +++++++++++++++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4370479..cb8de74 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Clone this repository and run the below commands or equivalent:
 	mvn clean package
 
     # deploy the site
-    mvn clean package -Ppublish-site
+    mvn clean package -Ppublish-site -Dmsg="<describe your changes>"
 
 The [ASF's gitpubsub mechanism](https://blogs.apache.org/infra/entry/git_based_websites_available) then synchronizes that content to http://sling.apache.org , usually within a few seconds.
 
diff --git a/pom.xml b/pom.xml
index 4f92da5..74e22d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,11 +105,33 @@
         <extensions>true</extensions>
         <configuration>
             <content>target/${project.artifactId}-${project.version}</content>
-            <checkinComment>Automatic publish of sling site</checkinComment>
+            <checkinComment>${msg}</checkinComment>
             <pubScmUrl>scm:git:https://gitbox.apache.org/repos/asf/sling-site.git</pubScmUrl>
             <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>
 

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

[sling-site] 02/03: git ignore

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b6a8bdc74b8484c56efd8883c1ba4098609f3712
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Oct 11 13:04:17 2017 +0200

    git ignore
---
 src/main/jbake/assets/.gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/assets/.gitignore b/src/main/jbake/assets/.gitignore
index 12f9706..310abf0 100644
--- a/src/main/jbake/assets/.gitignore
+++ b/src/main/jbake/assets/.gitignore
@@ -1,4 +1,4 @@
-# JBake folders
 output
 cache
 target
+.DS_Store

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