Strabon

annotate endpoint/pom.xml @ 1511:f5e6db1a2ca6

Moved "apache commons" dependencies from runtime to endpoint.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 29 13:09:23 2015 +0300 (2015-04-29)
parents 0b133c29bf41
children c009d1364185
rev   line source
kkyzir@113 1 <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">
kkyzir@73 2 <modelVersion>4.0.0</modelVersion>
kkyzir@73 3
ggarbis@266 4 <parent>
ggarbis@266 5 <groupId>eu.earthobservatory</groupId>
ggarbis@266 6 <artifactId>strabon</artifactId>
charnik@1505 7 <version>3.3.2-SNAPSHOT</version>
ggarbis@266 8 </parent>
ggarbis@266 9
kkyzir@73 10 <artifactId>strabon-endpoint</artifactId>
kkyzir@73 11 <packaging>war</packaging>
kkyzir@73 12
charnik@686 13 <name>Strabon: Endpoint</name>
ggarbis@266 14 <description>An endpoint for Strabon</description>
kkyzir@73 15
kkyzir@73 16 <properties>
kkyzir@73 17 <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
kkyzir@73 18 </properties>
kkyzir@73 19
kkyzir@73 20 <dependencies>
kkyzir@73 21 <dependency>
kkyzir@73 22 <groupId>javax</groupId>
kkyzir@73 23 <artifactId>javaee-web-api</artifactId>
kkyzir@73 24 <scope>provided</scope>
kkyzir@73 25 </dependency>
kkyzir@73 26
kkyzir@73 27 <dependency>
kkyzir@73 28 <groupId>eu.earthobservatory</groupId>
charnik@1004 29 <artifactId>strabon-vocabulary</artifactId>
charnik@965 30 </dependency>
charnik@965 31
charnik@965 32 <dependency>
charnik@965 33 <groupId>eu.earthobservatory</groupId>
kkyzir@73 34 <artifactId>strabon-runtime</artifactId>
kkyzir@73 35 <type>jar</type>
kkyzir@73 36 <scope>compile</scope>
charnik@402 37 <exclusions>
charnik@402 38 <exclusion>
charnik@402 39 <artifactId>servlet-api-2.5</artifactId>
charnik@402 40 <groupId>org.mortbay.jetty</groupId>
charnik@402 41 </exclusion>
charnik@402 42 <exclusion>
charnik@402 43 <artifactId>jsp-api-2.1</artifactId>
charnik@402 44 <groupId>org.mortbay.jetty</groupId>
charnik@402 45 </exclusion>
charnik@402 46 </exclusions>
kkyzir@73 47 </dependency>
psmeros@1511 48
psmeros@1511 49 <!-- Apache Commons -->
psmeros@1511 50 <dependency>
psmeros@1511 51 <groupId>commons-cli</groupId>
psmeros@1511 52 <artifactId>commons-cli</artifactId>
psmeros@1511 53 </dependency>
psmeros@1511 54 <dependency>
psmeros@1511 55 <groupId>commons-dbcp</groupId>
psmeros@1511 56 <artifactId>commons-dbcp</artifactId>
psmeros@1511 57 </dependency>
psmeros@1511 58 <dependency>
psmeros@1511 59 <groupId>commons-fileupload</groupId>
psmeros@1511 60 <artifactId>commons-fileupload</artifactId>
psmeros@1511 61 </dependency>
psmeros@1511 62 <dependency>
psmeros@1511 63 <groupId>commons-io</groupId>
psmeros@1511 64 <artifactId>commons-io</artifactId>
psmeros@1511 65 <!-- this is the version that is specified as an optional dependency for
psmeros@1511 66 fileupload -->
psmeros@1511 67 </dependency>
psmeros@1511 68 <dependency>
psmeros@1511 69 <groupId>commons-httpclient</groupId>
psmeros@1511 70 <artifactId>commons-httpclient</artifactId>
psmeros@1511 71 <exclusions>
psmeros@1511 72 <exclusion>
psmeros@1511 73 <groupId>commons-logging</groupId>
psmeros@1511 74 <artifactId>commons-logging</artifactId>
psmeros@1511 75 </exclusion>
psmeros@1511 76 <exclusion>
psmeros@1511 77 <!-- httpclient includes older codec -->
psmeros@1511 78 <groupId>commons-codec</groupId>
psmeros@1511 79 <artifactId>commons-codec</artifactId>
psmeros@1511 80 </exclusion>
psmeros@1511 81 </exclusions>
psmeros@1511 82 </dependency>
psmeros@1511 83 <dependency>
psmeros@1511 84 <groupId>commons-codec</groupId>
psmeros@1511 85 <artifactId>commons-codec</artifactId>
psmeros@1511 86 <scope>runtime</scope>
psmeros@1511 87 </dependency>
psmeros@1511 88 <!-- Apache Commons -->
psmeros@1511 89
charnik@518 90
kkyzir@73 91 <!-- GeoTools -->
kkyzir@73 92 <dependency>
kkyzir@73 93 <groupId>org.geotools.xsd</groupId>
kkyzir@73 94 <artifactId>gt-xsd-kml</artifactId>
kkyzir@73 95 </dependency>
kkyzir@73 96
kkyzir@73 97 <dependency>
kkyzir@73 98 <groupId>org.geotools</groupId>
kkyzir@73 99 <artifactId>gt-xml</artifactId>
kkyzir@73 100 </dependency>
kkyzir@73 101
kkyzir@73 102 <dependency>
kkyzir@73 103 <groupId>org.geotools</groupId>
kkyzir@73 104 <artifactId>gt-epsg-hsql</artifactId>
kkyzir@73 105 </dependency>
kkyzir@73 106 <dependency>
kkyzir@73 107 <groupId>org.geotools</groupId>
kkyzir@73 108 <artifactId>gt-shapefile</artifactId>
kkyzir@73 109 </dependency>
kkyzir@73 110
kkyzir@73 111 <!-- Testing: JUnit -->
kkyzir@73 112 <dependency>
kkyzir@73 113 <groupId>junit</groupId>
kkyzir@73 114 <artifactId>junit</artifactId>
kkyzir@73 115 <scope>test</scope>
kkyzir@73 116 </dependency>
kkyzir@73 117
kkyzir@73 118 <!-- JDBC Drivers -->
kkyzir@73 119
kkyzir@73 120 <dependency>
kkyzir@73 121 <groupId>postgresql</groupId>
kkyzir@73 122 <artifactId>postgresql</artifactId>
kkyzir@73 123 </dependency>
kkyzir@73 124
kkyzir@73 125 <!-- Spring framework -->
kkyzir@73 126 <dependency>
kkyzir@73 127 <groupId>org.springframework</groupId>
kkyzir@73 128 <artifactId>spring-webmvc</artifactId>
kkyzir@73 129 <exclusions>
kkyzir@73 130 <exclusion>
kkyzir@73 131 <groupId>commons-logging</groupId>
kkyzir@73 132 <artifactId>commons-logging</artifactId>
kkyzir@73 133 </exclusion>
kkyzir@73 134 </exclusions>
kkyzir@73 135 </dependency>
kkyzir@73 136 <dependency>
kkyzir@73 137 <groupId>org.springframework</groupId>
kkyzir@73 138 <artifactId>spring-aop</artifactId>
kkyzir@73 139 <exclusions>
kkyzir@73 140 <exclusion>
kkyzir@73 141 <groupId>commons-logging</groupId>
kkyzir@73 142 <artifactId>commons-logging</artifactId>
kkyzir@73 143 </exclusion>
kkyzir@73 144 </exclusions>
kkyzir@73 145 </dependency>
ggarbis@266 146
ggarbis@266 147 <dependency>
ggarbis@266 148 <groupId>commons-validator</groupId>
ggarbis@266 149 <artifactId>commons-validator</artifactId>
ggarbis@266 150 </dependency>
ggarbis@263 151 </dependencies>
kkyzir@73 152
kkyzir@73 153 <build>
charnik@955 154 <resources>
charnik@955 155 <resource>
charnik@955 156 <directory>src/main/resources</directory>
charnik@955 157 <filtering>true</filtering>
charnik@955 158 <includes>
charnik@955 159 <include>**/version.properties</include>
charnik@955 160 </includes>
charnik@955 161 </resource>
charnik@955 162 <resource>
charnik@955 163 <directory>src/main/resources</directory>
charnik@955 164 <filtering>false</filtering>
charnik@955 165 <excludes>
charnik@955 166 <exclude>**/version.properties</exclude>
charnik@955 167 </excludes>
charnik@955 168 </resource>
charnik@955 169 </resources>
kkyzir@73 170 <plugins>
kkyzir@73 171 <plugin>
kkyzir@73 172 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 173 <artifactId>maven-compiler-plugin</artifactId>
kkyzir@73 174 <version>2.3.2</version>
kkyzir@73 175 <configuration>
kkyzir@73 176 <source>1.6</source>
kkyzir@73 177 <target>1.6</target>
kkyzir@73 178 <compilerArguments>
kkyzir@73 179 <endorseddirs>${endorsed.dir}</endorseddirs>
kkyzir@73 180 </compilerArguments>
kkyzir@73 181 </configuration>
kkyzir@73 182 </plugin>
kkyzir@73 183 <plugin>
kkyzir@73 184 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 185 <artifactId>maven-war-plugin</artifactId>
kkyzir@73 186 <version>2.1.1</version>
kkyzir@73 187 <configuration>
kkyzir@73 188 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
kkyzir@73 189 <webResources>
kkyzir@73 190 <resource>
kkyzir@73 191 <targetPath>/WEB-INF</targetPath>
kkyzir@73 192 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 193 <includes>
kkyzir@73 194 <include>lib/**</include>
kkyzir@73 195 </includes>
kkyzir@73 196 </resource>
kkyzir@73 197
kkyzir@73 198 <resource>
kkyzir@73 199 <targetPath>/WEB-INF</targetPath>
kkyzir@73 200 <directory>${basedir}</directory>
kkyzir@73 201 <includes>
kkyzir@73 202 <include>wsdl/**</include>
kkyzir@73 203 </includes>
kkyzir@73 204 </resource>
kkyzir@73 205
kkyzir@73 206 <resource>
kkyzir@73 207 <targetPath>/WEB-INF</targetPath>
kkyzir@73 208 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 209 <includes>
kkyzir@73 210 <include>beans.xml</include>
charnik@550 211 <include>connection.properties</include>
sgian@642 212 <include>credentials.properties</include>
kkyzir@73 213 </includes>
kkyzir@73 214 </resource>
ggarbis@266 215
kkyzir@73 216 <resource>
charnik@306 217 <targetPath>/WEB-INF/classes</targetPath>
charnik@306 218 <directory>${basedir}/src</directory>
charnik@306 219 <includes>
charnik@306 220 <include>log4j.properties</include>
charnik@306 221 </includes>
charnik@306 222 </resource>
charnik@306 223
charnik@306 224 <resource>
kkyzir@73 225 <targetPath>/</targetPath>
kkyzir@73 226 <directory>${basedir}/WebContent</directory>
kkyzir@73 227 <includes>
kkyzir@73 228 <include>style.css</include>
kkyzir@608 229 <include>style-menu.css</include>
kkyzir@73 230 <include>store.jsp</include>
charnik@499 231 <include>query.jsp</include>
charnik@499 232 <include>describe.jsp</include>
charnik@548 233 <include>connection.jsp</include>
sgian@570 234 <include>connection.jsp</include>
sgian@570 235 <include>browse.jsp</include>
gstam@1311 236 <include>header.html</include>
kkyzir@73 237 </includes>
kkyzir@73 238 </resource>
ggarbis@266 239
kkyzir@73 240 <resource>
kkyzir@73 241 <targetPath>/</targetPath>
kkyzir@73 242 <directory>${basedir}/WebContent</directory>
kkyzir@73 243 <includes>
kkyzir@73 244 <include>images/**</include>
charnik@542 245 <include>js/**</include>
kkyzir@73 246 </includes>
kkyzir@73 247 </resource>
kkyzir@73 248 </webResources>
ggarbis@266 249 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 250 </archive> -->
kkyzir@82 251 </configuration>
kkyzir@82 252 </plugin>
kkyzir@1056 253 <!--
kkyzir@1056 254 <plugin>
kkyzir@1056 255 <groupId>org.eclipse.m2e</groupId>
kkyzir@1056 256 <artifactId>lifecycle-mapping</artifactId>
kkyzir@1056 257 <version>1.0.0</version>
kkyzir@1056 258 <configuration>
kkyzir@1056 259 <lifecycleMappingMetadata>
kkyzir@1056 260 <pluginExecutions>
kkyzir@1056 261 <pluginExecution>
kkyzir@1056 262 <pluginExecutionFilter>
kkyzir@1056 263 <groupId>org.apache.maven.plugins</groupId>
kkyzir@1056 264 <artifactId>maven-dependency-plugin</artifactId>
kkyzir@1056 265 <versionRange>[2.1,)</versionRange>
kkyzir@1056 266 <goals>
kkyzir@1056 267 <goal>copy-dependencies</goal>
kkyzir@1056 268 </goals>
kkyzir@1056 269 </pluginExecutionFilter>
kkyzir@1056 270 <action>
kkyzir@1056 271 <ignore />
kkyzir@1056 272 </action>
kkyzir@1056 273 </pluginExecution>
kkyzir@1056 274 </pluginExecutions>
kkyzir@1056 275 </lifecycleMappingMetadata>
kkyzir@1056 276 </configuration>
kkyzir@1056 277 </plugin>
kkyzir@1056 278 -->
kkyzir@73 279 <plugin>
kkyzir@73 280 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 281 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 282 <version>2.4</version>
kkyzir@73 283 <executions>
kkyzir@73 284 <execution>
ggarbis@266 285 <!-- <phase>validate</phase> -->
ggarbis@266 286 <phase>package</phase>
kkyzir@73 287 <goals>
kkyzir@73 288 <goal>copy</goal>
kkyzir@73 289 </goals>
kkyzir@73 290 <configuration>
kkyzir@73 291 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 292 <silent>true</silent>
kkyzir@73 293 <artifactItems>
kkyzir@73 294 <artifactItem>
kkyzir@73 295 <groupId>javax</groupId>
kkyzir@73 296 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 297 <version>6.0</version>
kkyzir@73 298 <type>jar</type>
kkyzir@73 299 </artifactItem>
kkyzir@73 300 </artifactItems>
kkyzir@73 301 </configuration>
kkyzir@73 302 </execution>
kkyzir@73 303 </executions>
kkyzir@73 304 </plugin>
kkyzir@73 305 <plugin>
kkyzir@73 306 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 307 <version>2.2.2</version>
kkyzir@73 308 <configuration>
kkyzir@73 309 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 310 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 311 </configuration>
kkyzir@73 312 </plugin>
kkyzir@73 313 </plugins>
ggarbis@266 314
ggarbis@266 315 <pluginManagement>
ggarbis@266 316 <plugins>
ggarbis@266 317 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 318 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 319 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 320 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 321 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 322 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 323 </configuration> </plugin> -->
ggarbis@266 324 <plugin>
ggarbis@266 325 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 326 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 327 <version>1.0.0</version>
ggarbis@266 328 <configuration>
ggarbis@266 329 <lifecycleMappingMetadata>
ggarbis@266 330 <pluginExecutions>
ggarbis@266 331 <pluginExecution>
ggarbis@266 332 <pluginExecutionFilter>
ggarbis@266 333 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 334 <artifactId>maven-dependency-plugin</artifactId>
kkyzir@1056 335 <versionRange>[2.4,)</versionRange>
ggarbis@266 336 <goals>
ggarbis@266 337 <goal>copy-dependencies</goal>
ggarbis@266 338 </goals>
ggarbis@266 339 </pluginExecutionFilter>
ggarbis@266 340 <action>
ggarbis@266 341 <ignore />
ggarbis@266 342 </action>
ggarbis@266 343 </pluginExecution>
ggarbis@266 344 </pluginExecutions>
ggarbis@266 345 </lifecycleMappingMetadata>
ggarbis@266 346 </configuration>
ggarbis@266 347 </plugin>
ggarbis@266 348 </plugins>
ggarbis@266 349 </pluginManagement>
ggarbis@263 350 </build>
kkyzir@73 351 </project>