You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/09/29 17:22:07 UTC

jena git commit: JENA-1397: Common production of sources and test jars

Repository: jena
Updated Branches:
  refs/heads/jena-tdb2 fd89306cb -> 276bf8892


JENA-1397: Common production of sources and test jars


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

Branch: refs/heads/jena-tdb2
Commit: 276bf8892d3f30a108251ee314c41ee13ae1d9c7
Parents: fd89306
Author: Andy Seaborne <an...@apache.org>
Authored: Fri Sep 29 18:21:56 2017 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Fri Sep 29 18:21:56 2017 +0100

----------------------------------------------------------------------
 jena-db/jena-fuseki-tdb2/pom.xml | 13 -------------
 jena-db/jena-tdb2-cmds/pom.xml   | 14 --------------
 jena-db/jena-tdb2/pom.xml        | 16 ----------------
 jena-db/pom.xml                  | 36 +++++++++++++++++++++++++++++++++++
 4 files changed, 36 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/276bf889/jena-db/jena-fuseki-tdb2/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/jena-fuseki-tdb2/pom.xml b/jena-db/jena-fuseki-tdb2/pom.xml
index b6a8fcd..74d1dd9 100644
--- a/jena-db/jena-fuseki-tdb2/pom.xml
+++ b/jena-db/jena-fuseki-tdb2/pom.xml
@@ -109,19 +109,6 @@
         </executions>
       </plugin>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <goals>
-              <goal>jar-no-fork</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
     </plugins>
 
   </build>

http://git-wip-us.apache.org/repos/asf/jena/blob/276bf889/jena-db/jena-tdb2-cmds/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/jena-tdb2-cmds/pom.xml b/jena-db/jena-tdb2-cmds/pom.xml
index 0b12fea..e715f95 100644
--- a/jena-db/jena-tdb2-cmds/pom.xml
+++ b/jena-db/jena-tdb2-cmds/pom.xml
@@ -68,20 +68,6 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <!-- <phase>package</phase> package is the default -->
-            <goals>
-              <goal>jar-no-fork</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
         <configuration>
           <shadedArtifactAttached>false</shadedArtifactAttached>

http://git-wip-us.apache.org/repos/asf/jena/blob/276bf889/jena-db/jena-tdb2/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/jena-tdb2/pom.xml b/jena-db/jena-tdb2/pom.xml
index 71dbeb5..940ca9c 100644
--- a/jena-db/jena-tdb2/pom.xml
+++ b/jena-db/jena-tdb2/pom.xml
@@ -65,20 +65,4 @@
 
   </dependencies>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  
 </project>

http://git-wip-us.apache.org/repos/asf/jena/blob/276bf889/jena-db/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/pom.xml b/jena-db/pom.xml
index 853aef7..dae8cff 100644
--- a/jena-db/pom.xml
+++ b/jena-db/pom.xml
@@ -71,5 +71,41 @@
     </dependency>
 
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <!-- <phase>package</phase> package is the default -->
+            <goals>
+              <goal>jar-no-fork</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>attach-sources-test</id>
+            <goals>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
   
 </project>