Skip to content

Commit 5e9f6c2

Browse files
Migrated to docs.spring.io & updated sc-build
1 parent 76db32b commit 5e9f6c2

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

README.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Manual changes to this file will be lost when it is generated again.
44
Edit the files in the src/main/asciidoc/ directory instead.
55
////
66

7+
78
image::https://circleci.com/gh/spring-cloud/spring-cloud-commons.svg?style=svg[Build Status, link=https://circleci.com/gh/spring-cloud/spring-cloud-commons]
89

910

@@ -300,4 +301,4 @@ Go to `File` -> `Settings` -> `Other settings` -> `Checkstyle`. There click on t
300301
- `checkstyle.suppressions.file` - default suppressions. Please point it to the Spring Cloud Build's, `spring-cloud-build-tools/src/checkstyle/checkstyle-suppressions.xml` file either in your cloned repo or via the `https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/spring-cloud-build-tools/src/checkstyle/checkstyle-suppressions.xml` URL.
301302
- `checkstyle.additional.suppressions.file` - this variable corresponds to suppressions in your local project. E.g. you're working on `spring-cloud-contract`. Then point to the `project-root/src/checkstyle/checkstyle-suppressions.xml` folder. Example for `spring-cloud-contract` would be: `/home/username/spring-cloud-contract/src/checkstyle/checkstyle-suppressions.xml`.
302303

303-
IMPORTANT: Remember to set the `Scan Scope` to `All sources` since we apply checkstyle rules for production and test sources.
304+
IMPORTANT: Remember to set the `Scan Scope` to `All sources` since we apply checkstyle rules for production and test sources.

docs/pom.xml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<properties>
1717
<docs.main>spring-cloud-commons</docs.main>
1818
<main.basedir>${basedir}/..</main.basedir>
19-
<docs.whitelisted.branches>2.1.x,2.2.x</docs.whitelisted.branches>
2019
<configprops.inclusionPattern>spring.cloud.*</configprops.inclusionPattern>
20+
<upload-docs-zip.phase>deploy</upload-docs-zip.phase>
2121
</properties>
2222
<dependencies>
2323
<dependency>
@@ -29,17 +29,6 @@
2929
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
3030
</dependency>
3131
</dependencies>
32-
<build>
33-
<plugins>
34-
<plugin>
35-
<!--skip deploy (this is just a test module) -->
36-
<artifactId>maven-deploy-plugin</artifactId>
37-
<configuration>
38-
<skip>true</skip>
39-
</configuration>
40-
</plugin>
41-
</plugins>
42-
</build>
4332
<profiles>
4433
<profile>
4534
<id>docs</id>
@@ -69,6 +58,9 @@
6958
<groupId>org.apache.maven.plugins</groupId>
7059
<artifactId>maven-antrun-plugin</artifactId>
7160
</plugin>
61+
<plugin>
62+
<artifactId>maven-deploy-plugin</artifactId>
63+
</plugin>
7264
</plugins>
7365
</build>
7466
</profile>

docs/src/main/asciidoc/_configprops.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646
|spring.cloud.service-registry.auto-registration.register-management | true | Whether to register the management as a service. Defaults to true.
4747
|spring.cloud.util.enabled | true | Enables creation of Spring Cloud utility beans.
4848

49-
|===
49+
|===

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.cloud</groupId>
1515
<artifactId>spring-cloud-build</artifactId>
16-
<version>2.3.0.RELEASE</version>
16+
<version>2.3.1.BUILD-SNAPSHOT</version>
1717
<relativePath/> <!-- lookup parent from repository -->
1818
</parent>
1919
<scm>

0 commit comments

Comments
 (0)