mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Move initializr-docs to docs profile
This commit disables the `initializr-docs` module unless the `docs` or
`full` profile is active. It is a follow-up of e3d9c3c783
that can lead
to failure with an empty repo as tests in `initializr-docs` are
attempting to resolve the snippets.
See gh-665
This commit is contained in:
@@ -36,7 +36,8 @@ in many environments (including embedded in your own project)
|
|||||||
* `initializr-web`: REST endpoints and web interface
|
* `initializr-web`: REST endpoints and web interface
|
||||||
* `initializr-actuator`: optional module to provide statistics and metrics on project
|
* `initializr-actuator`: optional module to provide statistics and metrics on project
|
||||||
generation
|
generation
|
||||||
* `initializr-docs`: documentation
|
* `initializr-docs`: documentation (not enabled by default, enable the `docs` profile
|
||||||
|
in your IDE)
|
||||||
|
|
||||||
`initializr-service` is an additional module that represents the production instance
|
`initializr-service` is an additional module that represents the production instance
|
||||||
that is available at link:https://start.spring.io[]. It is not enabled by default but
|
that is available at link:https://start.spring.io[]. It is not enabled by default but
|
||||||
|
8
pom.xml
8
pom.xml
@@ -45,7 +45,6 @@
|
|||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>initializr-actuator</module>
|
<module>initializr-actuator</module>
|
||||||
<module>initializr-docs</module>
|
|
||||||
<module>initializr-generator</module>
|
<module>initializr-generator</module>
|
||||||
<module>initializr-web</module>
|
<module>initializr-web</module>
|
||||||
</modules>
|
</modules>
|
||||||
@@ -230,9 +229,16 @@
|
|||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>docs</id>
|
||||||
|
<modules>
|
||||||
|
<module>initializr-docs</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>full</id>
|
<id>full</id>
|
||||||
<modules>
|
<modules>
|
||||||
|
<module>initializr-docs</module>
|
||||||
<module>initializr-service</module>
|
<module>initializr-service</module>
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
|
Reference in New Issue
Block a user