Loading .ci.settings.xml +5 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>central</id> <username>${MAVEN_CENTRAL_USERNAME}</username> <password>${MAVEN_CENTRAL_PASSWORD}</password> </server> <server> <id>alfresco-private-repository</id> <username>${env.MAVEN_USERNAME}</username> Loading .github/workflows/ci.yml +6 −13 Original line number Diff line number Diff line Loading @@ -182,18 +182,11 @@ jobs: run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: Set up Maven Central credentials run: | echo "<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 https://maven.apache.org/xsd/settings-1.0.0.xsd\"> <servers> <server> <id>central</id> <username>${{ secrets.MAVEN_CENTRAL_USERNAME }}</username> <password>${{ secrets.MAVEN_CENTRAL_PASSWORD }}</password> </server> </servers> </settings>" > ~/.m2/settings.xml mkdir -p ~/.m2 envsubst < ${{ github.workspace }}/.ci.settings.xml > ~/.m2/settings.xml env: MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} - name: Import GPG key env: GPG_TTY: $(tty) Loading archetypes/alfresco-allinone-archetype/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ <parent> <groupId>org.alfresco.maven</groupId> <artifactId>alfresco-sdk-aggregator</artifactId> <version>4.12.0</version> <version>4.13.0-A1</version> <relativePath>../../pom.xml</relativePath> </parent> Loading archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,8 @@ <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <name>AIO - SDK 4.12.0</name> <description>All-In-One (AIO) project for SDK 4.12.0</description> <name>AIO - SDK 4.13.0-A1</name> <description>All-In-One (AIO) project for SDK 4.13.0-A1</description> <packaging>pom</packaging> <prerequisites> Loading archetypes/alfresco-platform-jar-archetype/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ <parent> <groupId>org.alfresco.maven</groupId> <artifactId>alfresco-sdk-aggregator</artifactId> <version>4.12.0</version> <version>4.13.0-A1</version> <relativePath>../../pom.xml</relativePath> </parent> Loading Loading
.ci.settings.xml +5 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,11 @@ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>central</id> <username>${MAVEN_CENTRAL_USERNAME}</username> <password>${MAVEN_CENTRAL_PASSWORD}</password> </server> <server> <id>alfresco-private-repository</id> <username>${env.MAVEN_USERNAME}</username> Loading
.github/workflows/ci.yml +6 −13 Original line number Diff line number Diff line Loading @@ -182,18 +182,11 @@ jobs: run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: Set up Maven Central credentials run: | echo "<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 https://maven.apache.org/xsd/settings-1.0.0.xsd\"> <servers> <server> <id>central</id> <username>${{ secrets.MAVEN_CENTRAL_USERNAME }}</username> <password>${{ secrets.MAVEN_CENTRAL_PASSWORD }}</password> </server> </servers> </settings>" > ~/.m2/settings.xml mkdir -p ~/.m2 envsubst < ${{ github.workspace }}/.ci.settings.xml > ~/.m2/settings.xml env: MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} - name: Import GPG key env: GPG_TTY: $(tty) Loading
archetypes/alfresco-allinone-archetype/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ <parent> <groupId>org.alfresco.maven</groupId> <artifactId>alfresco-sdk-aggregator</artifactId> <version>4.12.0</version> <version>4.13.0-A1</version> <relativePath>../../pom.xml</relativePath> </parent> Loading
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,8 @@ <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <name>AIO - SDK 4.12.0</name> <description>All-In-One (AIO) project for SDK 4.12.0</description> <name>AIO - SDK 4.13.0-A1</name> <description>All-In-One (AIO) project for SDK 4.13.0-A1</description> <packaging>pom</packaging> <prerequisites> Loading
archetypes/alfresco-platform-jar-archetype/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ <parent> <groupId>org.alfresco.maven</groupId> <artifactId>alfresco-sdk-aggregator</artifactId> <version>4.12.0</version> <version>4.13.0-A1</version> <relativePath>../../pom.xml</relativePath> </parent> Loading