Skip to content
Merged
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
68 changes: 68 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,32 @@

<description>Tyrus Bill of Materials (BOM)</description>

<!-- TODO: Can be removed after it would be removed from parent too -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<name>Disabled Sonatype Nexus</name>
<url>http://localhost</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</snapshotRepository>
<repository>
<id>ossrh</id>
<name>Disabled Sonatype Nexus</name>
<url>http://localhost</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</distributionManagement>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -127,4 +153,46 @@
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>oss-release</id>
<properties>
<!-- Do not autopublish by default -->
<release.autopublish>false</release.autopublish>
<!-- By default block until everything is really published -->
<release.waitUntil>published</release.waitUntil>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
<executions>
<execution>
<id>injected-nexus-deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.10.0</version>
<extensions>true</extensions>
<configuration>
<autoPublish>${release.autopublish}</autoPublish>
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots</centralSnapshotsUrl>
<deploymentName>Eclipse Tyrus ${project.version}</deploymentName>
<publishingServerId>central</publishingServerId>
<waitUntil>${release.waitUntil}</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@
<sourceFileExcludes>
<sourceFileExclude>**/module-info.java</sourceFileExclude>
</sourceFileExcludes>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
Expand Down
22 changes: 21 additions & 1 deletion tests/plugins/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--

Copyright 2026 Contributors to the Eclipse Foundation.
Copyright (c) 2025 Oracle and/or its affiliates. All rights reserved.

This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -38,6 +38,26 @@
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
<executions>
<execution>
<id>injected-nexus-deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>notSkipTests</id>
Expand Down