Skip to content

Commit 1e48fd2

Browse files
GH-236 it looks attaching sources and javadocs are compulsory on maven central
was facing : Deployment 0cb1b9ec-61e6-49c3-aebe-d9f10bf2a998 failed pkg:maven/com.adobe.aio.aem/aio-aem-core@2.0.10: - Sources must be provided but not found in entries - Javadocs must be provided but not found in entries
1 parent b9f2cf5 commit 1e48fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust --no-tty --batch --yes
210210
211211
- name: AEM6.5 Build
212-
run: mvn clean deploy -DskipTests -Paem65deps,aem65,release
212+
run: mvn clean deploy -DskipTests -Paem65deps,aem65,release,attach-javadoc,attach-source
213213
env:
214214
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
215215
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}
@@ -223,7 +223,7 @@ jobs:
223223
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
224224

225225
- name: Main Build
226-
run: mvn clean deploy -DskipTests -Prelease
226+
run: mvn clean deploy -DskipTests -Prelease,attach-javadoc,attach-source
227227
env:
228228
MAVEN_USERNAME: ${{ secrets.AIO_MAVEN_USER_NAME }}
229229
MAVEN_CENTRAL_TOKEN: ${{ secrets.AIO_MAVEN_TOKEN }}

0 commit comments

Comments
 (0)