diff options
author | pwielebs <piotr.wielebski@nokia.com> | 2018-09-04 09:50:05 +0200 |
---|---|---|
committer | pwielebs <piotr.wielebski@nokia.com> | 2018-09-04 09:50:05 +0200 |
commit | be3127220aed103d1c1bb495080d62593d61b835 (patch) | |
tree | d18321c21dd28859e5f6e7eed3553ea0fff38a3c /prh-app-server/pom.xml | |
parent | a4c979b6de8c1c76f0f12ae2b8dd0e60c3084830 (diff) |
Maven resources refactoring
Added resurces to java spring classpath directly
Change-Id: I194748706f63cff1966111bbdb52538bd5a83855
Issue-ID: DCAEGEN2-606
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-app-server/pom.xml')
-rw-r--r-- | prh-app-server/pom.xml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml index 9ecf57b5..b04c06b9 100644 --- a/prh-app-server/pom.xml +++ b/prh-app-server/pom.xml @@ -19,8 +19,8 @@ ~ ============LICENSE_END========================================================= --> <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"> + 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> @@ -41,8 +41,7 @@ <build> <resources> <resource> - <directory>config</directory> - <targetPath>${project.build.directory}/config</targetPath> + <directory>src/main/resources</directory> </resource> </resources> @@ -71,16 +70,12 @@ <include>${project.artifactId}.jar</include> <targetPath>/opt</targetPath> </resource> - <resource> - <directory>${project.build.directory}/config</directory> - <targetPath>/config</targetPath> - </resource> </resources> <exposes> <expose>8100</expose> <expose>8433</expose> </exposes> - <entryPoint>["java", "-jar", "/opt/${project.artifactId}.jar"]</entryPoint> + <cmd>["java", "-jar", "/opt/${project.artifactId}.jar"]</cmd> </configuration> <executions> <execution> |