* org.onap.dmaap\r
* ===========================================================================\r
* Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
+ * Modifications Copyright (C) 2018 Nokia. All rights reserved.\r
* ===========================================================================\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
<parent>\r
<groupId>org.onap.dmaap.datarouter</groupId>\r
<artifactId>parent</artifactId>\r
- <version>1.0.1-SNAPSHOT</version>\r
+ <version>1.0.5-SNAPSHOT</version>\r
<relativePath>../pom.xml</relativePath>\r
</parent>\r
<artifactId>datarouter-prov</artifactId>\r
</properties>\r
<dependencies>\r
<dependency>\r
- <groupId>dom4j</groupId>\r
+ <groupId>xml-apis</groupId>\r
+ <artifactId>xml-apis</artifactId>\r
+ <version>${xml-apis.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.dom4j</groupId>\r
<artifactId>dom4j</artifactId>\r
<version>${dom4j.version}</version>\r
</dependency>\r
<groupId>org.hibernate</groupId>\r
<artifactId>hibernate-entitymanager</artifactId>\r
<version>5.2.9.Final</version>\r
+ <exclusions>\r
+ <exclusion>\r
+ <groupId>dom4j</groupId>\r
+ <artifactId>dom4j</artifactId>\r
+ </exclusion>\r
+ </exclusions>\r
</dependency>\r
</dependencies>\r
<profiles>\r
<version>1.0.0</version>\r
<configuration>\r
<imageName>${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}</imageName>\r
- <dockerDirectory>${docker.location}</dockerDirectory>\r
+ <baseImage>java:8</baseImage>\r
<serverId>${onap.nexus.dockerregistry.daily}</serverId>\r
<skipDockerBuild>false</skipDockerBuild>\r
<imageTags>\r
<imageTag>latest</imageTag>\r
</imageTags>\r
<forceTags>true</forceTags>\r
+ <entryPoint>["/startup.sh", "start"]</entryPoint>\r
<resources>\r
<resource>\r
- <targetPath>/</targetPath>\r
- <directory>${project.basedir}</directory>\r
- <excludes>\r
- <exclude>target/**/*</exclude>\r
- <exclude>pom.xml</exclude>\r
- </excludes>\r
+ <targetPath>/opt</targetPath>\r
+ <directory>${project.build.directory}/opt</directory>\r
</resource>\r
-\r
<resource>\r
<targetPath>/</targetPath>\r
- <directory>${project.build.directory}</directory>\r
- <include>**/**</include>\r
+ <directory>${docker.location}</directory>\r
+ <include>startup.sh</include>\r
</resource>\r
</resources>\r
+ <runs>\r
+ <run>chmod 0700 /startup.sh</run>\r
+ </runs>\r
+ <exposes>\r
+ <expose>8080</expose>\r
+ <expose>8443</expose>\r
+ </exposes>\r
</configuration>\r
</plugin>\r
</plugins>\r