Skip to content

Commit 86731ac

Browse files
authored
Prepare for Central Portal releasing
As OSS service is being sunset.
1 parent 1d35980 commit 86731ac

File tree

6 files changed

+279
-211
lines changed

6 files changed

+279
-211
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
java: [ '11' ]
17-
maven: [ '3.6.3', '3.8.8', '3.9.6' ]
17+
maven: [ '3.6.3', '3.8.8', '3.9.9' ]
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Set up JDK
@@ -23,6 +23,6 @@ jobs:
2323
distribution: 'zulu'
2424
java-version: ${{ matrix.java }}
2525
- name: Set up Maven
26-
run: mvn -e -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.3.1:wrapper "-Dmaven=${{ matrix.maven }}" -Dtype=only-script
26+
run: mvn -e -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=${{ matrix.maven }}"
2727
- name: Build with Maven
28-
run: ./mvnw -e -B -V clean verify
28+
run: ./mvnw -e -B -V clean verify -Dnjord.enabled=false

.mvn/release-settings-template.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<!--
4+
Add these two your own user settings.xml
5+
-->
6+
7+
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0">
8+
<!-- (optional) Add plugin group to not have to type G -->
9+
<pluginGroups>
10+
<pluginGroup>eu.maveniverse.maven.plugins</pluginGroup>
11+
</pluginGroups>
12+
13+
<servers>
14+
<!-- mandatory: token auth for Sonatype Central Portal -->
15+
<server>
16+
<id>sonatype-central-portal</id>
17+
<username>$TOKEN1</username>
18+
<password>$TOKEN2</password>
19+
<configuration>
20+
<!-- mandatory: Njord publisher -->
21+
<njord.publisher>sonatype-cp</njord.publisher>
22+
<!-- mandatory: njord template to use for releases -->
23+
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
24+
<!-- optional: njord template to use for snapshots -->
25+
<!-- njord.snapshotUrl>njord:template:release-sca</njord.snapshotUrl -->
26+
</configuration>
27+
</server>
28+
</servers>
29+
</settings>

.mvn/wrapper/maven-wrapper.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

mvnw

Lines changed: 62 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)