Skip to content

Commit

Permalink
Fix docs generation
Browse files Browse the repository at this point in the history
- Missing changes for release workflow
- Fixes spring-cloud#4586
  • Loading branch information
jvalkeal committed Jun 18, 2021
1 parent 8b0cb2a commit 1d688bf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-snapshot-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
# build and publish to configured target
- name: Build and Publish
run: |
jfrog rt mvn -U -B clean install
jfrog rt mvn clean install \
-Pfull \
-U -B
jfrog rt build-publish
echo BUILD_ZOO_HANDLER_spring_cloud_dataflow_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) >> $GITHUB_ENV
echo BUILD_ZOO_HANDLER_spring_cloud_dataflow_buildname=spring-cloud-dataflow-main >> $GITHUB_ENV
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
# build and publish
- name: Build and Publish
run: |
jfrog rt mvn -U -B clean install
jfrog rt mvn clean install \
-Pfull \
-U -B
jfrog rt build-publish
# build images to local repo to get pushed
Expand Down
34 changes: 19 additions & 15 deletions spring-cloud-dataflow-classic-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,23 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reuseForks>false</reuseForks>
<includes>
<include>**/*Documentation.java</include>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>full</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
<includes>
<include>**/*Documentation.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 1d688bf

Please sign in to comment.