diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-06-01 11:35:30 +0100 |
---|---|---|
committer | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-06-08 11:21:12 +0100 |
commit | 27c35a2fcd5efe160d92749669a686e01ea09904 (patch) | |
tree | 7d9f6de24f682cadfffdc1aaca6302bf0fa76ae2 /participant/participant-impl/participant-impl-dcae/pom.xml | |
parent | 20c7487f77d0728d270b2bed34c2c798d17cc12d (diff) |
Convert DCAE Participant to SpringBoot Application
Issue-ID: POLICY-3244
Change-Id: I64cef98a4b1a405160d533983baf7a860f1816f5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-dcae/pom.xml')
-rw-r--r-- | participant/participant-impl/participant-impl-dcae/pom.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/participant/participant-impl/participant-impl-dcae/pom.xml b/participant/participant-impl/participant-impl-dcae/pom.xml index 308084255..50a2a526d 100644 --- a/participant/participant-impl/participant-impl-dcae/pom.xml +++ b/participant/participant-impl/participant-impl-dcae/pom.xml @@ -34,10 +34,37 @@ <properties> <mockserver.version>5.11.2</mockserver.version> + <springboot.version>2.4.4</springboot.version> </properties> + <dependencyManagement> + <dependencies> + <!-- Spring Boot BOM --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-dependencies</artifactId> + <version>${springboot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + <dependencies> <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-validation</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>org.mock-server</groupId> <artifactId>mockserver-netty</artifactId> <version>${mockserver.version}</version> @@ -50,4 +77,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>${springboot.version}</version> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + <phase>package</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> |