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