Revision: 5899
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=5899&view=rev
Author: manningr
Date: 2010-09-19 21:44:43 +0000 (Sun, 19 Sep 2010)
Log Message:
-----------
Use the newer maven-jar-plugin version (2.3.1) which supports customizing the META-INF/MANIFEST.MF that is included in jar files. Enhanced the squirrel-sql.jar manifest to include the classpath with lib/*.jar and the splash image (icons/splash.jpg).
Modified Paths:
--------------
trunk/sql12/app/pom.xml
trunk/sql12/pom.xml
Modified: trunk/sql12/app/pom.xml
===================================================================
--- trunk/sql12/app/pom.xml 2010-09-19 20:20:38 UTC (rev 5898)
+++ trunk/sql12/app/pom.xml 2010-09-19 21:44:43 UTC (rev 5899)
@@ -13,7 +13,8 @@
<name>SQuirreL Main Application Jar</name>
<description>
- This is the jar that contains the main application classes which are very specific to SQuirreLSQL.
+ This is the jar that contains the main application classes which are very specific to
+ SQuirreLSQL.
</description>
<inceptionYear>2001</inceptionYear>
<developers>
@@ -160,8 +161,23 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar-plugin-version}</version>
+ <configuration>
+ <archive>
+ <index>true</index>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <mainClass>net.sourceforge.squirrel_sql.client.Main</mainClass>
+ <classpathPrefix>lib/</classpathPrefix>
+ </manifest>
+ <manifestEntries>
+ <Built-By>SQuirreL Development Team</Built-By>
+ <SplashScreen-Image>icons/splash.jpg</SplashScreen-Image>
+ </manifestEntries>
+ </archive>
+ </configuration>
<executions>
<execution>
+ <id>test-jar</id>
<goals>
<goal>test-jar</goal>
</goals>
Modified: trunk/sql12/pom.xml
===================================================================
--- trunk/sql12/pom.xml 2010-09-19 20:20:38 UTC (rev 5898)
+++ trunk/sql12/pom.xml 2010-09-19 21:44:43 UTC (rev 5899)
@@ -73,7 +73,7 @@
<gpg-plugin-version>1.1</gpg-plugin-version>
<javac-source-version>1.6</javac-source-version>
<javac-target-version>1.6</javac-target-version>
- <jar-plugin-version>2.2</jar-plugin-version>
+ <jar-plugin-version>2.3.1</jar-plugin-version>
<javadoc-plugin-version>2.6</javadoc-plugin-version>
<maven-plugin-api-version>2.0</maven-plugin-api-version>
<pmd-plugin-version>2.4</pmd-plugin-version>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|