Add info in readme. Update global parent. Add plugin management for spring boot maven-plugin.
This commit is contained in:
parent
6e72794fd2
commit
868c9f5e06
13
README.md
13
README.md
|
@ -1,11 +1,20 @@
|
|||
# uoa-spring-boot-parent
|
||||
|
||||
This parent contains the dependency management for spring boot applications.
|
||||
This parent contains the global configuration for:
|
||||
|
||||
- Parent [uoa-global-parent](https://code-repo.d4science.org/MaDgIK/uoa-global-parent)
|
||||
- Dependency Management for Spring boot.
|
||||
- Spring boot basic dependencies
|
||||
- [Google Gson Dependency](https://mvnrepository.com/artifact/com.google.code.gson/gson)
|
||||
- Build Configuration:
|
||||
- Plugin Management for spring maven plugin.
|
||||
- Resources directory
|
||||
- Global properties for spring-boot, google-gson and spring-doc (Swagger)
|
||||
|
||||
## Usage
|
||||
|
||||
<parent>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-spring-boot-parent</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<version>2.0.3</version>
|
||||
</parent>
|
||||
|
|
25
pom.xml
25
pom.xml
|
@ -1,16 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-global-parent</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<version>2.0.3</version>
|
||||
</parent>
|
||||
<artifactId>uoa-spring-boot-parent</artifactId>
|
||||
<version>2.0.3-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<scm>
|
||||
<developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-spring-boot-parent.git</developerConnection>
|
||||
<developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-spring-boot-parent.git
|
||||
</developerConnection>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
<dependencyManagement>
|
||||
|
@ -61,6 +63,22 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot-version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
|
@ -69,7 +87,6 @@
|
|||
</resources>
|
||||
</build>
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<spring-boot-version>3.3.1</spring-boot-version>
|
||||
<gson-version>2.9.0</gson-version>
|
||||
<spring-doc-version>2.6.0</spring-doc-version>
|
||||
|
|
Loading…
Reference in New Issue