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

[sling-maven-sling-plugin] 01/01: try to switch maven-scm-publish-plugin to git

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

sseifert pushed a commit to branch feature/maven-scm-publish-plugin-git
in repository https://gitbox.apache.org/repos/asf/sling-maven-sling-plugin.git

commit e6c9cee238094422064e6113f29d039571810641
Author: sseifert <ss...@pro-vision.de>
AuthorDate: Fri Dec 8 13:02:22 2017 +0100

    try to switch maven-scm-publish-plugin to git
---
 pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3af8183..d6d46cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
     <distributionManagement>
         <site>
             <id>apache.website</id>
-            <url>https://gitbox.apache.org/repos/asf?p=sling-maven-sling-plugin.git</url>
+            <url>scm:git:https://gitbox.apache.org/repos/asf/sling-site.git</url>
         </site>
     </distributionManagement>
 
@@ -82,6 +82,15 @@
                 <configuration>
                     <checkoutDirectory>${user.home}/maven-sites/${maven.site.path}</checkoutDirectory>
                     <tryUpdate>true</tryUpdate>
+                    <skipDeletedFiles>true</skipDeletedFiles>
+                    <content>${project.build.directory}/staging</content>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <configuration>
+                    <stagingDirectory>${project.build.directory}/staging/src/main/jbake/assets/components/${maven.site.path}</stagingDirectory>
                 </configuration>
             </plugin>
             <plugin>

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