Skip to content

Commit 0a5f5ed

Browse files
committed
Revert "update pom.template.xml to the modern world"
This reverts commit 6bf9e6c.
1 parent a071d9f commit 0a5f5ed

File tree

1 file changed

+57
-8
lines changed

1 file changed

+57
-8
lines changed

pom.template.xml

Lines changed: 57 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,18 @@
203203
<url>https://github.com/clojure/clojurescript</url>
204204
</scm>
205205

206+
<!--
206207
<parent>
207208
<groupId>org.clojure</groupId>
208209
<artifactId>pom.contrib</artifactId>
209-
<version>1.1.0</version>
210+
<version>0.1.2</version>
211+
</parent>
212+
-->
213+
214+
<parent>
215+
<groupId>org.sonatype.oss</groupId>
216+
<artifactId>oss-parent</artifactId>
217+
<version>7</version>
210218
</parent>
211219

212220
<properties>
@@ -341,21 +349,62 @@
341349
</plugin>
342350
<plugin>
343351
<groupId>org.apache.maven.plugins</groupId>
344-
<artifactId>maven-compiler-plugin</artifactId>
345-
<version>3.1</version>
352+
<artifactId>maven-gpg-plugin</artifactId>
353+
<version>1.4</version>
346354
<configuration>
347-
<source>1.8</source>
348-
<target>1.8</target>
355+
<keyname>Clojure/core</keyname>
349356
</configuration>
350357
</plugin>
351358
<plugin>
352359
<groupId>org.apache.maven.plugins</groupId>
353-
<artifactId>maven-release-plugin</artifactId>
354-
<version>2.5.3</version>
360+
<artifactId>maven-compiler-plugin</artifactId>
361+
<version>3.1</version>
355362
<configuration>
356-
<tagNameFormat>r@{project.version}</tagNameFormat>
363+
<source>1.7</source>
364+
<target>1.7</target>
357365
</configuration>
358366
</plugin>
359367
</plugins>
360368
</build>
369+
370+
<profiles>
371+
<profile>
372+
<id>sonatype-oss-release</id>
373+
<!-- This profile is enabled automatically by the Sonatype
374+
oss-parent POM when invoking the Maven Release Plugin -->
375+
<build>
376+
<plugins>
377+
<plugin>
378+
<groupId>org.apache.maven.plugins</groupId>
379+
<artifactId>maven-deploy-plugin</artifactId>
380+
<version>2.7</version>
381+
<configuration>
382+
<skip>true</skip>
383+
</configuration>
384+
</plugin>
385+
<plugin>
386+
<groupId>org.sonatype.plugins</groupId>
387+
<artifactId>nexus-staging-maven-plugin</artifactId>
388+
<version>1.6.5</version>
389+
<executions>
390+
<execution>
391+
<id>default-deploy</id>
392+
<phase>deploy</phase>
393+
<!-- By default, this is the phase deploy goal will bind to -->
394+
<goals>
395+
<goal>deploy</goal>
396+
</goals>
397+
</execution>
398+
</executions>
399+
<configuration>
400+
<!-- The Base URL of Nexus instance where we want to stage -->
401+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
402+
<!-- The server "id" element from settings to use authentication from -->
403+
<serverId>sonatype-nexus-staging</serverId>
404+
</configuration>
405+
</plugin>
406+
</plugins>
407+
</build>
408+
</profile>
409+
</profiles>
361410
</project>

0 commit comments

Comments
 (0)