You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2013/03/21 13:39:56 UTC

svn commit: r1459268 - in /stanbol/trunk/entityhub/indexing: dblp/pom.xml dblp/src/main/assembly/ dbpedia/pom.xml dbpedia/src/main/assembly/ genericrdf/pom.xml genericrdf/src/main/assembly/

Author: rwesten
Date: Thu Mar 21 12:39:56 2013
New Revision: 1459268

URL: http://svn.apache.org/r1459268
Log:
STANBOL-991: updates pom.xml files to create correct runable jars

Removed:
    stanbol/trunk/entityhub/indexing/dblp/src/main/assembly/
    stanbol/trunk/entityhub/indexing/dbpedia/src/main/assembly/
    stanbol/trunk/entityhub/indexing/genericrdf/src/main/assembly/
Modified:
    stanbol/trunk/entityhub/indexing/dblp/pom.xml
    stanbol/trunk/entityhub/indexing/dbpedia/pom.xml
    stanbol/trunk/entityhub/indexing/genericrdf/pom.xml

Modified: stanbol/trunk/entityhub/indexing/dblp/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/dblp/pom.xml?rev=1459268&r1=1459267&r2=1459268&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/dblp/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/dblp/pom.xml Thu Mar 21 12:39:56 2013
@@ -56,24 +56,35 @@
   <build>
     <plugins>
       <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.2</version>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
         <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/assembly.xml</descriptor>
-          </descriptors>
           <archive>
             <manifest>
+              <addClasspath>true</addClasspath>
               <mainClass>org.apache.stanbol.entityhub.indexing.Main</mainClass>
             </manifest>
           </archive>
         </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <configuration>
+            <artifactSet>
+              <includes>
+                <include>*</include>
+              </includes>
+            </artifactSet>
+            <transformers>
+              <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+            </transformers>
+          </configuration>
         <executions>
           <execution>
-            <id>make-assembly</id> <!-- this is used for inheritance merges -->
-            <phase>package</phase> <!-- bind to the packaging phase -->
+            <phase>package</phase>
             <goals>
-              <!-- goal>single</goal -->
+              <goal>shade</goal>
             </goals>
           </execution>
         </executions>

Modified: stanbol/trunk/entityhub/indexing/dbpedia/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/dbpedia/pom.xml?rev=1459268&r1=1459267&r2=1459268&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/dbpedia/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/dbpedia/pom.xml Thu Mar 21 12:39:56 2013
@@ -53,24 +53,35 @@
   <build>
     <plugins>
       <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.2</version>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
         <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/assembly.xml</descriptor>
-          </descriptors>
           <archive>
             <manifest>
+              <addClasspath>true</addClasspath>
               <mainClass>org.apache.stanbol.entityhub.indexing.Main</mainClass>
             </manifest>
           </archive>
         </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <configuration>
+            <artifactSet>
+              <includes>
+                <include>*</include>
+              </includes>
+            </artifactSet>
+            <transformers>
+              <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+            </transformers>
+          </configuration>
         <executions>
           <execution>
-            <id>make-assembly</id> <!-- this is used for inheritance merges -->
-            <phase>package</phase> <!-- bind to the packaging phase -->
+            <phase>package</phase>
             <goals>
-              <!-- goal>single</goal -->
+              <goal>shade</goal>
             </goals>
           </execution>
         </executions>

Modified: stanbol/trunk/entityhub/indexing/genericrdf/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/genericrdf/pom.xml?rev=1459268&r1=1459267&r2=1459268&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/genericrdf/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/genericrdf/pom.xml Thu Mar 21 12:39:56 2013
@@ -56,28 +56,38 @@
   <build>
     <plugins>
       <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.2</version>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
         <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/assembly.xml</descriptor>
-          </descriptors>
           <archive>
             <manifest>
-                <addClasspath>true</addClasspath>
+              <addClasspath>true</addClasspath>
               <mainClass>org.apache.stanbol.entityhub.indexing.Main</mainClass>
             </manifest>
           </archive>
         </configuration>
-<!--        <executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <configuration>
+            <artifactSet>
+              <includes>
+                <include>*</include>
+              </includes>
+            </artifactSet>
+            <transformers>
+              <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+            </transformers>
+          </configuration>
+        <executions>
           <execution>
-            <id>make-assembly</id>
             <phase>package</phase>
             <goals>
-              <goal>single</goal>
+              <goal>shade</goal>
             </goals>
           </execution>
-        </executions>  -->
+        </executions>
       </plugin>
     </plugins>
   </build>