jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject [01/15] jspwiki git commit: Fixed JSPWIKI-843 - generate test-jar for jspwiki-war (wasn't being generated)
Date Sun, 03 Dec 2017 18:56:53 GMT
Repository: jspwiki
Updated Branches:
  refs/heads/master 5d14e2ca6 -> 719a1a1e3


Fixed JSPWIKI-843 - generate test-jar for jspwiki-war (wasn't being generated)


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

Branch: refs/heads/master
Commit: b9173165be8fd31f623b72e79d9b392feef9d66b
Parents: 5d14e2c
Author: juanpablo <juanpablo@apache.org>
Authored: Sun Dec 3 01:03:20 2017 +0100
Committer: juanpablo <juanpablo@apache.org>
Committed: Sun Dec 3 01:03:20 2017 +0100

----------------------------------------------------------------------
 jspwiki-war/pom.xml | 17 +++++++++++++++++
 pom.xml             |  9 +--------
 2 files changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jspwiki/blob/b9173165/jspwiki-war/pom.xml
----------------------------------------------------------------------
diff --git a/jspwiki-war/pom.xml b/jspwiki-war/pom.xml
index a5f57e1..74d3a15 100644
--- a/jspwiki-war/pom.xml
+++ b/jspwiki-war/pom.xml
@@ -207,6 +207,23 @@
           <path>/${project.build.finalName}</path>
         </configuration>
       </plugin>
+      
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <excludes>
+                <exclude>**/test*/**</exclude>
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
 
       <!-- Surefire plugin (running unit tests):
          http://maven.apache.org/surefire/maven-surefire-plugin/

http://git-wip-us.apache.org/repos/asf/jspwiki/blob/b9173165/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 42890dd..8d59078 100644
--- a/pom.xml
+++ b/pom.xml
@@ -359,7 +359,7 @@
 
         <plugin>
           <artifactId>maven-jar-plugin</artifactId>
-          <version>2.6</version>
+          <version>3.0.2</version>
           <configuration>
             <archive>
               <manifest>
@@ -371,13 +371,6 @@
               </manifestEntries>
             </archive>
           </configuration>
-          <executions>
-            <execution>
-              <goals>
-                <goal>test-jar</goal>
-              </goals>
-            </execution>
-          </executions>
         </plugin>
 
         <plugin>


Mime
View raw message