Updated the pom files for signing
This commit is contained in:
@@ -234,11 +234,11 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<delete>
|
<delete>
|
||||||
<fileset dir="${project.basedir}/artifacts" includes="*.${project.packaging}"/>
|
<fileset dir="${project.basedir}/artifacts" includes="*.${project.packaging}" />
|
||||||
</delete>
|
</delete>
|
||||||
<copy todir="${project.basedir}/artifacts">
|
<copy todir="${project.basedir}/artifacts">
|
||||||
<fileset dir="${project.build.directory}">
|
<fileset dir="${project.build.directory}">
|
||||||
<include name="${project.build.finalName}*.${project.packaging}"/>
|
<include name="${project.build.finalName}*.${project.packaging}" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
31
pom.xml
31
pom.xml
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.github.raychatter</groupId>
|
<groupId>com.github.raychatter</groupId>
|
||||||
<artifactId>spring-restful-exception-handler-parent</artifactId>
|
<artifactId>spring-restful-exception-handler-parent</artifactId>
|
||||||
@@ -16,6 +16,35 @@
|
|||||||
<developerConnection>scm:git:git@github.com:raychatter/spring-restful-exception-handler.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:raychatter/spring-restful-exception-handler.git</developerConnection>
|
||||||
<url>git@github.com:raychatter/spring-restful-exception-handler.git</url>
|
<url>git@github.com:raychatter/spring-restful-exception-handler.git</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>release-sign-artifacts</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>performRelease</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>sign-artifacts</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>sign</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
<modules>
|
<modules>
|
||||||
<module>exception-handler</module>
|
<module>exception-handler</module>
|
||||||
<module>sample</module>
|
<module>sample</module>
|
||||||
|
|||||||
@@ -15,6 +15,35 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<spring.version>3.1.1.RELEASE</spring.version>
|
<spring.version>3.1.1.RELEASE</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>release-sign-artifacts</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>performRelease</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>sign-artifacts</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>sign</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- Spring 3 dependencies -->
|
<!-- Spring 3 dependencies -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
Reference in New Issue
Block a user