summaryrefslogtreecommitdiffstats
path: root/certServiceClient
diff options
context:
space:
mode:
Diffstat (limited to 'certServiceClient')
-rw-r--r--certServiceClient/Dockerfile2
-rw-r--r--certServiceClient/pom.xml20
2 files changed, 21 insertions, 1 deletions
diff --git a/certServiceClient/Dockerfile b/certServiceClient/Dockerfile
index 8b2d1700..9da47295 100644
--- a/certServiceClient/Dockerfile
+++ b/certServiceClient/Dockerfile
@@ -10,4 +10,4 @@ USER certServiceClient:certServiceClient
COPY target/aaf-certservice-client-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-client.jar
-ENTRYPOINT ["echo","================================ THIS IS CERT-SERVICE-CLIENT CONTAINER RUNNING ================================"]
+ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-client.jar"]
diff --git a/certServiceClient/pom.xml b/certServiceClient/pom.xml
index 7ba9b5ed..f32501bf 100644
--- a/certServiceClient/pom.xml
+++ b/certServiceClient/pom.xml
@@ -87,6 +87,26 @@
</images>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.2</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.onap.aaf.certservice.client.CertServiceClientApp</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>