You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/03/16 14:34:35 UTC

[2/2] logging-chainsaw git commit: Add snapshots repo in maven profile

Add snapshots repo in maven profile


Project: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/commit/c13e5fd1
Tree: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/tree/c13e5fd1
Diff: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/diff/c13e5fd1

Branch: refs/heads/master
Commit: c13e5fd1afc26183fcf972cd369b3c46c05e0dbd
Parents: 446bb86
Author: Matt Sicker <bo...@gmail.com>
Authored: Fri Mar 16 09:33:56 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Fri Mar 16 09:34:20 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile |  4 ++--
 pom.xml     | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/c13e5fd1/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 81af245..75017cb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,8 +27,8 @@ pipeline {
             steps {
                 withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3 (latest)') {
                     ansiColor('xterm') {
-                        sh 'mvn site:site'
-                        sh 'mvn package'
+                        sh 'mvn -Pdevelopment site:site'
+                        sh 'mvn -Pdevelopment package'
                     }
                 }
                 junit '**/target/surefire-reports/*.xml'

http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/c13e5fd1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9ba4c32..485e7b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -515,6 +515,7 @@
         <javadoc.opts>-Xdoclint:none</javadoc.opts>
       </properties>
     </profile>
+
     <profile>
       <id>mac</id>
       <activation>
@@ -550,6 +551,20 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>development</id>
+      <repositories>
+        <repository>
+          <id>apache.snapshots</id>
+          <name>Apache Snapshot Repository</name>
+          <url>https://repository.apache.org/snapshots</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+        </repository>
+      </repositories>
+    </profile>
   </profiles>
 </project>