Removed unnecessary file deployment step

This commit is contained in:
Marcin Grzejszczak
2023-09-07 12:05:51 +02:00
parent d0afe5ee7a
commit 6e29350efd
5 changed files with 10 additions and 40 deletions

View File

@@ -1,3 +1,3 @@
* xref:index.adoc[]
* xref:building.adoc[Building]
* xref:contributing.adoc[Contributing]
* xref:building.adoc[]
* xref:contributing.adoc[]

View File

@@ -1 +1,4 @@
[[building]]
= Building
include::partial$building.adoc[]

View File

@@ -1 +1,4 @@
[[contributing]]
= Contributing
include::partial$contributing.adoc[]

View File

@@ -1,4 +1,4 @@
[[spring-cloud-build]]
= Spring Cloud Build
[[overview]]
= Overview
Spring Cloud Build is a common utility project for Spring Cloud to use for plugin and dependency management.

36
pom.xml
View File

@@ -1194,25 +1194,6 @@
</target>
</configuration>
</execution>
<execution>
<id>package-and-attach-docs-zip</id>
<phase>${package-and-attach-docs-zip.phase}</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<zip
destfile="${project.build.directory}/${project.artifactId}-${revision}.zip">
<!--<zipfileset
src="${project.build.directory}/${project.artifactId}-${revision}-javadoc.jar"
prefix="api" />-->
<!-- <fileset dir="${project.build.directory}/contents"/>-->
<fileset dir="${project.build.directory}/generated-docs"/>
</zip>
</target>
</configuration>
</execution>
<execution>
<id>setup-maven-properties</id>
<phase>initialize</phase>
@@ -1258,23 +1239,6 @@
<goal>deploy</goal>
</goals>
</execution>
<execution>
<id>upload-docs-zip</id>
<phase>${upload-docs-zip.phase}</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<generatePom>false</generatePom>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<repositoryId>${maven-deploy-plugin.deployZipRepositoryId}</repositoryId>
<url>${maven-deploy-plugin.deployZipUrl}</url>
<file>${project.build.directory}/${project.artifactId}-${project.version}.zip</file>
<packaging>zip;zip.type=docs;zip.deployed=false;</packaging>
</configuration>
</execution>
</executions>
</plugin>
</plugins>