Strabon

annotate endpoint/pom.xml @ 292:809c08f7b984

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