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:34 UTC

[1/2] logging-chainsaw git commit: Use maven properties to define java version

Repository: logging-chainsaw
Updated Branches:
  refs/heads/master 71907f3e1 -> c13e5fd1a


Use maven properties to define java version


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

Branch: refs/heads/master
Commit: 446bb867d6f32f8d2c6ff689d4e7e9c224278b52
Parents: 71907f3
Author: Matt Sicker <bo...@gmail.com>
Authored: Fri Mar 16 09:30:39 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Fri Mar 16 09:31:51 2018 -0500

----------------------------------------------------------------------
 pom.xml | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/446bb867/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cfa3d55..9ba4c32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,10 +30,12 @@
   <description>Graphical Viewer for Logging events from a local or remote log4j event system.</description>
   <url>https://logging.apache.org/chainsaw</url>
   <inceptionYear>2002</inceptionYear>
+
   <issueManagement>
     <system>JIRA</system>
     <url>https://issues.apache.org/jira/browse/CHAINSAW</url>
   </issueManagement>
+
   <mailingLists>
     <mailingList>
       <name>log4j-user</name>
@@ -65,6 +67,7 @@
       <archive>http://mail-archives.apache.org/mod_mbox/logging-commits/</archive>
     </mailingList>
   </mailingLists>
+
   <developers>
     <developer>
       <id>mwomack</id>
@@ -97,6 +100,7 @@
       <name>Isuru Suriarachchi</name>
     </contributor>
   </contributors>
+
   <licenses>
     <license>
       <name>Apache License, Version 2.0</name>
@@ -104,15 +108,19 @@
       <distribution>repo</distribution>
     </license>
   </licenses>
+
   <scm>
     <connection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-chainsaw.git</connection>
     <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-chainsaw.git</developerConnection>
     <url>https://git-wip-us.apache.org/repos/asf?p=logging-chainsaw.git</url>
   </scm>
-  <organization>
-    <name>Apache Software Foundation</name>
-    <url>https://www.apache.org</url>
-  </organization>
+
+  <properties>
+    <chainsaw.mainclass>org.apache.log4j.chainsaw.LogUI</chainsaw.mainclass>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
@@ -133,10 +141,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -361,6 +365,7 @@
       </plugin>
     </plugins>
   </build>
+
   <dependencies>
     <dependency>
       <groupId>log4j</groupId>
@@ -430,6 +435,7 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
+
   <reporting>
     <excludeDefaults>true</excludeDefaults>
     <plugins>
@@ -490,6 +496,7 @@
       </plugin>
     </plugins>
   </reporting>
+
   <distributionManagement>
     <downloadUrl>https://logging.apache.org/log4j/chainsaw/download.html</downloadUrl>
     <site>
@@ -497,9 +504,7 @@
       <url>scp://www.example.com/www/docs/project/</url>
     </site>
   </distributionManagement>
-  <properties>
-    <chainsaw.mainclass>org.apache.log4j.chainsaw.LogUI</chainsaw.mainclass>
-  </properties>
+
   <profiles>
     <profile>
       <id>java8-doclint-disabled</id>


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

Posted by ma...@apache.org.
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>