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 2018/04/18 15:44:51 UTC

[4/4] jena git commit: JENA-1525: Default module name o.a.j.jena-dboe; own name for TDB2

JENA-1525: Default module name o.a.j.jena-dboe; own name for TDB2


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

Branch: refs/heads/master
Commit: 58a942b24d35e245841a1007efb70e4b308e89be
Parents: ea336df
Author: Andy Seaborne <an...@apache.org>
Authored: Wed Apr 18 16:44:37 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Wed Apr 18 16:44:37 2018 +0100

----------------------------------------------------------------------
 jena-db/jena-tdb2/pom.xml | 21 ++++++++++++++++++++-
 jena-db/pom.xml           |  5 ++++-
 2 files changed, 24 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/58a942b2/jena-db/jena-tdb2/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/jena-tdb2/pom.xml b/jena-db/jena-tdb2/pom.xml
index 5e85252..1f61961 100644
--- a/jena-db/jena-tdb2/pom.xml
+++ b/jena-db/jena-tdb2/pom.xml
@@ -31,6 +31,11 @@
     <version>3.8.0-SNAPSHOT</version>
   </parent> 
 
+  <properties>
+    <automatic.module.name>org.apache.jena.tdb2</automatic.module.name>
+  </properties>
+
+
   <dependencies>
 
     <dependency>
@@ -66,7 +71,20 @@
   </dependencies>
 
   <build>
-    <plugins>
+    <plugins> 
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
@@ -76,6 +94,7 @@
           </includes>
         </configuration>
       </plugin>
+
     </plugins>
   </build>
 

http://git-wip-us.apache.org/repos/asf/jena/blob/58a942b2/jena-db/pom.xml
----------------------------------------------------------------------
diff --git a/jena-db/pom.xml b/jena-db/pom.xml
index 363d2a9..694c8c9 100644
--- a/jena-db/pom.xml
+++ b/jena-db/pom.xml
@@ -34,7 +34,10 @@
   </parent>
 
   <properties>
-    <automatic.module.name>org.apache.jena.db</automatic.module.name>
+    <!-- Default module name : override in a specific POM if not part of the "dboe" module.
+         e.g. jena-tdb2.
+    -->
+    <automatic.module.name>org.apache.jena.dboe</automatic.module.name>
   </properties>
 
   <licenses>