Skip to content

Commit 6bf9e6c

Browse files
committed
update pom.template.xml to the modern world
1 parent ce08c1d commit 6bf9e6c

File tree

1 file changed

+8
-57
lines changed

1 file changed

+8
-57
lines changed

pom.template.xml

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

206-
<!--
207206
<parent>
208207
<groupId>org.clojure</groupId>
209208
<artifactId>pom.contrib</artifactId>
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>
209+
<version>1.1.0</version>
218210
</parent>
219211

220212
<properties>
@@ -349,62 +341,21 @@
349341
</plugin>
350342
<plugin>
351343
<groupId>org.apache.maven.plugins</groupId>
352-
<artifactId>maven-gpg-plugin</artifactId>
353-
<version>1.4</version>
344+
<artifactId>maven-compiler-plugin</artifactId>
345+
<version>3.1</version>
354346
<configuration>
355-
<keyname>Clojure/core</keyname>
347+
<source>1.8</source>
348+
<target>1.8</target>
356349
</configuration>
357350
</plugin>
358351
<plugin>
359352
<groupId>org.apache.maven.plugins</groupId>
360-
<artifactId>maven-compiler-plugin</artifactId>
361-
<version>3.1</version>
353+
<artifactId>maven-release-plugin</artifactId>
354+
<version>2.5.3</version>
362355
<configuration>
363-
<source>1.7</source>
364-
<target>1.7</target>
356+
<tagNameFormat>r@{project.version}</tagNameFormat>
365357
</configuration>
366358
</plugin>
367359
</plugins>
368360
</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>
410361
</project>

0 commit comments

Comments
 (0)