|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.ithit.webdav.samples</groupId> |
| 8 | + <artifactId>collectionsync</artifactId> |
| 9 | + <version>6.1.7901-Beta</version> |
| 10 | + <packaging>war</packaging> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + </properties> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>com.google.code.gson</groupId> |
| 19 | + <artifactId>gson</artifactId> |
| 20 | + <version>2.8.9</version> |
| 21 | + <scope>compile</scope> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>javax.websocket</groupId> |
| 25 | + <artifactId>javax.websocket-api</artifactId> |
| 26 | + <version>1.1</version> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>javax.servlet</groupId> |
| 30 | + <artifactId>javax.servlet-api</artifactId> |
| 31 | + <version>3.1.0</version> |
| 32 | + <scope>provided</scope> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>com.ithit.webdav.integration</groupId> |
| 36 | + <artifactId>servlet-integration</artifactId> |
| 37 | + <version>6.1.7901-Beta</version> |
| 38 | + </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>commons-io</groupId> |
| 41 | + <artifactId>commons-io</artifactId> |
| 42 | + <version>2.7</version> |
| 43 | + <scope>compile</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>commons-dbcp</groupId> |
| 47 | + <artifactId>commons-dbcp</artifactId> |
| 48 | + <version>1.2.2</version> |
| 49 | + <scope>provided</scope> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>commons-pool</groupId> |
| 53 | + <artifactId>commons-pool</artifactId> |
| 54 | + <version>1.4</version> |
| 55 | + <scope>provided</scope> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>com.oracle</groupId> |
| 59 | + <artifactId>ojdbc7</artifactId> |
| 60 | + <version>12.1.0.2</version> |
| 61 | + <scope>provided</scope> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>org.apache.lucene</groupId> |
| 65 | + <artifactId>lucene-core</artifactId> |
| 66 | + <version>7.5.0</version> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.apache.lucene</groupId> |
| 70 | + <artifactId>lucene-queryparser</artifactId> |
| 71 | + <version>7.5.0</version> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>org.apache.lucene</groupId> |
| 75 | + <artifactId>lucene-highlighter</artifactId> |
| 76 | + <version>7.5.0</version> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>org.apache.tika</groupId> |
| 80 | + <artifactId>tika-core</artifactId> |
| 81 | + <version>1.28.5</version> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>org.apache.tika</groupId> |
| 85 | + <artifactId>tika-parsers</artifactId> |
| 86 | + <version>1.28.5</version> |
| 87 | + <exclusions> |
| 88 | + <exclusion> |
| 89 | + <artifactId>cxf-core</artifactId> |
| 90 | + <groupId>org.apache.cxf</groupId> |
| 91 | + </exclusion> |
| 92 | + <exclusion> |
| 93 | + <artifactId>cxf-rt-rs-client</artifactId> |
| 94 | + <groupId>org.apache.cxf</groupId> |
| 95 | + </exclusion> |
| 96 | + <exclusion> |
| 97 | + <artifactId>httpservices</artifactId> |
| 98 | + <groupId>edu.ucar</groupId> |
| 99 | + </exclusion> |
| 100 | + <exclusion> |
| 101 | + <artifactId>maven-scm-provider-svnexe</artifactId> |
| 102 | + <groupId>org.apache.maven.scm</groupId> |
| 103 | + </exclusion> |
| 104 | + <exclusion> |
| 105 | + <artifactId>maven-scm-api</artifactId> |
| 106 | + <groupId>org.apache.maven.scm</groupId> |
| 107 | + </exclusion> |
| 108 | + <exclusion> |
| 109 | + <artifactId>slf4j-log4j12</artifactId> |
| 110 | + <groupId>org.slf4j</groupId> |
| 111 | + </exclusion> |
| 112 | + <exclusion> |
| 113 | + <artifactId>c3p0</artifactId> |
| 114 | + <groupId>c3p0</groupId> |
| 115 | + </exclusion> |
| 116 | + <exclusion> |
| 117 | + <artifactId>httpclient</artifactId> |
| 118 | + <groupId>org.apache.httpcomponents</groupId> |
| 119 | + </exclusion> |
| 120 | + <exclusion> |
| 121 | + <artifactId>grib</artifactId> |
| 122 | + <groupId>edu.ucar</groupId> |
| 123 | + </exclusion> |
| 124 | + <exclusion> |
| 125 | + <artifactId>cdm</artifactId> |
| 126 | + <groupId>edu.ucar</groupId> |
| 127 | + </exclusion> |
| 128 | + <exclusion> |
| 129 | + <artifactId>unit-api</artifactId> |
| 130 | + <groupId>javax.measure</groupId> |
| 131 | + </exclusion> |
| 132 | + <exclusion> |
| 133 | + <artifactId>activation</artifactId> |
| 134 | + <groupId>javax.activation</groupId> |
| 135 | + </exclusion> |
| 136 | + <exclusion> |
| 137 | + <groupId>org.apache.sis.storage</groupId> |
| 138 | + <artifactId>sis-netcdf</artifactId> |
| 139 | + </exclusion> |
| 140 | + </exclusions> |
| 141 | + </dependency> |
| 142 | + <dependency> |
| 143 | + <groupId>com.ithit.webdav</groupId> |
| 144 | + <artifactId>webdav-server</artifactId> |
| 145 | + <version>6.1.7901-Beta</version> |
| 146 | + </dependency> |
| 147 | + <dependency> |
| 148 | + <groupId>net.java.dev.jna</groupId> |
| 149 | + <artifactId>jna-platform</artifactId> |
| 150 | + <version>5.13.0</version> |
| 151 | + </dependency> |
| 152 | + </dependencies> |
| 153 | + |
| 154 | + <repositories> |
| 155 | + <repository> |
| 156 | + <id>nuxeo</id> |
| 157 | + <url>https://maven.nuxeo.org/nexus/content/groups/public</url> |
| 158 | + </repository> |
| 159 | + </repositories> |
| 160 | + |
| 161 | + <build> |
| 162 | + <plugins> |
| 163 | + <plugin> |
| 164 | + <groupId>org.apache.maven.plugins</groupId> |
| 165 | + <artifactId>maven-compiler-plugin</artifactId> |
| 166 | + <version>3.1</version> |
| 167 | + <configuration> |
| 168 | + <source>1.8</source> |
| 169 | + <target>1.8</target> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + <plugin> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-war-plugin</artifactId> |
| 175 | + <version>3.2.0</version> |
| 176 | + <configuration> |
| 177 | + <webResources> |
| 178 | + <resource> |
| 179 | + <directory>src/main/storageresources</directory> |
| 180 | + <targetPath>WEB-INF</targetPath> |
| 181 | + <excludes> |
| 182 | + <exclude>**/pom.xml</exclude> |
| 183 | + </excludes> |
| 184 | + </resource> |
| 185 | + </webResources> |
| 186 | + </configuration> |
| 187 | + </plugin> |
| 188 | + <plugin> |
| 189 | + <artifactId>maven-antrun-plugin</artifactId> |
| 190 | + <groupId>org.apache.maven.plugins</groupId> |
| 191 | + <version>1.8</version> |
| 192 | + <executions> |
| 193 | + <execution> |
| 194 | + <id>windows</id> |
| 195 | + <phase>none</phase> |
| 196 | + <goals> |
| 197 | + <goal>run</goal> |
| 198 | + </goals> |
| 199 | + <configuration> |
| 200 | + <target> |
| 201 | + <exec executable="start" vmlauncher="false"> |
| 202 | + <arg line="http://localhost:11021/"/> |
| 203 | + </exec> |
| 204 | + </target> |
| 205 | + </configuration> |
| 206 | + </execution> |
| 207 | + <execution> |
| 208 | + <id>linux</id> |
| 209 | + <phase>none</phase> |
| 210 | + <goals> |
| 211 | + <goal>run</goal> |
| 212 | + </goals> |
| 213 | + <configuration> |
| 214 | + <target> |
| 215 | + <exec executable="xdg-open"> |
| 216 | + <arg line="http://localhost:11021/"/> |
| 217 | + </exec> |
| 218 | + </target> |
| 219 | + </configuration> |
| 220 | + </execution> |
| 221 | + </executions> |
| 222 | + </plugin> |
| 223 | + <plugin> |
| 224 | + <groupId>org.apache.tomcat.maven</groupId> |
| 225 | + <artifactId>tomcat7-maven-plugin</artifactId> |
| 226 | + <version>2.2</version> |
| 227 | + <configuration> |
| 228 | + <server>filesystem</server> |
| 229 | + <port>11021</port> |
| 230 | + <path>/</path> |
| 231 | + <warSourceDirectory>target/collectionsync-6.1.7901-Beta</warSourceDirectory> |
| 232 | + </configuration> |
| 233 | + </plugin> |
| 234 | + <plugin> |
| 235 | + <groupId>com.github.eirslett</groupId> |
| 236 | + <artifactId>frontend-maven-plugin</artifactId> |
| 237 | + <version>1.12.1</version> |
| 238 | + <executions> |
| 239 | + <execution> |
| 240 | + <id>install node and npm</id> |
| 241 | + <goals> |
| 242 | + <goal>install-node-and-npm</goal> |
| 243 | + </goals> |
| 244 | + <configuration> |
| 245 | + <installDirectory>${java.io.tmpdir}</installDirectory> |
| 246 | + <nodeVersion>v16.14.2</nodeVersion> |
| 247 | + <npmVersion>8.7.0</npmVersion> |
| 248 | + </configuration> |
| 249 | + </execution> |
| 250 | + <execution> |
| 251 | + <id>npm update</id> |
| 252 | + <goals> |
| 253 | + <goal>npm</goal> |
| 254 | + </goals> |
| 255 | + <phase>generate-resources</phase> |
| 256 | + <configuration> |
| 257 | + <arguments>update</arguments> |
| 258 | + <workingDirectory>src/main/webapp/WEB-INF/wwwroot/js</workingDirectory> |
| 259 | + <installDirectory>C:\Users\build\AppData\Local\Temp\</installDirectory> |
| 260 | + </configuration> |
| 261 | + </execution> |
| 262 | + <execution> |
| 263 | + <id>npm install</id> |
| 264 | + <goals> |
| 265 | + <goal>npm</goal> |
| 266 | + </goals> |
| 267 | + <phase>generate-resources</phase> |
| 268 | + <configuration> |
| 269 | + <arguments>install</arguments> |
| 270 | + <workingDirectory>src/main/webapp/WEB-INF/wwwroot/js</workingDirectory> |
| 271 | + <installDirectory>${java.io.tmpdir}</installDirectory> |
| 272 | + </configuration> |
| 273 | + </execution> |
| 274 | + </executions> |
| 275 | + <configuration> |
| 276 | + <escapeString>\</escapeString> |
| 277 | + </configuration> |
| 278 | + </plugin> |
| 279 | + </plugins> |
| 280 | + </build> |
| 281 | +</project> |
0 commit comments