Compare commits
3 commits
f1bff720e0
...
5316279412
Author | SHA1 | Date | |
---|---|---|---|
5316279412 | |||
1a2ea9edb0 | |||
5a99244158 |
4 changed files with 16 additions and 6 deletions
12
README.md
12
README.md
|
@ -7,7 +7,15 @@
|
||||||
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-spring-boot)
|
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-spring-boot)
|
||||||
[](https://github.com/rife2/bld-spring-boot/actions/workflows/bld.yml)
|
[](https://github.com/rife2/bld-spring-boot/actions/workflows/bld.yml)
|
||||||
|
|
||||||
To install, please refer to the [extensions documentation](https://github.com/rife2/bld/wiki/Extensions).
|
To install the latest version, add the following to the `lib/bld/bld-wrapper.properties` file:
|
||||||
|
|
||||||
|
```properties
|
||||||
|
bld.extension-spring-boot=com.uwyn.rife2:bld-spring-boot
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information, please refer to the [extensions](https://github.com/rife2/bld/wiki/Extensions) documentation.
|
||||||
|
|
||||||
|
## Create an Executable JAR
|
||||||
|
|
||||||
To create a [Spring Boot executable Java Archive](https://docs.spring.io/spring-boot/docs/current/reference/html/executable-jar.html)
|
To create a [Spring Boot executable Java Archive](https://docs.spring.io/spring-boot/docs/current/reference/html/executable-jar.html)
|
||||||
(JAR) from the current project:
|
(JAR) from the current project:
|
||||||
|
@ -27,6 +35,8 @@ public void bootjar() throws Exception {
|
||||||
|
|
||||||
- [View Examples Project](https://github.com/rife2/bld-spring-boot/tree/main/examples)
|
- [View Examples Project](https://github.com/rife2/bld-spring-boot/tree/main/examples)
|
||||||
|
|
||||||
|
## Create an Executable WAR
|
||||||
|
|
||||||
To create a [Spring Boot executable Web Archive](https://docs.spring.io/spring-boot/docs/current/reference/html/executable-jar.html#appendix.executable-jar.nested-jars.war-structure)
|
To create a [Spring Boot executable Web Archive](https://docs.spring.io/spring-boot/docs/current/reference/html/executable-jar.html#appendix.executable-jar.nested-jars.war-structure)
|
||||||
(WAR) from the current project:
|
(WAR) from the current project:
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@ public class DemoApplicationBuild extends WebProject {
|
||||||
.include(dependency("org.springframework.boot", "spring-boot-starter-web", boot));
|
.include(dependency("org.springframework.boot", "spring-boot-starter-web", boot));
|
||||||
scope(test)
|
scope(test)
|
||||||
.include(dependency("org.springframework.boot", "spring-boot-starter-test", boot))
|
.include(dependency("org.springframework.boot", "spring-boot-starter-test", boot))
|
||||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 12, 0)))
|
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 12, 1)))
|
||||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 12, 0)));
|
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 12, 1)));
|
||||||
scope(standalone)
|
scope(standalone)
|
||||||
.include(dependency("org.springframework.boot", "spring-boot-loader", boot));
|
.include(dependency("org.springframework.boot", "spring-boot-loader", boot));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
bld.downloadExtensionJavadoc=false
|
bld.downloadExtensionJavadoc=false
|
||||||
bld.downloadExtensionSources=true
|
bld.downloadExtensionSources=true
|
||||||
bld.downloadLocation=
|
bld.downloadLocation=
|
||||||
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.2.0
|
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.2.1
|
||||||
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_RELEASES
|
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_RELEASES
|
||||||
bld.sourceDirectories=
|
bld.sourceDirectories=
|
||||||
bld.version=2.2.1
|
bld.version=2.2.1
|
||||||
|
|
|
@ -45,8 +45,8 @@ public class SpringBootBuild extends Project {
|
||||||
scope(compile)
|
scope(compile)
|
||||||
.include(dependency("com.uwyn.rife2", "bld", version(2, 2, 1)));
|
.include(dependency("com.uwyn.rife2", "bld", version(2, 2, 1)));
|
||||||
scope(test)
|
scope(test)
|
||||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 12, 0)))
|
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 12, 1)))
|
||||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 12, 0)))
|
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 12, 1)))
|
||||||
.include(dependency("org.assertj", "assertj-core", version(3, 27, 3)));
|
.include(dependency("org.assertj", "assertj-core", version(3, 27, 3)));
|
||||||
|
|
||||||
javadocOperation()
|
javadocOperation()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue