Strabon

annotate endpoint/pom.xml @ 955:318ed1e6dd14

added file endpoint/src/main/resources/version.properties in strabon-endpoint that contains the version of Strabon. The version is updated automatically during the build process and then it can be accessed by any Java class
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Apr 02 01:03:35 2013 +0300 (2013-04-02)
parents 2daceed2f0d0
children 69a0a785ef8f
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>
charnik@930 7 <version>3.2.9-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
charnik@686 13 <name>Strabon: Endpoint</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>
charnik@955 129 <resources>
charnik@955 130 <resource>
charnik@955 131 <directory>src/main/resources</directory>
charnik@955 132 <filtering>true</filtering>
charnik@955 133 <includes>
charnik@955 134 <include>**/version.properties</include>
charnik@955 135 </includes>
charnik@955 136 </resource>
charnik@955 137 <resource>
charnik@955 138 <directory>src/main/resources</directory>
charnik@955 139 <filtering>false</filtering>
charnik@955 140 <excludes>
charnik@955 141 <exclude>**/version.properties</exclude>
charnik@955 142 </excludes>
charnik@955 143 </resource>
charnik@955 144 </resources>
kkyzir@73 145 <plugins>
kkyzir@73 146 <plugin>
kkyzir@73 147 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 148 <artifactId>maven-compiler-plugin</artifactId>
kkyzir@73 149 <version>2.3.2</version>
kkyzir@73 150 <configuration>
kkyzir@73 151 <source>1.6</source>
kkyzir@73 152 <target>1.6</target>
kkyzir@73 153 <compilerArguments>
kkyzir@73 154 <endorseddirs>${endorsed.dir}</endorseddirs>
kkyzir@73 155 </compilerArguments>
kkyzir@73 156 </configuration>
kkyzir@73 157 </plugin>
kkyzir@73 158 <plugin>
kkyzir@73 159 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 160 <artifactId>maven-war-plugin</artifactId>
kkyzir@73 161 <version>2.1.1</version>
kkyzir@73 162 <configuration>
kkyzir@73 163 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
kkyzir@73 164 <webResources>
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>lib/**</include>
kkyzir@73 170 </includes>
kkyzir@73 171 </resource>
kkyzir@73 172
kkyzir@73 173 <resource>
kkyzir@73 174 <targetPath>/WEB-INF</targetPath>
kkyzir@73 175 <directory>${basedir}</directory>
kkyzir@73 176 <includes>
kkyzir@73 177 <include>wsdl/**</include>
kkyzir@73 178 </includes>
kkyzir@73 179 </resource>
kkyzir@73 180
kkyzir@73 181 <resource>
kkyzir@73 182 <targetPath>/WEB-INF</targetPath>
kkyzir@73 183 <directory>${basedir}/WebContent/WEB-INF</directory>
kkyzir@73 184 <includes>
kkyzir@73 185 <include>beans.xml</include>
charnik@550 186 <include>connection.properties</include>
sgian@642 187 <include>credentials.properties</include>
kkyzir@73 188 </includes>
kkyzir@73 189 </resource>
ggarbis@266 190
kkyzir@73 191 <resource>
charnik@306 192 <targetPath>/WEB-INF/classes</targetPath>
charnik@306 193 <directory>${basedir}/src</directory>
charnik@306 194 <includes>
charnik@306 195 <include>log4j.properties</include>
charnik@306 196 </includes>
charnik@306 197 </resource>
charnik@306 198
charnik@306 199 <resource>
kkyzir@73 200 <targetPath>/</targetPath>
kkyzir@73 201 <directory>${basedir}/WebContent</directory>
kkyzir@73 202 <includes>
kkyzir@73 203 <include>style.css</include>
kkyzir@608 204 <include>style-menu.css</include>
kkyzir@73 205 <include>store.jsp</include>
charnik@499 206 <include>query.jsp</include>
charnik@499 207 <include>describe.jsp</include>
charnik@548 208 <include>connection.jsp</include>
sgian@570 209 <include>connection.jsp</include>
sgian@570 210 <include>browse.jsp</include>
charnik@499 211 <include>teleios-header.html</include>
kkyzir@73 212 </includes>
kkyzir@73 213 </resource>
ggarbis@266 214
kkyzir@73 215 <resource>
kkyzir@73 216 <targetPath>/</targetPath>
kkyzir@73 217 <directory>${basedir}/WebContent</directory>
kkyzir@73 218 <includes>
kkyzir@73 219 <include>images/**</include>
charnik@542 220 <include>js/**</include>
kkyzir@73 221 </includes>
kkyzir@73 222 </resource>
kkyzir@73 223 </webResources>
ggarbis@266 224 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 225 </archive> -->
kkyzir@82 226 </configuration>
kkyzir@82 227 </plugin>
ggarbis@266 228 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 229 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 230 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 231 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 232 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 233 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 234 </configuration> </plugin> -->
kkyzir@73 235 <plugin>
kkyzir@73 236 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 237 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 238 <version>2.4</version>
kkyzir@73 239 <executions>
kkyzir@73 240 <execution>
ggarbis@266 241 <!-- <phase>validate</phase> -->
ggarbis@266 242 <phase>package</phase>
kkyzir@73 243 <goals>
kkyzir@73 244 <goal>copy</goal>
kkyzir@73 245 </goals>
kkyzir@73 246 <configuration>
kkyzir@73 247 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 248 <silent>true</silent>
kkyzir@73 249 <artifactItems>
kkyzir@73 250 <artifactItem>
kkyzir@73 251 <groupId>javax</groupId>
kkyzir@73 252 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 253 <version>6.0</version>
kkyzir@73 254 <type>jar</type>
kkyzir@73 255 </artifactItem>
kkyzir@73 256 </artifactItems>
kkyzir@73 257 </configuration>
kkyzir@73 258 </execution>
kkyzir@73 259 </executions>
kkyzir@73 260 </plugin>
kkyzir@73 261 <plugin>
kkyzir@73 262 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 263 <version>2.2.2</version>
kkyzir@73 264 <configuration>
kkyzir@73 265 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 266 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 267 </configuration>
kkyzir@73 268 </plugin>
kkyzir@73 269 </plugins>
ggarbis@266 270
ggarbis@266 271 <pluginManagement>
ggarbis@266 272 <plugins>
ggarbis@266 273 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 274 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 275 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 276 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 277 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 278 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 279 </configuration> </plugin> -->
ggarbis@266 280 <plugin>
ggarbis@266 281 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 282 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 283 <version>1.0.0</version>
ggarbis@266 284 <configuration>
ggarbis@266 285 <lifecycleMappingMetadata>
ggarbis@266 286 <pluginExecutions>
ggarbis@266 287 <pluginExecution>
ggarbis@266 288 <pluginExecutionFilter>
ggarbis@266 289 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 290 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 291 <versionRange>[2.1,)</versionRange>
ggarbis@266 292 <goals>
ggarbis@266 293 <goal>copy-dependencies</goal>
ggarbis@266 294 </goals>
ggarbis@266 295 </pluginExecutionFilter>
ggarbis@266 296 <action>
ggarbis@266 297 <ignore />
ggarbis@266 298 </action>
ggarbis@266 299 </pluginExecution>
ggarbis@266 300 </pluginExecutions>
ggarbis@266 301 </lifecycleMappingMetadata>
ggarbis@266 302 </configuration>
ggarbis@266 303 </plugin>
ggarbis@266 304 </plugins>
ggarbis@266 305 </pluginManagement>
ggarbis@263 306 </build>
kkyzir@73 307 </project>