mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix pom. Update release stage
This commit is contained in:
10
packaging/tests/tas-restapi/.travis.settings.xml
Normal file
10
packaging/tests/tas-restapi/.travis.settings.xml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<settings>
|
||||||
|
<!-- required to push artifacts to repositories -->
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>alfresco-public</id>
|
||||||
|
<username>${env.MAVEN_USERNAME}</username>
|
||||||
|
<password>${env.MAVEN_PASSWORD}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
</settings>
|
@@ -26,9 +26,10 @@ jobs:
|
|||||||
- stage: release
|
- stage: release
|
||||||
name: "Push to Nexus"
|
name: "Push to Nexus"
|
||||||
if: fork = false AND branch = master AND type != pull_request
|
if: fork = false AND branch = master AND type != pull_request
|
||||||
|
before_install:
|
||||||
|
- "cp .travis.settings.xml $HOME/.m2/settings.xml"
|
||||||
script:
|
script:
|
||||||
# Use full history for release
|
# Use full history for release
|
||||||
- git checkout -B "${TRAVIS_BRANCH}"
|
- git checkout -B "${TRAVIS_BRANCH}"
|
||||||
# Skip building of release commits
|
# Skip building of release commits
|
||||||
- mvn --batch-mode -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform \
|
- mvn --batch-mode -DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}" -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform
|
||||||
-DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}"
|
|
@@ -5,6 +5,12 @@
|
|||||||
<artifactId>restapi</artifactId>
|
<artifactId>restapi</artifactId>
|
||||||
<name>alfresco-tas-restapi</name>
|
<name>alfresco-tas-restapi</name>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.alfresco</groupId>
|
||||||
|
<artifactId>alfresco-super-pom</artifactId>
|
||||||
|
<version>10</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
<organization>
|
<organization>
|
||||||
<name>Alfresco Software</name>
|
<name>Alfresco Software</name>
|
||||||
<url>http://www.alfresco.com/</url>
|
<url>http://www.alfresco.com/</url>
|
||||||
@@ -22,7 +28,6 @@
|
|||||||
<suiteXmlFile>src/main/resources/shared-resources/testCount.xml</suiteXmlFile>
|
<suiteXmlFile>src/main/resources/shared-resources/testCount.xml</suiteXmlFile>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<tas.utility.version>2.0.22</tas.utility.version>
|
<tas.utility.version>2.0.22</tas.utility.version>
|
||||||
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
|
||||||
<rest-assured.version>3.3.0</rest-assured.version>
|
<rest-assured.version>3.3.0</rest-assured.version>
|
||||||
<httpclient-osgi-version>4.5.2</httpclient-osgi-version>
|
<httpclient-osgi-version>4.5.2</httpclient-osgi-version>
|
||||||
<json-path.version>3.3.0</json-path.version>
|
<json-path.version>3.3.0</json-path.version>
|
||||||
@@ -41,8 +46,8 @@
|
|||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:Alfresco/alfresco-tas-restapi.git</connection>
|
<connection>scm:git:https://github.com/Alfresco/alfresco-tas-restapi.git</connection>
|
||||||
<developerConnection>scm:git:git@github.com:Alfresco/alfresco-tas-restapi.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/Alfresco/alfresco-tas-restapi.git</developerConnection>
|
||||||
<url>https://github.com/Alfresco/alfresco-tas-restapi</url>
|
<url>https://github.com/Alfresco/alfresco-tas-restapi</url>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
@@ -52,39 +57,30 @@
|
|||||||
<url>https://issues.alfresco.com/jira/browse/</url>
|
<url>https://issues.alfresco.com/jira/browse/</url>
|
||||||
</issueManagement>
|
</issueManagement>
|
||||||
|
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<snapshotRepository>
|
|
||||||
<id>alfresco-public-snapshots</id>
|
|
||||||
<url>https://nexus.alfresco.com/nexus/content/repositories/snapshots/</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-public-releases</id>
|
<id>alfresco-public</id>
|
||||||
<url>https://nexus.alfresco.com/nexus/content/repositories/releases/</url>
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>alfresco-public</id>
|
||||||
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots</url>
|
||||||
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<!-- Alfresco Repository -->
|
||||||
<pluginManagement>
|
<repositories>
|
||||||
<plugins>
|
<repository>
|
||||||
<plugin>
|
<id>alfresco-public</id>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
<artifactId>maven-remote-resources-plugin</artifactId>
|
</repository>
|
||||||
<version>${maven-remote-resources.version}</version>
|
</repositories>
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<version>${maven-jar-plugin.version}</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</pluginManagement>
|
|
||||||
|
|
||||||
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>${maven-compiler-plugin.version}</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>${java.version}</release>
|
<release>${java.version}</release>
|
||||||
<showWarnings>true</showWarnings>
|
<showWarnings>true</showWarnings>
|
||||||
@@ -113,6 +109,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-remote-resources-plugin</artifactId>
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
||||||
|
<version>${maven-remote-resources.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<includes>
|
<includes>
|
||||||
<include>shared-resources/**/*</include>
|
<include>shared-resources/**/*</include>
|
||||||
@@ -133,7 +130,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<version>1.6.0</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
@@ -155,7 +151,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>3.0.1</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@@ -168,7 +163,6 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>3.0.0-M2</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>enforce-maven</id>
|
<id>enforce-maven</id>
|
||||||
|
Reference in New Issue
Block a user