Skip to content

Commit

Permalink
[CI/CD] Preparations for release to Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
ThuF authored Dec 15, 2023
1 parent 8ffe555 commit 94f5109
Showing 1 changed file with 36 additions and 12 deletions.
48 changes: 36 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,10 @@ governing permissions and limitations under
</build>
</profile>
<profile>
<id>apache-release</id>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -462,12 +465,30 @@ governing permissions and limitations under
</profiles>

<repositories>
<repository>
<id>oss.sonatype.org</id>
<name>OSS Sonatype Staging</name>
<url>https://oss.sonatype.org/content/groups/staging</url>
</repository>
</repositories>
<repository>
<id>mvnrepository</id>
<url>https://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>sonatype-public-repository</id>
<url>https://s01.oss.sonatype.org/content/groups/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -517,10 +538,13 @@ governing permissions and limitations under
</dependencyManagement>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Apache Maven Packages</name>
<url>https://maven.pkg.github.com/codbex/olingo-odata2</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
</project>

0 comments on commit 94f5109

Please sign in to comment.