Strabon

annotate endpoint/pom.xml @ 548:4bd5b9a0177b

Partially addresses Ticket #16: http://bug.strabon.di.uoa.gr/ticket/16.
It remains to save the new connection details in beans.xml.
Renamed also inner class StrabonEndpoint.Entry to a full class StrabonBeanWrapperConfiguration under package eu.earthobservatory.StrabonEndpoint.
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Sep 15 20:30:57 2012 +0300 (2012-09-15)
parents 4f97fb6389a5
children e5930301d59c
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>
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>
charnik@499 187 <include>query.jsp</include>
charnik@499 188 <include>describe.jsp</include>
charnik@548 189 <include>connection.jsp</include>
charnik@499 190 <include>teleios-header.html</include>
kkyzir@73 191 </includes>
kkyzir@73 192 </resource>
ggarbis@266 193
kkyzir@73 194 <resource>
kkyzir@73 195 <targetPath>/</targetPath>
kkyzir@73 196 <directory>${basedir}/WebContent</directory>
kkyzir@73 197 <includes>
kkyzir@73 198 <include>images/**</include>
charnik@542 199 <include>js/**</include>
kkyzir@73 200 </includes>
kkyzir@73 201 </resource>
kkyzir@73 202 </webResources>
ggarbis@266 203 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 204 </archive> -->
kkyzir@82 205 </configuration>
kkyzir@82 206 </plugin>
ggarbis@266 207 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 208 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 209 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 210 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 211 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 212 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 213 </configuration> </plugin> -->
kkyzir@73 214 <plugin>
kkyzir@73 215 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 216 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 217 <version>2.4</version>
kkyzir@73 218 <executions>
kkyzir@73 219 <execution>
ggarbis@266 220 <!-- <phase>validate</phase> -->
ggarbis@266 221 <phase>package</phase>
kkyzir@73 222 <goals>
kkyzir@73 223 <goal>copy</goal>
kkyzir@73 224 </goals>
kkyzir@73 225 <configuration>
kkyzir@73 226 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 227 <silent>true</silent>
kkyzir@73 228 <artifactItems>
kkyzir@73 229 <artifactItem>
kkyzir@73 230 <groupId>javax</groupId>
kkyzir@73 231 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 232 <version>6.0</version>
kkyzir@73 233 <type>jar</type>
kkyzir@73 234 </artifactItem>
kkyzir@73 235 </artifactItems>
kkyzir@73 236 </configuration>
kkyzir@73 237 </execution>
kkyzir@73 238 </executions>
kkyzir@73 239 </plugin>
kkyzir@73 240 <plugin>
kkyzir@73 241 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 242 <version>2.2.2</version>
kkyzir@73 243 <configuration>
kkyzir@73 244 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 245 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 246 </configuration>
kkyzir@73 247 </plugin>
ggarbis@266 248 <plugin>
ggarbis@266 249 <groupId>org.apache.tomcat.maven</groupId>
ggarbis@266 250 <artifactId>tomcat7-maven-plugin</artifactId>
ggarbis@266 251 <executions>
ggarbis@266 252 <execution>
ggarbis@266 253 <id>tomcat-run</id>
ggarbis@266 254 <goals>
ggarbis@266 255 <goal>exec-war-only</goal>
ggarbis@266 256 </goals>
kkyzir@313 257 <!-- <phase>package</phase> -->
kkyzir@313 258 <phase>integration-test</phase>
ggarbis@266 259 <configuration>
ggarbis@266 260 <enableNaming>true</enableNaming>
ggarbis@266 261 </configuration>
ggarbis@266 262 </execution>
ggarbis@266 263 </executions>
ggarbis@266 264 </plugin>
kkyzir@73 265 </plugins>
ggarbis@266 266
ggarbis@266 267 <pluginManagement>
ggarbis@266 268 <plugins>
ggarbis@266 269 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 270 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 271 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 272 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 273 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 274 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 275 </configuration> </plugin> -->
ggarbis@266 276 <plugin>
ggarbis@266 277 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 278 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 279 <version>1.0.0</version>
ggarbis@266 280 <configuration>
ggarbis@266 281 <lifecycleMappingMetadata>
ggarbis@266 282 <pluginExecutions>
ggarbis@266 283 <pluginExecution>
ggarbis@266 284 <pluginExecutionFilter>
ggarbis@266 285 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 286 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 287 <versionRange>[2.1,)</versionRange>
ggarbis@266 288 <goals>
ggarbis@266 289 <goal>copy-dependencies</goal>
ggarbis@266 290 </goals>
ggarbis@266 291 </pluginExecutionFilter>
ggarbis@266 292 <action>
ggarbis@266 293 <ignore />
ggarbis@266 294 </action>
ggarbis@266 295 </pluginExecution>
ggarbis@266 296 </pluginExecutions>
ggarbis@266 297 </lifecycleMappingMetadata>
ggarbis@266 298 </configuration>
ggarbis@266 299 </plugin>
ggarbis@266 300 </plugins>
ggarbis@266 301 </pluginManagement>
ggarbis@263 302 </build>
kkyzir@73 303 </project>