-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
200 fj doc maven plugin goal init new parameter flavourversion (#201)
* [fj-doc-maven-plugin] goal init, flavour quarkus-3, default quarkus version 3.14.3 * - [fj-doc-maven-plugin] goal init, flavour micronaut-4, default micronaut version 4.6.2 * Added flavour default to readme - [fj-doc-maven-plugin] goal init, flavour quarkus-2, default quarkus version 2.16.12.Final - [fj-doc-maven-plugin] goal init, flavour springboot-3, default springboot version 3.3.3 - [fj-doc-maven-plugin] goal init, flavour openliberty, default openliberty version 24.0.0.9 * [fj-doc-maven-plugin] goal init, new parameter : flavourVersion #199 [fj-doc-playground-quarkus] doc project init, added flavour version parameter * Sonar cloud issues #199 * [fj-doc-maven-plugin] goal init, generation of flavour 'vanilla' was bugged * Fixed sonar issues #199 * Remove codacy issues #199 * Mark down issue #199
- Loading branch information
Showing
21 changed files
with
147 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
fj-doc-maven-plugin/src/main/resources/config/flavour/flavour_versions_default.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# default flavour versions | ||
quarkus-3=3.14.3 | ||
quarkus-2=2.16.12.Final | ||
micronaut-4=4.6.2 | ||
springboot-3=3.3.3 | ||
openliberty=20.0.0.9 |
18 changes: 9 additions & 9 deletions
18
fj-doc-maven-plugin/src/main/resources/config/template/flavour/micronaut-4-fm-yml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<#import 'flavour-macro.ftl' as fhm> | ||
--- | ||
flavour: micronaut-4 | ||
flavour: ${context.flavour} | ||
process: | ||
- from: flavour/micronaut-4/pom.ftl | ||
- from: flavour/${context.flavour}/pom.ftl | ||
to: ${context.projectFolder}/pom.xml | ||
- from: flavour/micronaut-4/README.ftl | ||
- from: flavour/${context.flavour}/README.ftl | ||
to: ${context.projectFolder}/README.md | ||
- from: flavour/micronaut-4/gitignore.ftl | ||
- from: flavour/${context.flavour}/gitignore.ftl | ||
to: ${context.projectFolder}/.gitignore | ||
- from: flavour/micronaut-4/MicronautController.ftl | ||
- from: flavour/${context.flavour}/MicronautController.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/${context.artifactIdAsClassName}Controller.java | ||
- from: flavour/micronaut-4/DocController.ftl | ||
- from: flavour/${context.flavour}/DocController.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/DocController.java | ||
- from: flavour/micronaut-4/Application.ftl | ||
- from: flavour/${context.flavour}/Application.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/Application.java | ||
- from: flavour/micronaut-4/MicronautTest.ftl | ||
- from: flavour/${context.flavour}/MicronautTest.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/${context.artifactIdAsClassName}Test.java | ||
- from: flavour/micronaut-4/application_yml.ftl | ||
- from: flavour/${context.flavour}/application_yml.ftl | ||
to: ${context.projectFolder}/src/main/resources/application.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
fj-doc-maven-plugin/src/main/resources/config/template/flavour/openliberty-fm-yml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<#import 'flavour-macro.ftl' as fhm> | ||
--- | ||
flavour: openliberty | ||
flavour: ${context.flavour} | ||
process: | ||
- from: flavour/openliberty/pom.ftl | ||
- from: flavour/${context.flavour}/pom.ftl | ||
to: ${context.projectFolder}/pom.xml | ||
- from: flavour/openliberty/README.ftl | ||
- from: flavour/${context.flavour}/README.ftl | ||
to: ${context.projectFolder}/README.md | ||
- from: flavour/openliberty/gitignore.ftl | ||
- from: flavour/${context.flavour}/gitignore.ftl | ||
to: ${context.projectFolder}/.gitignore | ||
- from: flavour/openliberty/server.ftl | ||
- from: flavour/${context.flavour}/server.ftl | ||
to: ${context.projectFolder}/src/main/liberty/config/server.xml | ||
- from: flavour/openliberty/web.ftl | ||
- from: flavour/${context.flavour}/web.ftl | ||
to: ${context.projectFolder}/src/main/webapp/WEB-INF/web.xml | ||
- from: flavour/openliberty/RestApplication.ftl | ||
- from: flavour/${context.flavour}/RestApplication.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/RestApplication.java | ||
- from: flavour/openliberty/GreetingResource.ftl | ||
- from: flavour/${context.flavour}/GreetingResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/GreetingResource.java | ||
- from: flavour/openliberty/DocResource.ftl | ||
- from: flavour/${context.flavour}/DocResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/DocResource.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
fj-doc-maven-plugin/src/main/resources/config/template/flavour/quarkus-2-fm-yml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<#import 'flavour-macro.ftl' as fhm> | ||
--- | ||
flavour: quarkus-2 | ||
flavour: ${context.flavour} | ||
process: | ||
- from: flavour/quarkus-2/pom.ftl | ||
- from: flavour/${context.flavour}/pom.ftl | ||
to: ${context.projectFolder}/pom.xml | ||
- from: flavour/quarkus-2/README.ftl | ||
- from: flavour/${context.flavour}/README.ftl | ||
to: ${context.projectFolder}/README.md | ||
- from: flavour/quarkus-2/gitignore.ftl | ||
- from: flavour/${context.flavour}/gitignore.ftl | ||
to: ${context.projectFolder}/.gitignore | ||
- from: flavour/quarkus-2/GreetingConfig.ftl | ||
- from: flavour/${context.flavour}/GreetingConfig.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/GreetingConfig.java | ||
- from: flavour/quarkus-2/GreetingResource.ftl | ||
- from: flavour/${context.flavour}/GreetingResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/GreetingResource.java | ||
- from: flavour/quarkus-2/GreetingResourceTest.ftl | ||
- from: flavour/${context.flavour}/GreetingResourceTest.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/GreetingResourceTest.java | ||
- from: flavour/quarkus-2/GreetingResourceIT.ftl | ||
- from: flavour/${context.flavour}/GreetingResourceIT.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/GreetingResourceIT.java | ||
- from: flavour/quarkus-2/DocResource.ftl | ||
- from: flavour/${context.flavour}/DocResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/DocResource.java | ||
- from: flavour/quarkus-2/DocResourceTest.ftl | ||
- from: flavour/${context.flavour}/DocResourceTest.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/DocResourceTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
fj-doc-maven-plugin/src/main/resources/config/template/flavour/quarkus-3-fm-yml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<#import 'flavour-macro.ftl' as fhm> | ||
--- | ||
flavour: quarkus-3 | ||
flavour: ${context.flavour} | ||
process: | ||
- from: flavour/quarkus-3/pom.ftl | ||
- from: flavour/${context.flavour}/pom.ftl | ||
to: ${context.projectFolder}/pom.xml | ||
- from: flavour/quarkus-3/README.ftl | ||
- from: flavour/${context.flavour}/README.ftl | ||
to: ${context.projectFolder}/README.md | ||
- from: flavour/quarkus-3/gitignore.ftl | ||
- from: flavour/${context.flavour}/gitignore.ftl | ||
to: ${context.projectFolder}/.gitignore | ||
- from: flavour/quarkus-3/GreetingConfig.ftl | ||
- from: flavour/${context.flavour}/GreetingConfig.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/GreetingConfig.java | ||
- from: flavour/quarkus-3/GreetingResource.ftl | ||
- from: flavour/${context.flavour}/GreetingResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/GreetingResource.java | ||
- from: flavour/quarkus-3/GreetingResourceTest.ftl | ||
- from: flavour/${context.flavour}/GreetingResourceTest.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/GreetingResourceTest.java | ||
- from: flavour/quarkus-3/GreetingResourceIT.ftl | ||
- from: flavour/${context.flavour}/GreetingResourceIT.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/GreetingResourceIT.java | ||
- from: flavour/quarkus-3/DocResource.ftl | ||
- from: flavour/${context.flavour}/DocResource.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/DocResource.java | ||
- from: flavour/quarkus-3/DocResourceTest.ftl | ||
- from: flavour/${context.flavour}/DocResourceTest.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/DocResourceTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
fj-doc-maven-plugin/src/main/resources/config/template/flavour/springboot-3-fm-yml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<#import 'flavour-macro.ftl' as fhm> | ||
--- | ||
flavour: springboot-3 | ||
flavour: ${context.flavour} | ||
process: | ||
- from: flavour/springboot-3/pom.ftl | ||
- from: flavour/${context.flavour}/pom.ftl | ||
to: ${context.projectFolder}/pom.xml | ||
- from: flavour/springboot-3/README.ftl | ||
- from: flavour/${context.flavour}/README.ftl | ||
to: ${context.projectFolder}/README.md | ||
- from: flavour/springboot-3/gitignore.ftl | ||
- from: flavour/${context.flavour}/gitignore.ftl | ||
to: ${context.projectFolder}/.gitignore | ||
- from: flavour/springboot-3/SpringbootApplication.ftl | ||
- from: flavour/${context.flavour}/SpringbootApplication.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/${context.artifactIdAsClassName}Application.java | ||
- from: flavour/springboot-3/DocController.ftl | ||
- from: flavour/${context.flavour}/DocController.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/DocController.java | ||
- from: flavour/springboot-3/SpringbootApplication.ftl | ||
- from: flavour/${context.flavour}/SpringbootApplication.ftl | ||
to: ${context.projectFolder}/src/main/java/<@fhm.toProjectPackageFolder context=context/>/${context.artifactIdAsClassName}Application.java | ||
- from: flavour/springboot-3/SpringbootApplicationTests.ftl | ||
- from: flavour/${context.flavour}/SpringbootApplicationTests.ftl | ||
to: ${context.projectFolder}/src/test/java/test/<@fhm.toProjectPackageFolder context=context/>/${context.artifactIdAsClassName}ApplicationTests.java | ||
- from: flavour/springboot-3/application.ftl | ||
- from: flavour/${context.flavour}/application.ftl | ||
to: ${context.projectFolder}/src/main/resources/application.yaml |
Oops, something went wrong.