Skip to content

Commit 076f5db

Browse files
committed
update version, maven central details and add release pipelines
1 parent b53ac5a commit 076f5db

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

.buildkite/pipeline_release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
steps:
2+
- label: ":maven: Build and Deploy"
3+
command:
4+
- sed -i 's/<version>ml-\(.*\)<\/version>/<version>\1<\/version>/g' pom.xml
5+
- mvn clean deploy -P release
6+
7+
agents:
8+
queue: "java_build_queue"

.buildkite/pipeline_release_ml.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
steps:
2+
- label: ":maven: Build and Deploy"
3+
command:
4+
- mvn clean deploy -P ml,release
5+
6+
agents:
7+
queue: "java_build_queue"
8+

pom.xml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>io.mapsmessaging</groupId>
2626
<artifactId>jms_selector_parser</artifactId>
27-
<version>ml-2.0.0-SNAPSHOT</version>
27+
<version>ml-2.0.0</version>
2828
<packaging>jar</packaging>
2929

3030
<name>Extensible JMS Selector Parser</name>
@@ -99,28 +99,17 @@
9999

100100
<profiles>
101101
<profile>
102-
<!-- Default profile for regular releases -->
103102
<id>release</id>
104-
<distributionManagement>
105-
<repository>
106-
<id>ossrh</id>
107-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
108-
<snapshots>
109-
<enabled>false</enabled>
110-
</snapshots>
111-
</repository>
112-
</distributionManagement>
113103
<build>
114104
<plugins>
115105
<plugin>
116-
<groupId>org.sonatype.plugins</groupId>
117-
<artifactId>nexus-staging-maven-plugin</artifactId>
118-
<version>1.7.0</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.8.0</version>
119109
<extensions>true</extensions>
120110
<configuration>
121-
<serverId>mapsmessaging.io</serverId>
122-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
123-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
124113
</configuration>
125114
</plugin>
126115
</plugins>
@@ -339,10 +328,6 @@
339328
<name>maps_snapshot_repository</name>
340329
<url>https://repository.mapsmessaging.io/repository/maps_snapshots/</url>
341330
</snapshotRepository>
342-
<repository>
343-
<id>ossrh</id>
344-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
345-
</repository>
346331
</distributionManagement>
347332

348333
<build>

0 commit comments

Comments
 (0)