Timoney, Dan (dt5972) | fe8d3bc | 2019-01-18 16:51:25 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <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"> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.sdnc.oam</groupId> |
| 7 | <artifactId>SdncReports</artifactId> |
Hesam Rahimi | 55378e7 | 2021-06-07 20:02:32 +0000 | [diff] [blame] | 8 | <version>2.2.0-SNAPSHOT</version> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 9 | </parent> |
| 10 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 11 | <artifactId>SdncReportsApi</artifactId> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 12 | <packaging>jar</packaging> |
| 13 | |
| 14 | <name>sdnc-oam :: SdncReports :: SdncReportsApi</name> |
| 15 | |
| 16 | <properties> |
| 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 19 | <java.version>1.8</java.version> |
| 20 | </properties> |
| 21 | |
| 22 | <dependencies> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 23 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 24 | <dependency> |
| 25 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 26 | <artifactId>mariaDB4j</artifactId> |
| 27 | <version>2.2.3</version> |
| 28 | </dependency> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 29 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 30 | <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> |
| 31 | <dependency> |
| 32 | <groupId>com.google.code.gson</groupId> |
| 33 | <artifactId>gson</artifactId> |
| 34 | <version>2.8.2</version> |
| 35 | </dependency> |
| 36 | |
| 37 | <dependency> |
| 38 | <groupId>${project.groupId}</groupId> |
| 39 | <artifactId>SdncReportsDao</artifactId> |
| 40 | <version>${project.version}</version> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
| 44 | <groupId>org.mariadb.jdbc</groupId> |
| 45 | <artifactId>mariadb-java-client</artifactId> |
| 46 | <version>1.1.9</version> |
| 47 | </dependency> |
| 48 | |
| 49 | <dependency> |
| 50 | <groupId>org.springframework.boot</groupId> |
| 51 | <artifactId>spring-boot-starter-web</artifactId> |
| 52 | <version>1.5.4.RELEASE</version> |
| 53 | </dependency> |
| 54 | |
| 55 | <dependency> |
| 56 | <groupId>org.springframework</groupId> |
| 57 | <artifactId>spring-context</artifactId> |
| 58 | <version>4.3.9.RELEASE</version> |
| 59 | </dependency> |
| 60 | |
| 61 | <dependency> |
| 62 | <groupId>org.springframework.boot</groupId> |
| 63 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 64 | <scope>provided</scope> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>org.apache.tomcat.embed</groupId> |
| 69 | <artifactId>tomcat-embed-jasper</artifactId> |
| 70 | <scope>provided</scope> |
| 71 | </dependency> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 72 | |
| 73 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 74 | <dependency> |
| 75 | <groupId>org.springframework.boot</groupId> |
| 76 | <artifactId>spring-boot-devtools</artifactId> |
| 77 | <optional>true</optional> |
| 78 | </dependency> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 79 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.springframework.boot</groupId> |
| 82 | <artifactId>spring-boot-starter-test</artifactId> |
| 83 | <version>1.5.3.RELEASE</version> |
| 84 | <scope>test</scope> |
| 85 | </dependency> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 86 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 87 | <dependency> |
| 88 | <groupId>org.springframework.boot</groupId> |
| 89 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 90 | </dependency> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 91 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 92 | <!-- Add Log4j2 Dependency --> |
| 93 | <dependency> |
| 94 | <groupId>org.springframework.boot</groupId> |
| 95 | <artifactId>spring-boot-starter-log4j2</artifactId> |
| 96 | </dependency> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 97 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 98 | <!-- Add Web jars, instead of dist folder --> |
| 99 | <dependency> |
| 100 | <groupId>org.webjars</groupId> |
| 101 | <artifactId>bootstrap</artifactId> |
| 102 | <version>3.3.7</version> |
| 103 | </dependency> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 104 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 105 | <dependency> |
| 106 | <groupId>org.webjars</groupId> |
| 107 | <artifactId>bootstrap-datepicker</artifactId> |
| 108 | <version>1.0.1</version> |
| 109 | </dependency> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 110 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 111 | </dependencies> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 112 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 113 | <build> |
| 114 | <plugins> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 115 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 116 | <plugin> |
| 117 | <groupId>org.springframework.boot</groupId> |
| 118 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 119 | <configuration> |
| 120 | <executable>true</executable> |
| 121 | </configuration> |
| 122 | </plugin> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 123 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 124 | <plugin> |
| 125 | <groupId>org.apache.maven.plugins</groupId> |
| 126 | <artifactId>maven-surefire-plugin</artifactId> |
| 127 | <configuration> |
| 128 | <skipTests>true</skipTests> |
| 129 | </configuration> |
| 130 | </plugin> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 131 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 132 | <plugin> |
| 133 | <groupId>org.jacoco</groupId> |
| 134 | <artifactId>jacoco-maven-plugin</artifactId> |
| 135 | <version>0.7.5.201505241946</version> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 136 | <executions> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 137 | <execution> |
| 138 | <id>pre-unit-test</id> |
| 139 | <goals> |
| 140 | <goal>prepare-agent</goal> |
| 141 | </goals> |
| 142 | <configuration> |
| 143 | <!-- Sets the path to the file which contains the execution data. --> |
| 144 | <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 145 | <!-- Sets the name of the property containing the settings for JaCoCo |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 146 | runtime agent. --> |
| 147 | <propertyName>surefireArgLine</propertyName> |
| 148 | </configuration> |
| 149 | </execution> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 150 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 151 | <execution> |
| 152 | <id>post-unit-test</id> |
| 153 | <phase>test</phase> |
| 154 | <goals> |
| 155 | <goal>report</goal> |
| 156 | </goals> |
| 157 | <configuration> |
| 158 | <!-- Sets the path to the file which contains the execution data. --> |
| 159 | <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 160 | <!-- Sets the output directory for the code coverage report. --> |
| 161 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 162 | </configuration> |
| 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 166 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 167 | <plugin> |
| 168 | <groupId>io.fabric8</groupId> |
| 169 | <artifactId>docker-maven-plugin</artifactId> |
| 170 | <version>0.15.3</version> |
| 171 | <configuration> |
| 172 | <dockerHost>http://127.0.0.1:9092</dockerHost> |
| 173 | <verbose>true</verbose> |
| 174 | <images> |
| 175 | <image> |
| 176 | <name>vishal/sdnc_report</name> |
| 177 | <build> |
| 178 | <dockerFile>Dockerfile</dockerFile> |
| 179 | <assembly> |
| 180 | <descriptorRef>artifact</descriptorRef> |
| 181 | </assembly> |
| 182 | </build> |
| 183 | </image> |
| 184 | </images> |
| 185 | </configuration> |
| 186 | </plugin> |
| 187 | </plugins> |
| 188 | </build> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 189 | </project> |