diff --git a/packaging/tests/tas-restapi/.travis.settings.xml b/packaging/tests/tas-restapi/.travis.settings.xml new file mode 100644 index 0000000000..e8f1196935 --- /dev/null +++ b/packaging/tests/tas-restapi/.travis.settings.xml @@ -0,0 +1,10 @@ + + + + + alfresco-public + ${env.MAVEN_USERNAME} + ${env.MAVEN_PASSWORD} + + + diff --git a/packaging/tests/tas-restapi/.travis.yml b/packaging/tests/tas-restapi/.travis.yml index 69a654ef06..844121235c 100644 --- a/packaging/tests/tas-restapi/.travis.yml +++ b/packaging/tests/tas-restapi/.travis.yml @@ -26,9 +26,10 @@ jobs: - stage: release name: "Push to Nexus" if: fork = false AND branch = master AND type != pull_request + before_install: + - "cp .travis.settings.xml $HOME/.m2/settings.xml" script: # Use full history for release - git checkout -B "${TRAVIS_BRANCH}" # Skip building of release commits - - mvn --batch-mode -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform \ - -DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}" \ No newline at end of file + - mvn --batch-mode -DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}" -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform \ No newline at end of file diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index 98353964b7..f7f4a191a5 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -5,6 +5,12 @@ restapi alfresco-tas-restapi 1.0-SNAPSHOT + + org.alfresco + alfresco-super-pom + 10 + + Alfresco Software http://www.alfresco.com/ @@ -22,7 +28,6 @@ src/main/resources/shared-resources/testCount.xml UTF-8 2.0.22 - 3.8.0 3.3.0 4.5.2 3.3.0 @@ -41,8 +46,8 @@ - scm:git:git@github.com:Alfresco/alfresco-tas-restapi.git - scm:git:git@github.com:Alfresco/alfresco-tas-restapi.git + scm:git:https://github.com/Alfresco/alfresco-tas-restapi.git + scm:git:https://github.com/Alfresco/alfresco-tas-restapi.git https://github.com/Alfresco/alfresco-tas-restapi HEAD @@ -52,39 +57,30 @@ https://issues.alfresco.com/jira/browse/ - - - alfresco-public-snapshots - https://nexus.alfresco.com/nexus/content/repositories/snapshots/ - - alfresco-public-releases - https://nexus.alfresco.com/nexus/content/repositories/releases/ + alfresco-public + https://artifacts.alfresco.com/nexus/content/repositories/releases + + alfresco-public + https://artifacts.alfresco.com/nexus/content/repositories/snapshots + - - - - - org.apache.maven.plugins - maven-remote-resources-plugin - ${maven-remote-resources.version} - - - org.apache.maven.plugins - maven-jar-plugin - ${maven-jar-plugin.version} - - - + + + + alfresco-public + https://artifacts.alfresco.com/nexus/content/groups/public + + + org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} ${java.version} true @@ -113,6 +109,7 @@ org.apache.maven.plugins maven-remote-resources-plugin + ${maven-remote-resources.version} shared-resources/**/* @@ -133,7 +130,6 @@ org.codehaus.mojo exec-maven-plugin - 1.6.0 @@ -155,7 +151,6 @@ org.apache.maven.plugins maven-source-plugin - 3.0.1 attach-sources @@ -168,7 +163,6 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M2 enforce-maven