You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ch...@apache.org on 2012/10/11 17:35:17 UTC

svn commit: r1397111 - in /jena/Scratch/Eyeball/trunk: assembly-eyeball.xml pom.xml

Author: chrisdollin
Date: Thu Oct 11 15:35:17 2012
New Revision: 1397111

URL: http://svn.apache.org/viewvc?rev=1397111&view=rev
Log:
Adding an assembly (in an attempt to) copy mirror files into the uberjar.

Added:
    jena/Scratch/Eyeball/trunk/assembly-eyeball.xml
Modified:
    jena/Scratch/Eyeball/trunk/pom.xml

Added: jena/Scratch/Eyeball/trunk/assembly-eyeball.xml
URL: http://svn.apache.org/viewvc/jena/Scratch/Eyeball/trunk/assembly-eyeball.xml?rev=1397111&view=auto
==============================================================================
--- jena/Scratch/Eyeball/trunk/assembly-eyeball.xml (added)
+++ jena/Scratch/Eyeball/trunk/assembly-eyeball.xml Thu Oct 11 15:35:17 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!-- 
+I'd rather use the builtin one but I can't find how to control the name from the POM :
+just want -jar-with-dependences to by replaced by -sys as  classifier 
+-->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+  <id>eyeball</id>
+  <formats> <format>jar</format> </formats>
+
+  <includeBaseDirectory>false</includeBaseDirectory>
+  
+  <dependencySets>
+    <dependencySet>
+      <useProjectArtifact>true</useProjectArtifact>
+      <unpack>true</unpack>
+      <scope>runtime</scope>
+    </dependencySet>
+  </dependencySets>
+  
+  <fileSets>
+    <fileSet>
+        <includes> <include>mirror/**</include> </includes>
+    </fileSet>
+  </fileSets>
+</assembly>

Modified: jena/Scratch/Eyeball/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jena/Scratch/Eyeball/trunk/pom.xml?rev=1397111&r1=1397110&r2=1397111&view=diff
==============================================================================
--- jena/Scratch/Eyeball/trunk/pom.xml (original)
+++ jena/Scratch/Eyeball/trunk/pom.xml Thu Oct 11 15:35:17 2012
@@ -31,7 +31,9 @@
             <phase>package</phase>
             <goals><goal>single</goal></goals>
             <configuration>
-                 <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs>
+                <descriptors>
+                    <descriptor>assembly-eyeball.xml</descriptor>
+                </descriptors>
               <archive>
                 <manifest>
                   <mainClass>jena.eyeball</mainClass>