Soumendu Sekhar Acharya | fe054ab | 2018-08-07 12:36:28 +0530 | [diff] [blame^] | 1 | <?xml version="1.0"?> |
| 2 | <project |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | <parent> |
| 7 | <groupId>org.onap.ccsdk.parent</groupId> |
| 8 | <artifactId>configbackuprestore</artifactId> |
| 9 | <version>1.0-SNAPSHOT</version> |
| 10 | </parent> |
| 11 | <groupId>com.onap.sdnc.vnfbackup</groupId> |
| 12 | <artifactId>getBackupVnfDetailService</artifactId> |
| 13 | <version>1.0-SNAPSHOT</version> |
| 14 | <name>getBackupVnfDetailService</name> |
| 15 | <url>http://maven.apache.org</url> |
| 16 | <properties> |
| 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | </properties> |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>junit</groupId> |
| 22 | <artifactId>junit</artifactId> |
| 23 | <version>4.4</version> |
| 24 | <scope>test</scope> |
| 25 | </dependency> |
| 26 | <dependency> |
| 27 | <groupId>org.mariadb.jdbc</groupId> |
| 28 | <artifactId>mariadb-java-client</artifactId> |
| 29 | <version>1.1.9</version> |
| 30 | </dependency> |
| 31 | <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> |
| 32 | <dependency> |
| 33 | <groupId>commons-codec</groupId> |
| 34 | <artifactId>commons-codec</artifactId> |
| 35 | <version>1.9</version> |
| 36 | </dependency> |
| 37 | |
| 38 | <dependency> |
| 39 | <groupId>org.springframework.boot</groupId> |
| 40 | <artifactId>spring-boot-starter-web</artifactId> |
| 41 | <version>1.5.4.RELEASE</version> |
| 42 | </dependency> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>org.springframework</groupId> |
| 46 | <artifactId>spring-context</artifactId> |
| 47 | <version>4.3.9.RELEASE</version> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>org.springframework.boot</groupId> |
| 52 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 53 | <scope>provided</scope> |
| 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.apache.tomcat.embed</groupId> |
| 58 | <artifactId>tomcat-embed-jasper</artifactId> |
| 59 | <scope>provided</scope> |
| 60 | </dependency> |
| 61 | |
| 62 | |
| 63 | <dependency> |
| 64 | <groupId>org.springframework.boot</groupId> |
| 65 | <artifactId>spring-boot-devtools</artifactId> |
| 66 | <optional>true</optional> |
| 67 | </dependency> |
| 68 | |
| 69 | <dependency> |
| 70 | <groupId>org.springframework.boot</groupId> |
| 71 | <artifactId>spring-boot-starter-test</artifactId> |
| 72 | <scope>test</scope> |
| 73 | <version>1.5.3.RELEASE</version> |
| 74 | </dependency> |
| 75 | |
| 76 | <dependency> |
| 77 | <groupId>org.springframework.boot</groupId> |
| 78 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 79 | </dependency> |
| 80 | |
| 81 | <!-- Add Log4j2 Dependency --> |
| 82 | <dependency> |
| 83 | <groupId>org.springframework.boot</groupId> |
| 84 | <artifactId>spring-boot-starter-log4j2</artifactId> |
| 85 | </dependency> |
| 86 | <!-- https://mvnrepository.com/artifact/org.javers/javers-core --> |
| 87 | <dependency> |
| 88 | <groupId>org.javers</groupId> |
| 89 | <artifactId>javers-core</artifactId> |
| 90 | <version>3.9.3</version> |
| 91 | </dependency> |
| 92 | |
| 93 | <dependency> |
| 94 | <groupId>org.json</groupId> |
| 95 | <artifactId>json</artifactId> |
| 96 | <version>20180130</version> |
| 97 | </dependency> |
| 98 | |
| 99 | <!-- https://mvnrepository.com/artifact/com.flipkart.zjsonpatch/zjsonpatch --> |
| 100 | <dependency> |
| 101 | <groupId>com.flipkart.zjsonpatch</groupId> |
| 102 | <artifactId>zjsonpatch</artifactId> |
| 103 | <version>0.2.1</version> |
| 104 | </dependency> |
| 105 | |
| 106 | </dependencies> |
| 107 | <build> |
| 108 | <plugins> |
| 109 | <plugin> |
| 110 | <groupId>org.jacoco</groupId> |
| 111 | <artifactId>jacoco-maven-plugin</artifactId> |
| 112 | <version>0.7.5.201505241946</version> |
| 113 | <executions> |
| 114 | <!-- |
| 115 | Prepares the property pointing to the JaCoCo runtime agent which |
| 116 | is passed as VM argument when Maven the Surefire plugin is executed. |
| 117 | --> |
| 118 | <execution> |
| 119 | <id>pre-unit-test</id> |
| 120 | <goals> |
| 121 | <goal>prepare-agent</goal> |
| 122 | </goals> |
| 123 | <configuration> |
| 124 | <!-- Sets the path to the file which contains the execution data. --> |
| 125 | <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
| 126 | <!-- |
| 127 | Sets the name of the property containing the settings |
| 128 | for JaCoCo runtime agent. |
| 129 | --> |
| 130 | <propertyName>surefireArgLine</propertyName> |
| 131 | </configuration> |
| 132 | </execution> |
| 133 | <!-- |
| 134 | Ensures that the code coverage report for unit tests is created after |
| 135 | unit tests have been run. |
| 136 | --> |
| 137 | <execution> |
| 138 | <id>post-unit-test</id> |
| 139 | <phase>test</phase> |
| 140 | <goals> |
| 141 | <goal>report</goal> |
| 142 | </goals> |
| 143 | <configuration> |
| 144 | <!-- Sets the path to the file which contains the execution data. --> |
| 145 | <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 146 | <!-- Sets the output directory for the code coverage report. --> |
| 147 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 148 | </configuration> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | </plugin> |
| 152 | </plugins> |
| 153 | </build> |
| 154 | </project> |