From da9e01a78e3205ee7238196a574adcf11c041797 Mon Sep 17 00:00:00 2001 From: Krishnajinka Date: Fri, 31 Aug 2018 20:01:30 +0900 Subject: Add basic main structure for policy-api Define main pom xml and update to include main. Add the main exception parameters rest startstop classes. Add test cases. Modify comments Issue-ID: POLICY-1066 Change-Id: I2e878a58eef4f021e3a9a991738194127edf4d16 Signed-off-by: krisjinka Signed-off-by: krishnajinka --- pom.xml | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 177 insertions(+), 25 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 3b7bdd1c..b2d885c7 100644 --- a/pom.xml +++ b/pom.xml @@ -3,6 +3,7 @@ ONAP Policy API ================================================================================ Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Modified Copyright (C) 2018 Samsung Electronics Co., Ltd. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,30 +20,181 @@ --> - 4.0.0 - - - org.onap.policy.parent - integration - 2.0.0-SNAPSHOT - - - - org.onap.policy.api - policy-api - 2.0.0-SNAPSHOT - - pom - - policy-api - Code that define our external API. - - - - ecomp-site - dav:${nexusproxy}${sitePath} - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 + + + org.onap.policy.parent + integration + 2.0.0-SNAPSHOT + + + + org.onap.policy.api + policy-api + 2.0.0-SNAPSHOT + + pom + + policy-api + Code that define our external API. + + + + + ${project.basedir}/../target/code-coverage/jacoco-ut.exec + ${project.basedir}/../target/code-coverage/jacoco-it.exec + reuseReports + + 1.3.0-SNAPSHOT + + + + main + + + + + junit + junit + test + + + org.slf4j + slf4j-ext + 1.8.0-beta2 + + + org.slf4j + slf4j-api + + + ch.qos.logback + logback-core + + + ch.qos.logback + logback-classic + + + + + + ecomp-site + dav:${nexusproxy}${sitePath} + + + + + + + org.jacoco + jacoco-maven-plugin + + + pre-unit-test + + prepare-agent + + + ${sonar.jacoco.reportPath} + true + + + + post-unit-test + test + + report + + + ${sonar.jacoco.reportPath} + + + + + + maven-checkstyle-plugin + + + onap-java-style + + check + + process-sources + + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + true + true + warning + + + + + + org.onap.oparent + checkstyle + 1.1.0 + compile + + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + + pre-unit-test + + prepare-agent + + + ${sonar.jacoco.reportPath} + + + + + post-unit-test + test + + report + + + ${sonar.jacoco.reportPath} + + + + + + + -- cgit 1.2.3-korg