Strabon

annotate endpoint/pom.xml @ 402:321258869e52

exclude jsp-api and servlet-api from dependencies in endpoint/pom.xml due to validateJar errors in Tomcat 7 versions
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Jun 29 14:52:14 2012 +0300 (2012-06-29)
parents 998fb3bcc29e
children f98df7d45ce2
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>
ggarbis@266 7 <version>3.1.10-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
ggarbis@266 13 <name>StrabonEndpoint</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>
kkyzir@73 29 <artifactId>strabon-runtime</artifactId>
kkyzir@73 30 <type>jar</type>
kkyzir@73 31 <scope>compile</scope>
charnik@402 32 <exclusions>
charnik@402 33 <exclusion>
charnik@402 34 <artifactId>servlet-api-2.5</artifactId>
charnik@402 35 <groupId>org.mortbay.jetty</groupId>
charnik@402 36 </exclusion>
charnik@402 37 <exclusion>
charnik@402 38 <artifactId>jsp-api-2.1</artifactId>
charnik@402 39 <groupId>org.mortbay.jetty</groupId>
charnik@402 40 </exclusion>
charnik@402 41 </exclusions>
kkyzir@73 42 </dependency>
kkyzir@73 43
kkyzir@73 44 <!-- GeoTools -->
kkyzir@73 45 <dependency>
kkyzir@73 46 <groupId>org.geotools.xsd</groupId>
kkyzir@73 47 <artifactId>gt-xsd-kml</artifactId>
kkyzir@73 48 </dependency>
kkyzir@73 49
kkyzir@73 50 <dependency>
kkyzir@73 51 <groupId>org.geotools</groupId>
kkyzir@73 52 <artifactId>gt-xml</artifactId>
kkyzir@73 53 </dependency>
kkyzir@73 54
kkyzir@73 55 <dependency>
kkyzir@73 56 <groupId>org.geotools</groupId>
kkyzir@73 57 <artifactId>gt-epsg-hsql</artifactId>
kkyzir@73 58 </dependency>
kkyzir@73 59 <dependency>
kkyzir@73 60 <groupId>org.geotools</groupId>
kkyzir@73 61 <artifactId>gt-shapefile</artifactId>
kkyzir@73 62 </dependency>
kkyzir@73 63
kkyzir@73 64 <!-- Testing: JUnit -->
kkyzir@73 65 <dependency>
kkyzir@73 66 <groupId>junit</groupId>
kkyzir@73 67 <artifactId>junit</artifactId>
kkyzir@73 68 <scope>test</scope>
kkyzir@73 69 </dependency>
kkyzir@73 70
kkyzir@73 71 <!-- JDBC Drivers -->
kkyzir@73 72
kkyzir@73 73 <dependency>
kkyzir@73 74 <groupId>postgresql</groupId>
kkyzir@73 75 <artifactId>postgresql</artifactId>
kkyzir@73 76 </dependency>
kkyzir@73 77
kkyzir@73 78 <!-- Spring framework -->
kkyzir@73 79 <dependency>
kkyzir@73 80 <groupId>org.springframework</groupId>
kkyzir@73 81 <artifactId>spring-webmvc</artifactId>
kkyzir@73 82 <exclusions>
kkyzir@73 83 <exclusion>
kkyzir@73 84 <groupId>commons-logging</groupId>
kkyzir@73 85 <artifactId>commons-logging</artifactId>
kkyzir@73 86 </exclusion>
kkyzir@73 87 </exclusions>
kkyzir@73 88 </dependency>
kkyzir@73 89 <dependency>
kkyzir@73 90 <groupId>org.springframework</groupId>
kkyzir@73 91 <artifactId>spring-aop</artifactId>
kkyzir@73 92 <exclusions>
kkyzir@73 93 <exclusion>
kkyzir@73 94 <groupId>commons-logging</groupId>
kkyzir@73 95 <artifactId>commons-logging</artifactId>
kkyzir@73 96 </exclusion>
kkyzir@73 97 </exclusions>
kkyzir@73 98 </dependency>
ggarbis@266 99
kkyzir@305 100 <!--
ggarbis@263 101 <dependency>
ggarbis@266 102 <groupId>org.apache.cxf</groupId>
ggarbis@266 103 <artifactId>cxf-rt-frontend-jaxws</artifactId>
ggarbis@266 104 </dependency>
kkyzir@82 105
ggarbis@266 106 <dependency>
ggarbis@266 107 <groupId>org.apache.cxf</groupId>
ggarbis@266 108 <artifactId>cxf-rt-transports-http</artifactId>
ggarbis@266 109 </dependency>
ggarbis@266 110
ggarbis@266 111 <dependency>
ggarbis@266 112 <groupId>org.apache.cxf</groupId>
ggarbis@266 113 <artifactId>cxf-rt-transports-http-jetty</artifactId>
charnik@292 114 <exclusions>
charnik@292 115 <exclusion>
charnik@292 116 <artifactId>slf4j-jdk14</artifactId>
charnik@292 117 <groupId>org.slf4j</groupId>
charnik@292 118 </exclusion>
charnik@292 119 </exclusions>
ggarbis@266 120 </dependency>
kkyzir@305 121 -->
ggarbis@266 122 <dependency>
ggarbis@266 123 <groupId>commons-validator</groupId>
ggarbis@266 124 <artifactId>commons-validator</artifactId>
ggarbis@266 125 </dependency>
ggarbis@263 126 </dependencies>
kkyzir@73 127
kkyzir@73 128 <build>
kkyzir@73 129 <plugins>
kkyzir@73 130 <plugin>
kkyzir@73 131 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 132 <artifactId>maven-compiler-plugin</artifactId>
kkyzir@73 133 <version>2.3.2</version>
kkyzir@73 134 <configuration>
kkyzir@73 135 <source>1.6</source>
kkyzir@73 136 <target>1.6</target>
kkyzir@73 137 <compilerArguments>
kkyzir@73 138 <endorseddirs>${endorsed.dir}</endorseddirs>
kkyzir@73 139 </compilerArguments>
kkyzir@73 140 </configuration>
kkyzir@73 141 </plugin>
kkyzir@73 142 <plugin>
kkyzir@73 143 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 144 <artifactId>maven-war-plugin</artifactId>
kkyzir@73 145 <version>2.1.1</version>
kkyzir@73 146 <configuration>
kkyzir@73 147 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
kkyzir@73 148 <webResources>
kkyzir@73 149 <resource>
kkyzir@73 150 <targetPath>/WEB-INF</targetPath>
kkyzir@73 151 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 152 <includes>
kkyzir@73 153 <include>lib/**</include>
kkyzir@73 154 </includes>
kkyzir@73 155 </resource>
kkyzir@73 156
kkyzir@73 157 <resource>
kkyzir@73 158 <targetPath>/WEB-INF</targetPath>
kkyzir@73 159 <directory>${basedir}</directory>
kkyzir@73 160 <includes>
kkyzir@73 161 <include>wsdl/**</include>
kkyzir@73 162 </includes>
kkyzir@73 163 </resource>
kkyzir@73 164
kkyzir@73 165 <resource>
kkyzir@73 166 <targetPath>/WEB-INF</targetPath>
kkyzir@73 167 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 168 <includes>
kkyzir@73 169 <include>beans.xml</include>
kkyzir@73 170 </includes>
kkyzir@73 171 </resource>
ggarbis@266 172
kkyzir@73 173 <resource>
charnik@306 174 <targetPath>/WEB-INF/classes</targetPath>
charnik@306 175 <directory>${basedir}/src</directory>
charnik@306 176 <includes>
charnik@306 177 <include>log4j.properties</include>
charnik@306 178 </includes>
charnik@306 179 </resource>
charnik@306 180
charnik@306 181 <resource>
kkyzir@73 182 <targetPath>/</targetPath>
kkyzir@73 183 <directory>${basedir}/WebContent</directory>
kkyzir@73 184 <includes>
kkyzir@73 185 <include>style.css</include>
kkyzir@73 186 <include>store.jsp</include>
kkyzir@73 187 </includes>
kkyzir@73 188 </resource>
ggarbis@266 189
kkyzir@73 190 <resource>
kkyzir@73 191 <targetPath>/</targetPath>
kkyzir@73 192 <directory>${basedir}/WebContent</directory>
kkyzir@73 193 <includes>
kkyzir@73 194 <include>images/**</include>
kkyzir@73 195 </includes>
kkyzir@73 196 </resource>
kkyzir@73 197 </webResources>
ggarbis@266 198 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 199 </archive> -->
kkyzir@82 200 </configuration>
kkyzir@82 201 </plugin>
ggarbis@266 202 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 203 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 204 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 205 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 206 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 207 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 208 </configuration> </plugin> -->
kkyzir@73 209 <plugin>
kkyzir@73 210 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 211 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 212 <version>2.4</version>
kkyzir@73 213 <executions>
kkyzir@73 214 <execution>
ggarbis@266 215 <!-- <phase>validate</phase> -->
ggarbis@266 216 <phase>package</phase>
kkyzir@73 217 <goals>
kkyzir@73 218 <goal>copy</goal>
kkyzir@73 219 </goals>
kkyzir@73 220 <configuration>
kkyzir@73 221 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 222 <silent>true</silent>
kkyzir@73 223 <artifactItems>
kkyzir@73 224 <artifactItem>
kkyzir@73 225 <groupId>javax</groupId>
kkyzir@73 226 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 227 <version>6.0</version>
kkyzir@73 228 <type>jar</type>
kkyzir@73 229 </artifactItem>
kkyzir@73 230 </artifactItems>
kkyzir@73 231 </configuration>
kkyzir@73 232 </execution>
kkyzir@73 233 </executions>
kkyzir@73 234 </plugin>
kkyzir@73 235 <plugin>
kkyzir@73 236 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 237 <version>2.2.2</version>
kkyzir@73 238 <configuration>
kkyzir@73 239 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 240 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 241 </configuration>
kkyzir@73 242 </plugin>
ggarbis@266 243 <plugin>
ggarbis@266 244 <groupId>org.apache.tomcat.maven</groupId>
ggarbis@266 245 <artifactId>tomcat7-maven-plugin</artifactId>
ggarbis@266 246 <executions>
ggarbis@266 247 <execution>
ggarbis@266 248 <id>tomcat-run</id>
ggarbis@266 249 <goals>
ggarbis@266 250 <goal>exec-war-only</goal>
ggarbis@266 251 </goals>
kkyzir@313 252 <!-- <phase>package</phase> -->
kkyzir@313 253 <phase>integration-test</phase>
ggarbis@266 254 <configuration>
ggarbis@266 255 <enableNaming>true</enableNaming>
ggarbis@266 256 </configuration>
ggarbis@266 257 </execution>
ggarbis@266 258 </executions>
ggarbis@266 259 </plugin>
kkyzir@73 260 </plugins>
ggarbis@266 261
ggarbis@266 262 <pluginManagement>
ggarbis@266 263 <plugins>
ggarbis@266 264 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 265 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 266 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 267 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 268 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 269 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 270 </configuration> </plugin> -->
ggarbis@266 271 <plugin>
ggarbis@266 272 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 273 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 274 <version>1.0.0</version>
ggarbis@266 275 <configuration>
ggarbis@266 276 <lifecycleMappingMetadata>
ggarbis@266 277 <pluginExecutions>
ggarbis@266 278 <pluginExecution>
ggarbis@266 279 <pluginExecutionFilter>
ggarbis@266 280 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 281 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 282 <versionRange>[2.1,)</versionRange>
ggarbis@266 283 <goals>
ggarbis@266 284 <goal>copy-dependencies</goal>
ggarbis@266 285 </goals>
ggarbis@266 286 </pluginExecutionFilter>
ggarbis@266 287 <action>
ggarbis@266 288 <ignore />
ggarbis@266 289 </action>
ggarbis@266 290 </pluginExecution>
ggarbis@266 291 </pluginExecutions>
ggarbis@266 292 </lifecycleMappingMetadata>
ggarbis@266 293 </configuration>
ggarbis@266 294 </plugin>
ggarbis@266 295 </plugins>
ggarbis@266 296 </pluginManagement>
ggarbis@263 297 </build>
kkyzir@73 298 </project>