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

[3/4] jena git commit: JENA-1525: Automatic module name for jena-iri

JENA-1525: Automatic module name for jena-iri


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

Branch: refs/heads/master
Commit: ea336dff9364c8928b81f960beeee86843b4f8e7
Parents: f5cd5b0
Author: Andy Seaborne <an...@apache.org>
Authored: Wed Apr 18 16:23:31 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Wed Apr 18 16:44:14 2018 +0100

----------------------------------------------------------------------
 jena-iri/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/ea336dff/jena-iri/pom.xml
----------------------------------------------------------------------
diff --git a/jena-iri/pom.xml b/jena-iri/pom.xml
index be13d02..b659439 100644
--- a/jena-iri/pom.xml
+++ b/jena-iri/pom.xml
@@ -35,6 +35,10 @@
     The IRI module provides an implementation of the IRI and URI specifications (RFC 3987 and 3986) which are used across Jena in order to comply with relevant W3C specifications for RDF and SPARQL which require conformance to these specifications.
   </description>
 
+  <properties>
+    <automatic.module.name>org.apache.jena.iri</automatic.module.name>
+  </properties>
+
   <dependencies>
 
     <dependency>
@@ -65,6 +69,18 @@
 
       <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-source-plugin</artifactId>
         <executions> 
           <execution>