Update of /cvsroot/squirrel-sql/./mavenize/squirrelsql-plugins-parent-pom
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7407/mavenize/squirrelsql-plugins-parent-pom
Added Files:
pom.xml
Log Message:
Script and supporting projects / poms for building SQuirreL with Maven. Currently this produces 3.1.0-SNAPSHOT artifact jars for all SQuirreL modules / plugins. Still need to incorporate IzPack plugin to build installer.
--- NEW FILE: pom.xml ---
<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>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>squirrelsql-plugins-parent-pom</artifactId>
<packaging>pom</packaging>
<name>SQuirreLSQL Plugins Parent POM</name>
<version>3.1.0-SNAPSHOT</version>
<description>POM file to consolidate common POM specifications</description>
<parent>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>squirrel-root-pom</artifactId>
<version>3.1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>fw</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>app</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>2.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>2.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>gsbase</groupId>
<artifactId>gsbase</artifactId>
<version>2.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>fw</artifactId>
<version>3.1.0-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>app</artifactId>
<version>3.1.0-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<!-- http://maven.apache.org/plugins/maven-compiler-plugin/ -->
<source>${javac-source-version}</source>
<target>${javac-target-version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<configuration>
<outputDirectory>target</outputDirectory>
<finalName>${project.artifactId}</finalName>
<includePom>true</includePom>
<!--
We exclude docs from the source jar, because the assembly
has to have them for the plugin install to work; and we
don't want the source jar to contain them as well as the
assembly jar as that just makes the assembly jar bigger.
-->
<excludes>
<exclude>**/doc/**</exclude>
<exclude>**/doc</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
<finalName>${project.artifactId}</finalName>
<!--
We exclude docs from the classes jar, for the same reason
as above
-->
<excludes>
<exclude>**/doc/**</exclude>
<exclude>**/doc</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<dependencies>
<dependency>
<groupId>net.sourceforge.squirrel_sql</groupId>
<artifactId>squirrelsql-plugins-assembly-descriptor</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>create-plugin-archives</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>squirrelsql-plugin-assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>true</appendAssemblyId>
<finalName>${project.artifactId}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-plugin-version}</version>
<inherited>true</inherited>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd-plugin-version}</version>
<configuration>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle-plugin-version}</version>
<configuration>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<inherited>true</inherited>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${javac-target-version}</targetJdk>
</configuration>
</plugin>
<plugin>
<inherited>true</inherited>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<outputFileFormat>xml</outputFileFormat>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
|