Update of /cvsroot/squirrel-sql/mavenize
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1488
Modified Files:
app-pom.xml
Log Message:
maven plugins need versions (best practice for portable builds).
Index: app-pom.xml
===================================================================
RCS file: /cvsroot/squirrel-sql/mavenize/app-pom.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** app-pom.xml 19 Sep 2009 13:02:53 -0000 1.9
--- app-pom.xml 25 Sep 2009 21:06:31 -0000 1.10
***************
*** 12,15 ****
--- 12,16 ----
<artifactId>squirrel-sql</artifactId>
<version>3.1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
<name>SQuirreL Main Application Jar</name>
***************
*** 56,67 ****
<dependencies>
<dependency>
! <groupId>net.sf.squirrel-sql</groupId>
<artifactId>fw</artifactId>
! <version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
! <groupId>net.sf.squirrel-sql</groupId>
<artifactId>fw</artifactId>
! <version>3.1.0-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
--- 57,68 ----
<dependencies>
<dependency>
! <groupId>${project.groupId}</groupId>
<artifactId>fw</artifactId>
! <version>${project.version}</version>
</dependency>
<dependency>
! <groupId>${project.groupId}</groupId>
<artifactId>fw</artifactId>
! <version>${project.version}</version>
<type>test-jar</type>
</dependency>
***************
*** 72,105 ****
</dependency>
<dependency>
! <groupId>junit</groupId>
! <artifactId>junit</artifactId>
! <version>4.4</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>org.springframework</groupId>
! <artifactId>spring-test</artifactId>
! <version>2.5.2</version>
<scope>test</scope>
</dependency>
-
</dependencies>
<build>
--- 73,88 ----
</dependency>
<dependency>
! <groupId>org.springframework</groupId>
! <artifactId>spring-test</artifactId>
! <version>${spring-framework-version}</version>
<scope>test</scope>
</dependency>
<dependency>
! <groupId>${project.groupId}</groupId>
! <artifactId>squirrelsql-test-utils</artifactId>
! <version>${project.version}</version>
! <type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
***************
*** 108,115 ****
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- http://maven.apache.org/plugins/maven-compiler-plugin/ -->
! <source>1.6</source>
! <target>1.6</target>
</configuration>
</plugin>
--- 91,99 ----
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>${compiler-plugin-version}</version>
<configuration>
<!-- http://maven.apache.org/plugins/maven-compiler-plugin/ -->
! <source>${javac-source-version}</source>
! <target>${javac-target-version}</target>
</configuration>
</plugin>
***************
*** 117,120 ****
--- 101,105 ----
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <version>${surefire-plugin-version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
***************
*** 124,128 ****
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
! <version>2.2</version>
<executions>
<execution>
--- 109,113 ----
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
! <version>${jar-plugin-version}</version>
<executions>
<execution>
***************
*** 135,137 ****
--- 120,145 ----
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>sign-jar</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
|