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/15 11:29:38 UTC
svn commit: r1398229 - in /jena/Scratch/Eyeball/trunk: assembly-eyeball.xml
pom.xml
Author: chrisdollin
Date: Mon Oct 15 09:29:37 2012
New Revision: 1398229
URL: http://svn.apache.org/viewvc?rev=1398229&view=rev
Log:
Builds self-starting exec jar.
Modified:
jena/Scratch/Eyeball/trunk/assembly-eyeball.xml
jena/Scratch/Eyeball/trunk/pom.xml
Modified: jena/Scratch/Eyeball/trunk/assembly-eyeball.xml
URL: http://svn.apache.org/viewvc/jena/Scratch/Eyeball/trunk/assembly-eyeball.xml?rev=1398229&r1=1398228&r2=1398229&view=diff
==============================================================================
--- jena/Scratch/Eyeball/trunk/assembly-eyeball.xml (original)
+++ jena/Scratch/Eyeball/trunk/assembly-eyeball.xml Mon Oct 15 09:29:37 2012
@@ -16,16 +16,21 @@
limitations under the License.
-->
-<!--
+<!--
+Addy said:
+
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
+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>
+ <id>exec</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
@@ -34,10 +39,5 @@ just want -jar-with-dependences to by re
<scope>runtime</scope>
</dependencySet>
</dependencySets>
-
- <fileSets>
- <fileSet>
- <directory>mirror</directory>
- </fileSet>
- </fileSets>
</assembly>
+
Modified: jena/Scratch/Eyeball/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jena/Scratch/Eyeball/trunk/pom.xml?rev=1398229&r1=1398228&r2=1398229&view=diff
==============================================================================
--- jena/Scratch/Eyeball/trunk/pom.xml (original)
+++ jena/Scratch/Eyeball/trunk/pom.xml Mon Oct 15 09:29:37 2012
@@ -12,65 +12,101 @@
<description>Eyeball -- an RDF lint</description>
<build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ <optimize>true</optimize>
+ <debug>true</debug>
+ <debuglevel>source,lines,vars</debuglevel>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <version>true</version>
+ <show>public</show>
+ <quiet>true</quiet>
+ <encoding>UTF-8</encoding>
+ <windowtitle>Eyeball</windowtitle>
+ <doctitle>Eyeball ${project.version}</doctitle>
+ </configuration>
+ </plugin>
+
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.9</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ </configuration>
+ </plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.3</version>
+
<executions>
+
<execution>
- <id>create-server-assembly</id>
+ <id>create-exec-assembly</id>
<phase>package</phase>
<goals><goal>single</goal></goals>
<configuration>
- <descriptors>
- <descriptor>assembly-eyeball.xml</descriptor>
- </descriptors>
<archive>
<manifest>
<mainClass>jena.eyeball</mainClass>
</manifest>
</archive>
+ <descriptors>
+ <descriptor>assembly-eyeball.xml</descriptor>
+ </descriptors>
</configuration>
</execution>
+
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
</plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <encoding>UTF-8</encoding>
- </configuration>
-
- </plugin>
- </plugins>
+
+ </plugins>
</build>