Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POM fixes #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.phonepe</groupId>
<artifactId>mustang</artifactId><version>2.3.2-SNAPSHOT</version>
<artifactId>mustang</artifactId>
<version>2.3.4-SNAPSHOT</version>
<name>Mustang</name>
<url>https://github.com/PhonePe/mustang</url>
<description>Search Engine for Rules</description>
Expand Down Expand Up @@ -68,11 +69,11 @@
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand All @@ -87,7 +88,7 @@
<maven.deploy.skip>false</maven.deploy.skip>
<maven.artifact.version>3.8.5</maven.artifact.version>
<maven.source.plugin.version>3.2.0</maven.source.plugin.version>
<maven.javadoc.plugin.version>3.3.1</maven.javadoc.plugin.version>
<maven.javadoc.plugin.version>3.3.0</maven.javadoc.plugin.version>
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
<jacoco.maven.plugin.version>0.8.7</jacoco.maven.plugin.version>

Expand Down Expand Up @@ -200,7 +201,6 @@
<debug>false</debug>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -218,6 +218,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<source>17</source>
<skip>false</skip>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -233,14 +237,24 @@
<version>${maven.surefire.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -268,12 +282,6 @@
<goals>
<goal>sign</goal>
</goals>
<configuration>
<useAgent>true</useAgent>
<executable>gpg2</executable>
<!-- Run something like 'gpg2 -ab out' to cache the creds on agent
before running if needed -->
</configuration>
</execution>
</executions>
</plugin>
Expand Down
12 changes: 12 additions & 0 deletions release.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#release configuration
#Tue Aug 20 22:18:48 IST 2024
projectVersionPolicyId=default
scm.tagNameFormat=@{project.artifactId}-@{project.version}
exec.additionalArguments=-P default
remoteTagging=true
scm.commentPrefix=[maven-release-plugin]
pushChanges=true
completedPhase=check-poms
scm.url=scm\:git\:https\://github.com/PhonePe/mustang.git
exec.snapshotReleasePluginAllowed=false
preparationGoals=clean verify
Loading