aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application/pom.xml
diff options
context:
space:
mode:
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>2021-02-04 09:33:28 +0100
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>2021-02-04 12:58:14 +0100
commitb1ccfce0b229d544bf08b1c197a2365b40369796 (patch)
treefd803e64387205147eda40668532a1aa053f7376 /cps-application/pom.xml
parent1540a5809fff8477bfdb6f43fd6c475cf13c6d71 (diff)
Decouple application configuration file
Agreement is that application configuration should live on OOM - leave an example of the configuration file under docker compose to run locally, instead of use OOM. Mainly for devs - document on README how to run the app with IDE or with docker compose - remove duplicate code on poms Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I328e89dba78cdf4d8abab51e3be5cb6d641064db
Diffstat (limited to 'cps-application/pom.xml')
-rw-r--r--cps-application/pom.xml29
1 files changed, 4 insertions, 25 deletions
diff --git a/cps-application/pom.xml b/cps-application/pom.xml
index a159ad883..744efb2d2 100644
--- a/cps-application/pom.xml
+++ b/cps-application/pom.xml
@@ -68,6 +68,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
<profiles>
@@ -76,21 +80,12 @@
<activation>
<activeByDefault>false</activeByDefault>
</activation>
-
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cps-rest</artifactId>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>jib-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</profile>
<profile>
<id>xnf-docker</id>
@@ -109,14 +104,6 @@
<artifactId>cps-nf-proxy-rest</artifactId>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>jib-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</profile>
<profile>
<id>cps-xnf-docker</id>
@@ -139,14 +126,6 @@
<artifactId>cps-nf-proxy-rest</artifactId>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>jib-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</profile>
</profiles>
</project> \ No newline at end of file