mirror of
https://github.com/spring-cloud/spring-cloud-build.git
synced 2026-09-17 12:49:00 +00:00
Allows to disable default deploy by manipulating the phase
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
<maven-dependency-plugin-for-docs-classes.phase>none</maven-dependency-plugin-for-docs-classes.phase>
|
<maven-dependency-plugin-for-docs-classes.phase>none</maven-dependency-plugin-for-docs-classes.phase>
|
||||||
<docs.resources.dir>${project.basedir}/src/main/</docs.resources.dir>
|
<docs.resources.dir>${project.basedir}/src/main/</docs.resources.dir>
|
||||||
<upload-docs-zip.phase>deploy</upload-docs-zip.phase>
|
<upload-docs-zip.phase>deploy</upload-docs-zip.phase>
|
||||||
|
<!-- Don't upload docs jar to central / repo.spring.io -->
|
||||||
|
<maven-deploy-plugin-default.phase>none</maven-deploy-plugin-default.phase>
|
||||||
<!-- We don't want to reference plugin classpath of ourselves -->
|
<!-- We don't want to reference plugin classpath of ourselves -->
|
||||||
<readme.class.path>maven.compile.classpath</readme.class.path>
|
<readme.class.path>maven.compile.classpath</readme.class.path>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -114,6 +114,7 @@
|
|||||||
<generated-docs-pdf-output.dir>${project.build.directory}/generated-docs/reference/pdf</generated-docs-pdf-output.dir>
|
<generated-docs-pdf-output.dir>${project.build.directory}/generated-docs/reference/pdf</generated-docs-pdf-output.dir>
|
||||||
<javadoc.failOnError>false</javadoc.failOnError>
|
<javadoc.failOnError>false</javadoc.failOnError>
|
||||||
<javadoc.failOnWarnings>false</javadoc.failOnWarnings>
|
<javadoc.failOnWarnings>false</javadoc.failOnWarnings>
|
||||||
|
<maven-deploy-plugin-default.phase>deploy</maven-deploy-plugin-default.phase>
|
||||||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
||||||
<maven-deploy-plugin.deployZipRepositoryId>repo.spring.io</maven-deploy-plugin.deployZipRepositoryId>
|
<maven-deploy-plugin.deployZipRepositoryId>repo.spring.io</maven-deploy-plugin.deployZipRepositoryId>
|
||||||
<maven-deploy-plugin.deployZipUrl>https://repo.spring.io/libs-snapshot-local</maven-deploy-plugin.deployZipUrl>
|
<maven-deploy-plugin.deployZipUrl>https://repo.spring.io/libs-snapshot-local</maven-deploy-plugin.deployZipUrl>
|
||||||
@@ -1466,6 +1467,13 @@
|
|||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>${maven-deploy-plugin.version}</version>
|
<version>${maven-deploy-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default-deploy</id>
|
||||||
|
<phase>${maven-deploy-plugin-default.phase}</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>deploy</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>upload-docs-zip</id>
|
<id>upload-docs-zip</id>
|
||||||
<phase>${upload-docs-zip.phase}</phase>
|
<phase>${upload-docs-zip.phase}</phase>
|
||||||
|
|||||||
Reference in New Issue
Block a user