Strabon

annotate endpoint/pom.xml @ 306:cf6202c799f3

added log4j.properties file in endpoint to override the one used in strabon
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Jun 20 17:01:03 2012 +0300 (2012-06-20)
parents c91ab390b86d
children 998fb3bcc29e
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
kkyzir@305 90 <!--
ggarbis@263 91 <dependency>
ggarbis@266 92 <groupId>org.apache.cxf</groupId>
ggarbis@266 93 <artifactId>cxf-rt-frontend-jaxws</artifactId>
ggarbis@266 94 </dependency>
kkyzir@82 95
ggarbis@266 96 <dependency>
ggarbis@266 97 <groupId>org.apache.cxf</groupId>
ggarbis@266 98 <artifactId>cxf-rt-transports-http</artifactId>
ggarbis@266 99 </dependency>
ggarbis@266 100
ggarbis@266 101 <dependency>
ggarbis@266 102 <groupId>org.apache.cxf</groupId>
ggarbis@266 103 <artifactId>cxf-rt-transports-http-jetty</artifactId>
charnik@292 104 <exclusions>
charnik@292 105 <exclusion>
charnik@292 106 <artifactId>slf4j-jdk14</artifactId>
charnik@292 107 <groupId>org.slf4j</groupId>
charnik@292 108 </exclusion>
charnik@292 109 </exclusions>
ggarbis@266 110 </dependency>
kkyzir@305 111 -->
ggarbis@266 112 <dependency>
ggarbis@266 113 <groupId>commons-validator</groupId>
ggarbis@266 114 <artifactId>commons-validator</artifactId>
ggarbis@266 115 </dependency>
ggarbis@263 116 </dependencies>
kkyzir@73 117
kkyzir@73 118 <build>
kkyzir@73 119 <plugins>
kkyzir@73 120 <plugin>
kkyzir@73 121 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 122 <artifactId>maven-compiler-plugin</artifactId>
kkyzir@73 123 <version>2.3.2</version>
kkyzir@73 124 <configuration>
kkyzir@73 125 <source>1.6</source>
kkyzir@73 126 <target>1.6</target>
kkyzir@73 127 <compilerArguments>
kkyzir@73 128 <endorseddirs>${endorsed.dir}</endorseddirs>
kkyzir@73 129 </compilerArguments>
kkyzir@73 130 </configuration>
kkyzir@73 131 </plugin>
kkyzir@73 132 <plugin>
kkyzir@73 133 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 134 <artifactId>maven-war-plugin</artifactId>
kkyzir@73 135 <version>2.1.1</version>
kkyzir@73 136 <configuration>
kkyzir@73 137 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
kkyzir@73 138 <webResources>
kkyzir@73 139 <resource>
kkyzir@73 140 <targetPath>/WEB-INF</targetPath>
kkyzir@73 141 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 142 <includes>
kkyzir@73 143 <include>lib/**</include>
kkyzir@73 144 </includes>
kkyzir@73 145 </resource>
kkyzir@73 146
kkyzir@73 147 <resource>
kkyzir@73 148 <targetPath>/WEB-INF</targetPath>
kkyzir@73 149 <directory>${basedir}</directory>
kkyzir@73 150 <includes>
kkyzir@73 151 <include>wsdl/**</include>
kkyzir@73 152 </includes>
kkyzir@73 153 </resource>
kkyzir@73 154
kkyzir@73 155 <resource>
kkyzir@73 156 <targetPath>/WEB-INF</targetPath>
kkyzir@73 157 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 158 <includes>
kkyzir@73 159 <include>beans.xml</include>
kkyzir@73 160 </includes>
kkyzir@73 161 </resource>
ggarbis@266 162
kkyzir@73 163 <resource>
charnik@306 164 <targetPath>/WEB-INF/classes</targetPath>
charnik@306 165 <directory>${basedir}/src</directory>
charnik@306 166 <includes>
charnik@306 167 <include>log4j.properties</include>
charnik@306 168 </includes>
charnik@306 169 </resource>
charnik@306 170
charnik@306 171 <resource>
kkyzir@73 172 <targetPath>/</targetPath>
kkyzir@73 173 <directory>${basedir}/WebContent</directory>
kkyzir@73 174 <includes>
kkyzir@73 175 <include>style.css</include>
kkyzir@73 176 <include>store.jsp</include>
kkyzir@73 177 </includes>
kkyzir@73 178 </resource>
ggarbis@266 179
kkyzir@73 180 <resource>
kkyzir@73 181 <targetPath>/</targetPath>
kkyzir@73 182 <directory>${basedir}/WebContent</directory>
kkyzir@73 183 <includes>
kkyzir@73 184 <include>images/**</include>
kkyzir@73 185 </includes>
kkyzir@73 186 </resource>
kkyzir@73 187 </webResources>
ggarbis@266 188 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 189 </archive> -->
kkyzir@82 190 </configuration>
kkyzir@82 191 </plugin>
ggarbis@266 192 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 193 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 194 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 195 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 196 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 197 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 198 </configuration> </plugin> -->
kkyzir@73 199 <plugin>
kkyzir@73 200 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 201 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 202 <version>2.4</version>
kkyzir@73 203 <executions>
kkyzir@73 204 <execution>
ggarbis@266 205 <!-- <phase>validate</phase> -->
ggarbis@266 206 <phase>package</phase>
kkyzir@73 207 <goals>
kkyzir@73 208 <goal>copy</goal>
kkyzir@73 209 </goals>
kkyzir@73 210 <configuration>
kkyzir@73 211 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 212 <silent>true</silent>
kkyzir@73 213 <artifactItems>
kkyzir@73 214 <artifactItem>
kkyzir@73 215 <groupId>javax</groupId>
kkyzir@73 216 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 217 <version>6.0</version>
kkyzir@73 218 <type>jar</type>
kkyzir@73 219 </artifactItem>
kkyzir@73 220 </artifactItems>
kkyzir@73 221 </configuration>
kkyzir@73 222 </execution>
kkyzir@73 223 </executions>
kkyzir@73 224 </plugin>
kkyzir@73 225 <plugin>
kkyzir@73 226 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 227 <version>2.2.2</version>
kkyzir@73 228 <configuration>
kkyzir@73 229 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 230 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 231 </configuration>
kkyzir@73 232 </plugin>
ggarbis@266 233 <plugin>
ggarbis@266 234 <groupId>org.apache.tomcat.maven</groupId>
ggarbis@266 235 <artifactId>tomcat7-maven-plugin</artifactId>
ggarbis@266 236 <executions>
ggarbis@266 237 <execution>
ggarbis@266 238 <id>tomcat-run</id>
ggarbis@266 239 <goals>
ggarbis@266 240 <goal>exec-war-only</goal>
ggarbis@266 241 </goals>
ggarbis@266 242 <phase>package</phase>
ggarbis@266 243 <configuration>
ggarbis@266 244 <enableNaming>true</enableNaming>
ggarbis@266 245 </configuration>
ggarbis@266 246 </execution>
ggarbis@266 247 </executions>
ggarbis@266 248 </plugin>
kkyzir@73 249 </plugins>
ggarbis@266 250
ggarbis@266 251 <pluginManagement>
ggarbis@266 252 <plugins>
ggarbis@266 253 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 254 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 255 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 256 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 257 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 258 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 259 </configuration> </plugin> -->
ggarbis@266 260 <plugin>
ggarbis@266 261 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 262 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 263 <version>1.0.0</version>
ggarbis@266 264 <configuration>
ggarbis@266 265 <lifecycleMappingMetadata>
ggarbis@266 266 <pluginExecutions>
ggarbis@266 267 <pluginExecution>
ggarbis@266 268 <pluginExecutionFilter>
ggarbis@266 269 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 270 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 271 <versionRange>[2.1,)</versionRange>
ggarbis@266 272 <goals>
ggarbis@266 273 <goal>copy-dependencies</goal>
ggarbis@266 274 </goals>
ggarbis@266 275 </pluginExecutionFilter>
ggarbis@266 276 <action>
ggarbis@266 277 <ignore />
ggarbis@266 278 </action>
ggarbis@266 279 </pluginExecution>
ggarbis@266 280 </pluginExecutions>
ggarbis@266 281 </lifecycleMappingMetadata>
ggarbis@266 282 </configuration>
ggarbis@266 283 </plugin>
ggarbis@266 284 </plugins>
ggarbis@266 285 </pluginManagement>
ggarbis@263 286 </build>
kkyzir@73 287 </project>