Revision: 5675
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=5675&view=rev
Author: manningr
Date: 2010-07-10 19:39:56 +0000 (Sat, 10 Jul 2010)
Log Message:
-----------
Added squirrelsql version plugin in case this project is built independently, and not part of a reactor build starting from the root pom.
Modified Paths:
--------------
trunk/mavenize/update-site/squirrelsql-update-site/pom.xml
Modified: trunk/mavenize/update-site/squirrelsql-update-site/pom.xml
===================================================================
--- trunk/mavenize/update-site/squirrelsql-update-site/pom.xml 2010-07-10 19:38:45 UTC (rev 5674)
+++ trunk/mavenize/update-site/squirrelsql-update-site/pom.xml 2010-07-10 19:39:56 UTC (rev 5675)
@@ -1,453 +1,442 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>net.sf.squirrel-sql</groupId>
- <artifactId>squirrel-root-pom</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- </parent>
-
- <groupId>net.sf.squirrel-sql</groupId>
- <artifactId>squirrelsql-update-site</artifactId>
- <version>3.2.0-SNAPSHOT</version>
-
- <packaging>jar</packaging>
-
- <name>SQuirreLSQL Update Site Project</name>
- <description>
+<project
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>net.sf.squirrel-sql</groupId>
+ <artifactId>squirrel-root-pom</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <groupId>net.sf.squirrel-sql</groupId>
+ <artifactId>squirrelsql-update-site</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>SQuirreLSQL Update Site Project</name>
+ <description>
This project is used to assemble the jars that produce the update site, and
run the update site plugin to generate the release.xml file. Finally, this
project can be used to deploy the update site to www.squirrel-sql.net
</description>
- <inceptionYear>2001</inceptionYear>
- <developers>
- <developer>
- <name>Gerd Wagner</name>
- <roles>
- <role>Administrator</role>
- <role>Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Rob Manning</name>
- <roles>
- <role>Developer</role>
- <role>Release Manager</role>
- </roles>
- </developer>
- </developers>
- <licenses>
- <license>
- <name>GNU Lesser</name>
- <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <url>http://www.squirrelsql.org/</url>
- <scm>
- <connection>scm:svn:https://squirrel-sql.svn.sourceforge.net/svnroot/squirrel-sql/trunk/sql12/</connection>
- <developerConnection>scm:svn:http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</developerConnection>
- <url>http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</url>
- </scm>
- <issueManagement>
- <system>SourceForge Tracker</system>
- <url>http://sourceforge.net/tracker/?group_id=28383%26atid=393414</url>
- </issueManagement>
- <ciManagement>
- <system>Hudson</system>
- <url>https://www.squirrel-sql.org/hudson/</url>
- </ciManagement>
+ <inceptionYear>2001</inceptionYear>
+ <developers>
+ <developer>
+ <name>Gerd Wagner</name>
+ <roles>
+ <role>Administrator</role>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Rob Manning</name>
+ <roles>
+ <role>Developer</role>
+ <role>Release Manager</role>
+ </roles>
+ </developer>
+ </developers>
+ <licenses>
+ <license>
+ <name>GNU Lesser</name>
+ <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <url>http://www.squirrelsql.org/</url>
+ <scm>
+ <connection>scm:svn:https://squirrel-sql.svn.sourceforge.net/svnroot/squirrel-sql/trunk/sql12/</connection>
+ <developerConnection>scm:svn:http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</developerConnection>
+ <url>http://squirrel-sql.svn.sourceforge.net/viewvc/squirrel-sql/trunk/sql12/</url>
+ </scm>
+ <issueManagement>
+ <system>SourceForge Tracker</system>
+ <url>http://sourceforge.net/tracker/?group_id=28383%26atid=393414</url>
+ </issueManagement>
+ <ciManagement>
+ <system>Hudson</system>
+ <url>https://www.squirrel-sql.org/hudson/</url>
+ </ciManagement>
+ <distributionManagement>
+ <repository>
+ <id>sonatype-squirrel-sql-releases</id>
+ <name>SQuirreL-SQL Release Repository</name>
+ <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository>
+ <snapshotRepository>
+ <id>sonatype-squirrel-sql-snapshots</id>
+ <name>SQuirreL-SQL Snapshot Repository</name>
+ <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots/</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <dependencies>
+ <!-- SQuirreL Dependencies -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>fw</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>squirrel-sql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
- <distributionManagement>
- <repository>
- <id>sonatype-squirrel-sql-releases</id>
- <name>SQuirreL-SQL Release Repository</name>
- <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
- </repository>
- <snapshotRepository>
- <id>sonatype-squirrel-sql-snapshots</id>
- <name>SQuirreL-SQL Snapshot Repository</name>
- <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
+ <!-- Standard Plugins -->
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>codecompletion</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>editextras</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>graph</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>laf</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sqlbookmark</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sqlscript</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>syntax</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
- <dependencies>
- <!-- SQuirreL Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>fw</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>squirrel-sql</artifactId>
- <version>${project.version}</version>
- </dependency>
+ <!-- Optional Plugins -->
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>dataimport</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>dbcopy</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>db2</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>derby</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>firebird</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>firebirdmanager</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>h2</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>hibernate</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>informix</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>mssql</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>mysql</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>oracle</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>postgres</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>refactoring</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sessionscript</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>smarttools</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sqlparam</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sqlreplace</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sqlval</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>sybase</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
+ <artifactId>i18n</artifactId>
+ <version>${project.version}</version>
+ <classifier>assembly</classifier>
+ <type>zip</type>
+ </dependency>
- <!-- Standard Plugins -->
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>codecompletion</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>editextras</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>graph</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>laf</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sqlbookmark</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sqlscript</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>syntax</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <!-- Optional Plugins -->
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>dataimport</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>dbcopy</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>db2</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>derby</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>firebird</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>firebirdmanager</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>h2</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>hibernate</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>informix</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>mssql</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>mysql</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>oracle</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>postgres</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>refactoring</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sessionscript</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>smarttools</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sqlparam</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sqlreplace</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sqlval</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>sybase</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>net.sf.squirrel-sql.plugins</groupId>
- <artifactId>i18n</artifactId>
- <version>${project.version}</version>
- <classifier>assembly</classifier>
- <type>zip</type>
- </dependency>
-
- <!-- Non-plugin dependencies -->
-
- <dependency>
- <groupId>net.sf.squirrel-sql.translations</groupId>
- <artifactId>squirrelsql-translations</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>squirrelsql-java-version-checker</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>${dependency-plugin-version}</version>
- <type>maven-plugin</type>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>${dependency-plugin-version}</version>
- <executions>
- <execution>
- <id>copy-core-artifacts</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <stripVersion>true</stripVersion>
- <outputDirectory>${project.build.directory}/release/core</outputDirectory>
- <excludeClassifiers>assembly</excludeClassifiers>
- <excludeTypes>zip</excludeTypes>
- </configuration>
- </execution>
- <execution>
- <id>copy-plugin-artifacts</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <stripVersion>true</stripVersion>
- <includeClassifiers>assembly</includeClassifiers>
- <includeTypes>zip</includeTypes>
- <excludeTransitive>true</excludeTransitive>
- <outputDirectory>${project.build.directory}/release/plugins</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>extract-translations</id>
- <phase>process-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>net.sf.squirrel-sql.translations</groupId>
- <artifactId>squirrelsql-translations</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/release/i18n</outputDirectory>
- <includes>**/*.jar</includes>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>net.sf.squirrel-sql</groupId>
- <artifactId>squirrelsql-update-site-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>build-update-site</goal>
- </goals>
- <configuration>
- <releaseDirectory>${project.build.directory}/release</releaseDirectory>
- <releaseVersion>Snapshot-${release.timestamp}</releaseVersion>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <classesDirectory>${project.build.directory}/release</classesDirectory>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- <includes>
- <include>**/*.jar</include>
- <include>**/*.zip</include>
- <include>release.xml</include>
- </includes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>wagon-maven-plugin</artifactId>
- <version>1.0-beta-2</version>
- <configuration>
- <serverId>update-site-ftp-server</serverId>
- <!-- property update.site.ftp.server defined in settings.xml installer profile -->
- <url>ftp://${update.site.ftp.server}</url>
- </configuration>
- <executions>
- <execution>
- <id>ftp-upload-release</id>
- <phase>deploy</phase>
- <goals>
- <goal>upload</goal>
- </goals>
- <configuration>
- <fromDir>target/release</fromDir>
- <!-- property update.site.ftp.server defined in settings.xml installer profile -->
- <toDir>${update.site.path}</toDir>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ftp</artifactId>
- <version>1.0-beta-6</version>
- </extension>
- </extensions>
- </build>
-
-</project>
+ <!-- Non-plugin dependencies -->
+ <dependency>
+ <groupId>net.sf.squirrel-sql.translations</groupId>
+ <artifactId>squirrelsql-translations</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>squirrelsql-java-version-checker</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>${dependency-plugin-version}</version>
+ <type>maven-plugin</type>
+ </dependency>
+ </dependencies>
+ <properties>
+ <squirrelsql.version>test</squirrelsql.version>
+ </properties>
+ <build>
+ <plugins>
+ <!-- Set the squirrelsql.version property if it has not already been set. -->
+ <plugin>
+ <groupId>net.sf.squirrel-sql</groupId>
+ <artifactId>squirrelsql-version-plugin</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>initialize</phase>
+ <goals>
+ <goal>set-version</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>${dependency-plugin-version}</version>
+ <executions>
+ <execution>
+ <id>copy-core-artifacts</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <stripVersion>true</stripVersion>
+ <outputDirectory>${project.build.directory}/release/core</outputDirectory>
+ <excludeClassifiers>assembly</excludeClassifiers>
+ <excludeTypes>zip</excludeTypes>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-plugin-artifacts</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <stripVersion>true</stripVersion>
+ <includeClassifiers>assembly</includeClassifiers>
+ <includeTypes>zip</includeTypes>
+ <excludeTransitive>true</excludeTransitive>
+ <outputDirectory>${project.build.directory}/release/plugins</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>extract-translations</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>net.sf.squirrel-sql.translations</groupId>
+ <artifactId>squirrelsql-translations</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ <outputDirectory>${project.build.directory}/release/i18n</outputDirectory>
+ <includes>**/*.jar</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>net.sf.squirrel-sql</groupId>
+ <artifactId>squirrelsql-update-site-plugin</artifactId>
+ <version>${project.version}</version>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>build-update-site</goal>
+ </goals>
+ <configuration>
+ <releaseDirectory>${project.build.directory}/release</releaseDirectory>
+ <releaseVersion>${squirrelsql.version}</releaseVersion>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <classesDirectory>${project.build.directory}/release</classesDirectory>
+ <archive>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ <includes>
+ <include>**/*.jar</include>
+ <include>**/*.zip</include>
+ <include>release.xml</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>wagon-maven-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ <configuration>
+ <serverId>update-site-ftp-server</serverId>
+ <!-- property update.site.ftp.server defined in settings.xml installer profile -->
+ <url>ftp://${update.site.ftp.server}</url>
+ </configuration>
+ <executions>
+ <execution>
+ <id>ftp-upload-release</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>upload</goal>
+ </goals>
+ <configuration>
+ <fromDir>target/release</fromDir>
+ <!-- property update.site.ftp.server defined in settings.xml installer profile -->
+ <toDir>${update.site.path}</toDir>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ftp</artifactId>
+ <version>1.0-beta-6</version>
+ </extension>
+ </extensions>
+ </build>
+</project>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|