Skip to content

Jetty 12.0.x setup pom and release script for new central portal #13174

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

Merged
merged 2 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions build/scripts/release-jetty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then
# This is equivalent to 'mvn release:perform'
if proceedyn "Build/Deploy from tag $TAG_NAME? (Y/n)" y; then
mvn clean deploy -Peclipse-release $DEPLOY_OPTS
mvn njord:publish -Ddrop=false $DEPLOY_OPTS
fi
if proceedyn "Update working directory for $VER_NEXT? (Y/n)" y; then
echo "Update VERSION.txt for $VER_NEXT"
Expand Down Expand Up @@ -191,6 +192,11 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then
if proceedyn "Do you want to build aggregated Javadoc in target/reports/apidocs/? (Y/n)" y; then
mvn mvn clean install -Pjavadoc-aggregate javadoc:aggregate -DskipTests
fi

# here we need to add something to publish to our staging repo
# mvn njord:publish -Ddrop=false -Dpublisher=deploy -DaltDeploymentRepository=jetty-staging::http://localhost:8081/repository/release-staging
# need an entry in settings.xml for id jetty-staging

else
echo "Not performing release"
fi
Expand Down
21 changes: 15 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,12 @@

<distributionManagement>
<repository>
<id>oss.sonatype.org</id>
<name>Jetty Staging Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<id>sonatype-cp</id>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<snapshotRepository>
<id>oss.sonatype.org</id>
<name>Jetty Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/jetty-snapshots/</url>
<id>sonatype-cp</id>
<url>https://central.sonatype.com/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>

Expand Down Expand Up @@ -280,6 +278,7 @@
<mongo.docker.version>5.0.26</mongo.docker.version>
<mongodb.version>5.1.4</mongodb.version>
<netty.version>4.2.0.Final</netty.version>
<njord.version>0.5.5</njord.version>
<openpojo.version>0.9.1</openpojo.version>
<org.osgi.annotation.version>8.1.0</org.osgi.annotation.version>
<org.osgi.core.version>8.0.0</org.osgi.core.version>
Expand Down Expand Up @@ -1340,6 +1339,11 @@
<artifactId>license-maven-plugin</artifactId>
<version>${license.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>eu.maveniverse.maven.plugins</groupId>
<artifactId>njord</artifactId>
<version>${njord.version}</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down Expand Up @@ -2050,6 +2054,11 @@
</plugin>
</plugins>
<extensions>
<extension>
<groupId>eu.maveniverse.maven.njord</groupId>
<artifactId>extension</artifactId>
<version>${njord.version}</version>
</extension>
<extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
Expand Down