Skip to content

Commit

Permalink
Cleanup Pom-file
Browse files Browse the repository at this point in the history
Add Spring-Web for Actuator and H2 Console
  • Loading branch information
f11h committed May 21, 2024
1 parent 4616d2d commit 7e61c39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 63 deletions.
67 changes: 4 additions & 63 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,45 +71,6 @@
<url>https://github.com/WorldHealthOrganization/tng-key-distribution</url>
</scm>

<profiles>
<profile>
<id>docker</id>
<properties>
<build.profile.id>docker</build.profile.id>
<packaging.format>jar</packaging.format>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<outputDirectory>${project.build.directory}/docker</outputDirectory>
<finalName>ddccg</finalName>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>make-zip-ACC</id>
<phase>none</phase>
</execution>
<execution>
<id>make-zip-test</id>
<phase>none</phase>
</execution>
<execution>
<id>make-zip-PRD</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<repositories>
<repository>
<id>who-github</id>
Expand Down Expand Up @@ -149,6 +110,10 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
Expand Down Expand Up @@ -249,14 +214,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -348,22 +305,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<apiDocsUrl>http://localhost:8080/api/docs</apiDocsUrl>
</configuration>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
server:
port: 8080
spring:
application:
name: tng-key-distribution
Expand Down

0 comments on commit 7e61c39

Please sign in to comment.