Files
Chris Bono 437684839a Update apps generator plugin dependencies
This commit updates all library and plugin dependencies
in the `spring-cloud-dataflow-apps-plugin` modules to
the latest versions.

Additionally:
- performs a general cleanup of build and README files.
- updates to maven 3.9.9

Resolves #498

* Address code review comments:

- Use `1.1.0-SNAPSHOT` as version in metadata plugin README.adoc
  to be consistent w/ other examples
2024-12-10 13:57:28 -05:00

37 lines
1.5 KiB
Plaintext

= Spring Cloud Stream & Task Maven Documentation Plugin
Maven plugin for generating documentation for https://github.com/spring-cloud/stream-applications[Spring Cloud Stream Applications].
Assuming a Spring Cloud Stream / Spring Cloud Task app has exposed application properties to be visible (i.e. provided a https://dataflow.spring.io/docs/applications/application-metadata/#exposing-application-properties-for-data-flow[dataflow-configuration-metadata.properties]), this plugin will help generate documentation for the properties.
== Usage
To use this plugin, simply add the following markers to your project `README.adoc` file:
[source, properties]
----
//tag::configuration-properties[]
//end::configuration-properties[]
----
Then, configure this plugin for your app project (either directly or through a parent POM):
[source, xml]
----
<build>
<plugins>
<plugin>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-apps-docs-plugin</artifactId>
<version>1.1.0-SNAPSHOT</version>
<executions>
<execution>
<id>generate-documentation</id>
<phase>verify</phase>
<goals>
<goal>generate-documentation</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
----
Documentation for the visible properties shall appear on next build, which should then be committed to source control.