Skip to content

Commit

Permalink
Revert "update pom.template.xml to the modern world"
Browse files Browse the repository at this point in the history
This reverts commit 6bf9e6c.
  • Loading branch information
puredanger committed Aug 15, 2023
1 parent a071d9f commit 0a5f5ed
Showing 1 changed file with 57 additions and 8 deletions.
65 changes: 57 additions & 8 deletions pom.template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,18 @@
<url>https://github.com/clojure/clojurescript</url>
</scm>

<!--
<parent>
<groupId>org.clojure</groupId>
<artifactId>pom.contrib</artifactId>
<version>1.1.0</version>
<version>0.1.2</version>
</parent>
-->

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<properties>
Expand Down Expand Up @@ -341,21 +349,62 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<keyname>Clojure/core</keyname>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<tagNameFormat>r@{project.version}</tagNameFormat>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>sonatype-oss-release</id>
<!-- This profile is enabled automatically by the Sonatype
oss-parent POM when invoking the Maven Release Plugin -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<!-- By default, this is the phase deploy goal will bind to -->
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- The server "id" element from settings to use authentication from -->
<serverId>sonatype-nexus-staging</serverId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 0a5f5ed

Please sign in to comment.