diff options
author | Piotr Bochenski <piotr.bochenski@nokia.com> | 2018-08-31 11:49:21 +0200 |
---|---|---|
committer | Piotr Bochenski <piotr.bochenski@nokia.com> | 2018-08-31 12:11:46 +0200 |
commit | 3c2766d8a64d21f402b5234e33419a8aed14d7ea (patch) | |
tree | 66e26cdf9dad86b8787806a1d7914c1d21b06ae0 /prh-dmaap-client | |
parent | 6fd8c7770fbea30ad2ec6e3f7645b8baab5a49a1 (diff) |
Refactor Docker image building process
Align Docker image building process to VES project.
Also refactor all Maven configurations.
Change-Id: I3856bb75f41247f5ce7f17fb813aa2ab692e4def
Issue-ID: DCAEGEN2-737
Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
Diffstat (limited to 'prh-dmaap-client')
-rw-r--r-- | prh-dmaap-client/pom.xml | 38 | ||||
-rw-r--r-- | prh-dmaap-client/src/test/resources/logback-test.xml | 21 |
2 files changed, 34 insertions, 25 deletions
diff --git a/prh-dmaap-client/pom.xml b/prh-dmaap-client/pom.xml index 8e1a57e0..d771c0b3 100644 --- a/prh-dmaap-client/pom.xml +++ b/prh-dmaap-client/pom.xml @@ -18,27 +18,22 @@ ~ limitations under the License. ~ ============LICENSE_END========================================================= --> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<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"> + <modelVersion>4.0.0</modelVersion> + <parent> - <artifactId>prh</artifactId> <groupId>org.onap.dcaegen2.services</groupId> + <artifactId>prh</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> - <modelVersion>4.0.0</modelVersion> - <artifactId>prh-dmaap-client</artifactId> <groupId>org.onap.dcaegen2.services.prh</groupId> + <artifactId>prh-dmaap-client</artifactId> <packaging>jar</packaging> - - <properties> - <main.basedir>${project.parent.basedir}</main.basedir> - </properties> <dependencies> - - <!-- DEVELOPMENT DEPENDENCIES --> <dependency> <groupId>org.immutables</groupId> <artifactId>value</artifactId> @@ -49,23 +44,22 @@ </dependency> <dependency> <groupId>org.springframework</groupId> + <artifactId>spring-context</artifactId> + </dependency> + <dependency> + <groupId>org.springframework</groupId> <artifactId>spring-webflux</artifactId> - <version>5.0.5.RELEASE</version> - <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-reactor-netty</artifactId> - <version>2.0.4.RELEASE</version> </dependency> <dependency> <groupId>org.onap.dcaegen2.services.prh</groupId> <artifactId>prh-commons</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>${project.version}</version> </dependency> - - <!-- LOGGING DEPENDENCIES --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> @@ -79,8 +73,6 @@ <artifactId>log4j-over-slf4j</artifactId> </dependency> - - <!-- TEST DEPENDENCIES--> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> @@ -102,10 +94,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-context</artifactId> - </dependency> - <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> @@ -116,4 +104,4 @@ <scope>test</scope> </dependency> </dependencies> -</project>
\ No newline at end of file +</project> diff --git a/prh-dmaap-client/src/test/resources/logback-test.xml b/prh-dmaap-client/src/test/resources/logback-test.xml new file mode 100644 index 00000000..c1f00665 --- /dev/null +++ b/prh-dmaap-client/src/test/resources/logback-test.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ ===============================LICENSE_START====================================== + ~ Copyright © 2017 AT&T Intellectual Property. All rights reserved. + ~ ================================================================================ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ ============================LICENSE_END=========================================== + --> +<configuration> + <root level="OFF"/> +</configuration> |