Skip to content

Commit a81a1d8

Browse files
GH-236 using now our own aio-lib-java maven central token (#255)
GH-236 using now our own aio-lib-java maven central token * token generated at https://central.sonatype.com/usertoken * note that I also had to explicitly enable `snapshots` on our namespaces at https://central.sonatype.com/publishing/namespaces ## Related Issue #236
1 parent add155f commit a81a1d8

4 files changed

Lines changed: 43 additions & 12 deletions

File tree

‎.github/workflows/maven-release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,20 +210,20 @@ jobs:
210210
- name: AEM6.5 Build
211211
run: mvn clean deploy -DskipTests -Paem65deps,aem65,release
212212
env:
213-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
214-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
213+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
214+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
215215
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
216216

217217
- name: AEMaaCS Build
218218
run: mvn clean deploy -DskipTests -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source
219219
env:
220-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
221-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
220+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
221+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
222222
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
223223

224224
- name: Main Build
225225
run: mvn clean deploy -DskipTests
226226
env:
227-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
228-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
227+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
228+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
229229
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

‎.github/workflows/maven-snapshot.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@ jobs:
3636
- name: AEM6.5 Build
3737
run: mvn clean deploy -DskipTests -Paem65deps,aem65,release
3838
env:
39-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
40-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
39+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
40+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
4141
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4242

4343
- name: AEMaaCS Build
4444
run: mvn clean deploy -PaemaacsDeps,aemaacs,release,attach-javadoc,attach-source
4545
env:
46-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
47-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
46+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
47+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
4848
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4949

5050
- name: Main Build
5151
run: mvn clean deploy -DskipTests
5252
env:
53-
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
54-
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }}
53+
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
54+
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
5555
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
5656

‎.mvn/maven.config‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--settings
2+
./.mvn/settings.xml

‎.mvn/settings.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+
ADOBE CONFIDENTIAL
5+
___________________
6+
7+
Copyright 2017 Adobe Systems Incorporated
8+
All Rights Reserved.
9+
10+
NOTICE: All information contained herein is, and remains
11+
the property of Adobe Systems Incorporated and its suppliers,
12+
if any. The intellectual and technical concepts contained
13+
herein are proprietary to Adobe Systems Incorporated and its
14+
suppliers and are protected by trade secret or copyright law.
15+
Dissemination of this information or reproduction of this material
16+
is strictly forbidden unless prior written permission is obtained
17+
from Adobe Systems Incorporated.
18+
19+
-->
20+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
21+
<interactiveMode>false</interactiveMode>
22+
<servers>
23+
<server>
24+
<id>central</id>
25+
<username>${env.MAVEN_USERNAME}</username>
26+
<password>${env.MAVEN_CENTRAL_TOKEN}</password>
27+
</server>
28+
</servers>
29+
</settings>

0 commit comments

Comments
 (0)