Skip to content

Commit da0c42b

Browse files
author
Michael Wiles
committed
moved gpg stuff into its own profile
1 parent 1855b3d commit da0c42b

1 file changed

Lines changed: 31 additions & 23 deletions

File tree

pom.xml

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<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">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34

45
<groupId>com.afrozaar.wordpress</groupId>
@@ -47,11 +48,8 @@
4748
<profiles>
4849
<profile>
4950
<id>afrozaar</id>
50-
<!-- <properties>
51-
<repository.home>https://maven-repostiory.afrozaar.com/artifactory</repository.home>
52-
<deploy-release>${repository.home}/libs-release-local</deploy-release>
53-
<deploy-snapshot>${repository.home}/libs-snapshot-local</deploy-snapshot>
54-
</properties>-->
51+
<!-- <properties> <repository.home>https://maven-repostiory.afrozaar.com/artifactory</repository.home> <deploy-release>${repository.home}/libs-release-local</deploy-release>
52+
<deploy-snapshot>${repository.home}/libs-snapshot-local</deploy-snapshot> </properties> -->
5553

5654
<properties>
5755
<repository.home>https://maven-repository.afrozaar.com/artifactory</repository.home>
@@ -88,6 +86,33 @@
8886
</dependency>
8987
</dependencies>
9088
</profile>
89+
<profile>
90+
<id>maven-central</id>
91+
<activation>
92+
<activeByDefault>true</activeByDefault>
93+
</activation>
94+
<build>
95+
<plugins>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-gpg-plugin</artifactId>
99+
<version>1.6</version>
100+
<configuration>
101+
<useAgent>true</useAgent>
102+
</configuration>
103+
<executions>
104+
<execution>
105+
<id>sign-artifacts</id>
106+
<phase>verify</phase>
107+
<goals>
108+
<goal>sign</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
</plugin>
113+
</plugins>
114+
</build>
115+
</profile>
91116
</profiles>
92117
<build>
93118
<pluginManagement>
@@ -105,23 +130,6 @@
105130
</pluginManagement>
106131

107132
<plugins>
108-
<plugin>
109-
<groupId>org.apache.maven.plugins</groupId>
110-
<artifactId>maven-gpg-plugin</artifactId>
111-
<version>1.6</version>
112-
<configuration>
113-
<useAgent>true</useAgent>
114-
</configuration>
115-
<executions>
116-
<execution>
117-
<id>sign-artifacts</id>
118-
<phase>verify</phase>
119-
<goals>
120-
<goal>sign</goal>
121-
</goals>
122-
</execution>
123-
</executions>
124-
</plugin>
125133
<plugin>
126134
<groupId>org.apache.maven.plugins</groupId>
127135
<artifactId>maven-failsafe-plugin</artifactId>

0 commit comments

Comments
 (0)