Strabon

annotate endpoint/pom.xml @ 550:e5930301d59c

added connection.properties under WEB-INF/ directory. Now the connection details have to be given in that file only.
This change is for facilitating the permanent update of connection details.
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Sep 15 23:52:14 2012 +0300 (2012-09-15)
parents 4bd5b9a0177b
children e53c5ec92c0a 0223607ec93f
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>
kkyzir@539 7 <version>3.2.4-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>
charnik@518 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>
charnik@550 170 <include>connection.properties</include>
kkyzir@73 171 </includes>
kkyzir@73 172 </resource>
ggarbis@266 173
kkyzir@73 174 <resource>
charnik@306 175 <targetPath>/WEB-INF/classes</targetPath>
charnik@306 176 <directory>${basedir}/src</directory>
charnik@306 177 <includes>
charnik@306 178 <include>log4j.properties</include>
charnik@306 179 </includes>
charnik@306 180 </resource>
charnik@306 181
charnik@306 182 <resource>
kkyzir@73 183 <targetPath>/</targetPath>
kkyzir@73 184 <directory>${basedir}/WebContent</directory>
kkyzir@73 185 <includes>
kkyzir@73 186 <include>style.css</include>
kkyzir@73 187 <include>store.jsp</include>
charnik@499 188 <include>query.jsp</include>
charnik@499 189 <include>describe.jsp</include>
charnik@548 190 <include>connection.jsp</include>
charnik@499 191 <include>teleios-header.html</include>
kkyzir@73 192 </includes>
kkyzir@73 193 </resource>
ggarbis@266 194
kkyzir@73 195 <resource>
kkyzir@73 196 <targetPath>/</targetPath>
kkyzir@73 197 <directory>${basedir}/WebContent</directory>
kkyzir@73 198 <includes>
kkyzir@73 199 <include>images/**</include>
charnik@542 200 <include>js/**</include>
kkyzir@73 201 </includes>
kkyzir@73 202 </resource>
kkyzir@73 203 </webResources>
ggarbis@266 204 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 205 </archive> -->
kkyzir@82 206 </configuration>
kkyzir@82 207 </plugin>
ggarbis@266 208 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 209 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 210 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 211 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 212 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 213 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 214 </configuration> </plugin> -->
kkyzir@73 215 <plugin>
kkyzir@73 216 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 217 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 218 <version>2.4</version>
kkyzir@73 219 <executions>
kkyzir@73 220 <execution>
ggarbis@266 221 <!-- <phase>validate</phase> -->
ggarbis@266 222 <phase>package</phase>
kkyzir@73 223 <goals>
kkyzir@73 224 <goal>copy</goal>
kkyzir@73 225 </goals>
kkyzir@73 226 <configuration>
kkyzir@73 227 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 228 <silent>true</silent>
kkyzir@73 229 <artifactItems>
kkyzir@73 230 <artifactItem>
kkyzir@73 231 <groupId>javax</groupId>
kkyzir@73 232 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 233 <version>6.0</version>
kkyzir@73 234 <type>jar</type>
kkyzir@73 235 </artifactItem>
kkyzir@73 236 </artifactItems>
kkyzir@73 237 </configuration>
kkyzir@73 238 </execution>
kkyzir@73 239 </executions>
kkyzir@73 240 </plugin>
kkyzir@73 241 <plugin>
kkyzir@73 242 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 243 <version>2.2.2</version>
kkyzir@73 244 <configuration>
kkyzir@73 245 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 246 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 247 </configuration>
kkyzir@73 248 </plugin>
ggarbis@266 249 <plugin>
ggarbis@266 250 <groupId>org.apache.tomcat.maven</groupId>
ggarbis@266 251 <artifactId>tomcat7-maven-plugin</artifactId>
ggarbis@266 252 <executions>
ggarbis@266 253 <execution>
ggarbis@266 254 <id>tomcat-run</id>
ggarbis@266 255 <goals>
ggarbis@266 256 <goal>exec-war-only</goal>
ggarbis@266 257 </goals>
kkyzir@313 258 <!-- <phase>package</phase> -->
kkyzir@313 259 <phase>integration-test</phase>
ggarbis@266 260 <configuration>
ggarbis@266 261 <enableNaming>true</enableNaming>
ggarbis@266 262 </configuration>
ggarbis@266 263 </execution>
ggarbis@266 264 </executions>
ggarbis@266 265 </plugin>
kkyzir@73 266 </plugins>
ggarbis@266 267
ggarbis@266 268 <pluginManagement>
ggarbis@266 269 <plugins>
ggarbis@266 270 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 271 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 272 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 273 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 274 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 275 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 276 </configuration> </plugin> -->
ggarbis@266 277 <plugin>
ggarbis@266 278 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 279 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 280 <version>1.0.0</version>
ggarbis@266 281 <configuration>
ggarbis@266 282 <lifecycleMappingMetadata>
ggarbis@266 283 <pluginExecutions>
ggarbis@266 284 <pluginExecution>
ggarbis@266 285 <pluginExecutionFilter>
ggarbis@266 286 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 287 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 288 <versionRange>[2.1,)</versionRange>
ggarbis@266 289 <goals>
ggarbis@266 290 <goal>copy-dependencies</goal>
ggarbis@266 291 </goals>
ggarbis@266 292 </pluginExecutionFilter>
ggarbis@266 293 <action>
ggarbis@266 294 <ignore />
ggarbis@266 295 </action>
ggarbis@266 296 </pluginExecution>
ggarbis@266 297 </pluginExecutions>
ggarbis@266 298 </lifecycleMappingMetadata>
ggarbis@266 299 </configuration>
ggarbis@266 300 </plugin>
ggarbis@266 301 </plugins>
ggarbis@266 302 </pluginManagement>
ggarbis@263 303 </build>
kkyzir@73 304 </project>