Skip to content

Commit 5b842a7

Browse files
committed
More configuration tidy up
1 parent f8ea81e commit 5b842a7

File tree

1 file changed

+58
-28
lines changed

1 file changed

+58
-28
lines changed

utplsql-maven-plugin/pom.xml

Lines changed: 58 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
</developers>
3434

3535
<scm>
36-
<connection>scm:git:git://github.com/utPLSQL/utPLSQL-maven-plugin.git</connection>
37-
<developerConnection>scm:git:ssh://github.com/utPLSQL/utPLSQL-maven-plugin.git</developerConnection>
36+
<connection>scm:git:https://github.com/utPLSQL/utPLSQL-maven-plugin.git</connection>
3837
<url>https://github.com/utPLSQL/utPLSQL-maven-plugin</url>
3938
</scm>
4039

@@ -172,35 +171,66 @@
172171
</execution>
173172
</executions>
174173
</plugin>
175-
<plugin>
176-
<groupId>org.apache.maven.plugins</groupId>
177-
<artifactId>maven-javadoc-plugin</artifactId>
178-
<executions>
179-
<execution>
180-
<id>attach-javadocs</id>
181-
<goals>
182-
<goal>jar</goal>
183-
</goals>
184-
</execution>
185-
</executions>
186-
</plugin>
187-
<plugin>
188-
<groupId>org.apache.maven.plugins</groupId>
189-
<artifactId>maven-source-plugin</artifactId>
190-
<version>3.0.1</version>
191-
<executions>
192-
<execution>
193-
<id>attach-sources</id>
194-
<phase>verify</phase>
195-
<goals>
196-
<goal>jar-no-fork</goal>
197-
</goals>
198-
</execution>
199-
</executions>
200-
</plugin>
201174
</plugins>
202175
</build>
203176

177+
<profiles>
178+
<profile>
179+
<id>release</id>
180+
181+
<activation>
182+
<property>
183+
<name>release</name>
184+
</property>
185+
</activation>
186+
187+
<build>
188+
<plugins>
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-javadoc-plugin</artifactId>
192+
<executions>
193+
<execution>
194+
<id>attach-javadocs</id>
195+
<goals>
196+
<goal>jar</goal>
197+
</goals>
198+
</execution>
199+
</executions>
200+
</plugin>
201+
<plugin>
202+
<groupId>org.apache.maven.plugins</groupId>
203+
<artifactId>maven-source-plugin</artifactId>
204+
<version>3.0.1</version>
205+
<executions>
206+
<execution>
207+
<id>attach-sources</id>
208+
<phase>verify</phase>
209+
<goals>
210+
<goal>jar-no-fork</goal>
211+
</goals>
212+
</execution>
213+
</executions>
214+
</plugin>
215+
<plugin>
216+
<groupId>org.apache.maven.plugins</groupId>
217+
<artifactId>maven-gpg-plugin</artifactId>
218+
<version>1.6</version>
219+
<executions>
220+
<execution>
221+
<id>sign-artifacts</id>
222+
<phase>verify</phase>
223+
<goals>
224+
<goal>sign</goal>
225+
</goals>
226+
</execution>
227+
</executions>
228+
</plugin>
229+
</plugins>
230+
</build>
231+
</profile>
232+
</profiles>
233+
204234
<repositories>
205235
<repository>
206236
<id>utplsql-java-api</id>

0 commit comments

Comments
 (0)