Revision: 6063
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6063&view=rev
Author: manningr
Date: 2010-12-28 15:23:27 +0000 (Tue, 28 Dec 2010)
Log Message:
-----------
This plugin no longer inherits from plugin parent because it isn't distributed as an update, and because the squirrelsql-plugin-archetype project requires all of it's resources (*.java, *.txt, *.properties; doc/*.txt is excluded in the source jar for regular plugins as having it there duplicates it's presence in the assembly archive which is what the updater and installers use ). This allows this project's contents to be copied into the src/main/resources/archetype-resources/ tree as the archetype is being built. This means that this project is still the authoritative version of the Example plugin and can be developed and tested just like any other plugin, but still allows the archetype to pickup all of the files, without the need to copy them and check them into a separate location in our subversion repository.
Modified Paths:
--------------
trunk/sql12/plugins/example/pom.xml
Modified: trunk/sql12/plugins/example/pom.xml
===================================================================
--- trunk/sql12/plugins/example/pom.xml 2010-12-26 22:47:52 UTC (rev 6062)
+++ trunk/sql12/plugins/example/pom.xml 2010-12-28 15:23:27 UTC (rev 6063)
@@ -1,11 +1,14 @@
-<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">
+<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.plugins</groupId>
- <artifactId>squirrelsql-plugins-parent-pom</artifactId>
+ <groupId>net.sf.squirrel-sql</groupId>
+ <artifactId>squirrel-root-pom</artifactId>
<version>3.3.0-SNAPSHOT</version>
- <relativePath>../squirrelsql-plugins-parent-pom/pom.xml</relativePath>
+ <relativePath>../../pom.xml</relativePath>
</parent>
+
+ <groupId>net.sf.squirrel-sql.plugins</groupId>
<artifactId>example</artifactId>
<packaging>jar</packaging>
<name>Example Plugin</name>
@@ -52,36 +55,54 @@
<dependency>
<groupId>net.sf.squirrel-sql</groupId>
<artifactId>fw</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.sf.squirrel-sql</groupId>
<artifactId>squirrel-sql</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.sf.squirrel-sql</groupId>
<artifactId>squirrel-sql</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>gsbase</groupId>
<artifactId>gsbase</artifactId>
+ <version>${gsbase-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
+ <groupId>jgoodies</groupId>
+ <artifactId>forms</artifactId>
+ <version>${jgoodies-forms-version}</version>
+ </dependency>
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+ <version>${junit-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
+ <version>${easymock-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
+ <version>${easymockclassextension-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
+ <version>${mockito-version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
<properties>
@@ -92,6 +113,27 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target</outputDirectory>
+ <finalName>${project.artifactId}</finalName>
+ <includePom>true</includePom>
+ </configuration>
+ <executions>
+ <execution>
+ <id>create-source-jar</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>create-test-source-jar</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|