JENA-1118: bringing back the SDB distribution

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

Branch: refs/heads/JENA-507
Commit: f0217efdbd440529cb5259017a8168a345866020
Parents: ca5f09d
Author: Osma Suominen <[email protected]>
Authored: Fri Jan 15 10:08:14 2016 +0200
Committer: Osma Suominen <[email protected]>
Committed: Mon Jan 18 12:10:24 2016 +0200

----------------------------------------------------------------------
 jena-sdb/assembly.xml |  4 ++--
 jena-sdb/pom.xml      | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/f0217efd/jena-sdb/assembly.xml
----------------------------------------------------------------------
diff --git a/jena-sdb/assembly.xml b/jena-sdb/assembly.xml
index b6a4522..b1e4769 100644
--- a/jena-sdb/assembly.xml
+++ b/jena-sdb/assembly.xml
@@ -41,11 +41,11 @@
 
   <files>
     <file>
-      <source>dist/LICENSE</source>
+      <source>LICENSE</source>
       <destName>LICENSE</destName>
     </file>
     <file>
-      <source>dist/NOTICE</source>
+      <source>NOTICE</source>
       <destName>NOTICE</destName>
     </file>
   </files>

http://git-wip-us.apache.org/repos/asf/jena/blob/f0217efd/jena-sdb/pom.xml
----------------------------------------------------------------------
diff --git a/jena-sdb/pom.xml b/jena-sdb/pom.xml
index b5b70c1..b55afca 100644
--- a/jena-sdb/pom.xml
+++ b/jena-sdb/pom.xml
@@ -179,6 +179,27 @@
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+       <configuration>
+         <tarLongFileMode>gnu</tarLongFileMode>    
+       </configuration>
+        <executions>
+          <execution>
+            <id>create-distribution</id>
+            <phase>package</phase>
+            <goals><goal>single</goal></goals>
+           <configuration>
+             <descriptors>
+               <descriptor>assembly.xml</descriptor>
+             </descriptors>
+             <tarLongFileFormat>gnu</tarLongFileFormat>
+           </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <configuration>
           <encoding>UTF-8</encoding>

Reply via email to