public final class JkSpringbootProject
extends java.lang.Object
JkProjects.| Modifier and Type | Class and Description |
|---|---|
static class |
JkSpringbootProject.SpringbootScaffoldTemplate |
| Modifier and Type | Field and Description |
|---|---|
static dev.jeka.core.api.depmanagement.artifact.JkArtifactId |
ORIGINAL_ARTIFACT |
static java.lang.String |
OVERRIDE_SCAFFOLDED_SPRINGBOOT_PLUGIN_DEPENDENCY_PROP_NAME |
| Modifier and Type | Method and Description |
|---|---|
JkSpringbootProject |
addSpringRepo(JkSpringRepo springRepo)
Adds the specified Spring repository to the download repo.
|
JkSpringbootProject |
configure()
Configures the underlying project for Spring-Boot usinf sensitive default
|
JkSpringbootProject |
configure(boolean createBootJar,
boolean createWarFile,
boolean createOriginalJar)
Configures the underlying project for Spring-Boot.
|
java.nio.file.Path |
createBootJar()
Creates the bootable jar at the conventional location.
|
void |
createBootJar(java.nio.file.Path target)
Creates the bootable jar at the specified location.
|
JkSpringbootProject |
includeParentBom(java.lang.String version)
Includes org.springframework.boot:spring-boot-dependencies BOM in project dependencies.
|
static JkSpringbootProject |
of(dev.jeka.core.api.project.JkProject project)
Creates a
JkSpringbootProject from the specified JkProject. |
public static final dev.jeka.core.api.depmanagement.artifact.JkArtifactId ORIGINAL_ARTIFACT
public static final java.lang.String OVERRIDE_SCAFFOLDED_SPRINGBOOT_PLUGIN_DEPENDENCY_PROP_NAME
public static JkSpringbootProject of(dev.jeka.core.api.project.JkProject project)
JkSpringbootProject from the specified JkProject.public JkSpringbootProject configure(boolean createBootJar, boolean createWarFile, boolean createOriginalJar)
createBootJar - Should create or not, a bootable jar file. The bootable jar file will be set as the default artifact.createWarFile - Should create or not, a .war file to be deployed in application servercreateOriginalJar - Should create or not, the original jar, meaning the jar containing the application classes, without dependencies.public JkSpringbootProject configure()
configure(boolean, boolean, boolean)public JkSpringbootProject includeParentBom(java.lang.String version)
version - The Spring-Boot version to use.public JkSpringbootProject addSpringRepo(JkSpringRepo springRepo)
public java.nio.file.Path createBootJar()
createBootJar(Path)public void createBootJar(java.nio.file.Path target)