Strabon

annotate endpoint/pom.xml @ 499:ef9c43dd2c78

Several Changes in Strabon Endpoint:
Going for a change in the organization. The endpoint shall be composed of the beans covering the functionality of SPARQL protocol and the visual interface.
The beans (Describe, Store, Query, and Update) will conform to the SPARQL Protocol specification (e.g., they shall not recognize "format", "SPARQLQuery" parameters,
and other Strabon specific). Strabon specific parameters shall only be used in the visual HTML interface. Hence, the Beans will operate on the basis of "Accept" HTML
headers.

Now, there is a header for the TELEIOS logo and text description of the Strabon Endpoint. It is included in every .jsp file with a JSP directive. The file is named
"teleios-header.html".

With the introduction of these changes, I hope that nobody could ever mess the code again. :-) Of course, the human potential to messing is enormous.

Still, there is much refactoring to do in order to bring the endpoint at the state conforming to the above description (I have not messed much the functionality of the
visual interface, at least I suppose so. Accept my apologies in the case I have messed it).
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Jul 24 00:24:39 2012 +0300 (2012-07-24)
parents b127904ef297
children 74f346ca104f
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@490 7 <version>3.2.2-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>
kkyzir@73 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@499 189 <include>teleios-header.html</include>
kkyzir@73 190 </includes>
kkyzir@73 191 </resource>
ggarbis@266 192
kkyzir@73 193 <resource>
kkyzir@73 194 <targetPath>/</targetPath>
kkyzir@73 195 <directory>${basedir}/WebContent</directory>
kkyzir@73 196 <includes>
kkyzir@73 197 <include>images/**</include>
kkyzir@73 198 </includes>
kkyzir@73 199 </resource>
kkyzir@73 200 </webResources>
ggarbis@266 201 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
ggarbis@266 202 </archive> -->
kkyzir@82 203 </configuration>
kkyzir@82 204 </plugin>
ggarbis@266 205 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 206 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 207 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 208 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
ggarbis@266 209 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 210 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 211 </configuration> </plugin> -->
kkyzir@73 212 <plugin>
kkyzir@73 213 <groupId>org.apache.maven.plugins</groupId>
kkyzir@73 214 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 215 <version>2.4</version>
kkyzir@73 216 <executions>
kkyzir@73 217 <execution>
ggarbis@266 218 <!-- <phase>validate</phase> -->
ggarbis@266 219 <phase>package</phase>
kkyzir@73 220 <goals>
kkyzir@73 221 <goal>copy</goal>
kkyzir@73 222 </goals>
kkyzir@73 223 <configuration>
kkyzir@73 224 <outputDirectory>${endorsed.dir}</outputDirectory>
kkyzir@73 225 <silent>true</silent>
kkyzir@73 226 <artifactItems>
kkyzir@73 227 <artifactItem>
kkyzir@73 228 <groupId>javax</groupId>
kkyzir@73 229 <artifactId>javaee-endorsed-api</artifactId>
kkyzir@73 230 <version>6.0</version>
kkyzir@73 231 <type>jar</type>
kkyzir@73 232 </artifactItem>
kkyzir@73 233 </artifactItems>
kkyzir@73 234 </configuration>
kkyzir@73 235 </execution>
kkyzir@73 236 </executions>
kkyzir@73 237 </plugin>
kkyzir@73 238 <plugin>
kkyzir@73 239 <artifactId>maven-release-plugin</artifactId>
kkyzir@73 240 <version>2.2.2</version>
kkyzir@73 241 <configuration>
kkyzir@73 242 <tagNameFormat>v@{project.version}</tagNameFormat>
kkyzir@73 243 <autoVersionSubmodules>true</autoVersionSubmodules>
kkyzir@73 244 </configuration>
kkyzir@73 245 </plugin>
ggarbis@266 246 <plugin>
ggarbis@266 247 <groupId>org.apache.tomcat.maven</groupId>
ggarbis@266 248 <artifactId>tomcat7-maven-plugin</artifactId>
ggarbis@266 249 <executions>
ggarbis@266 250 <execution>
ggarbis@266 251 <id>tomcat-run</id>
ggarbis@266 252 <goals>
ggarbis@266 253 <goal>exec-war-only</goal>
ggarbis@266 254 </goals>
kkyzir@313 255 <!-- <phase>package</phase> -->
kkyzir@313 256 <phase>integration-test</phase>
ggarbis@266 257 <configuration>
ggarbis@266 258 <enableNaming>true</enableNaming>
ggarbis@266 259 </configuration>
ggarbis@266 260 </execution>
ggarbis@266 261 </executions>
ggarbis@266 262 </plugin>
kkyzir@73 263 </plugins>
ggarbis@266 264
ggarbis@266 265 <pluginManagement>
ggarbis@266 266 <plugins>
ggarbis@266 267 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 268 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
ggarbis@266 269 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 270 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
ggarbis@266 271 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
ggarbis@266 272 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
ggarbis@266 273 </configuration> </plugin> -->
ggarbis@266 274 <plugin>
ggarbis@266 275 <groupId>org.eclipse.m2e</groupId>
ggarbis@266 276 <artifactId>lifecycle-mapping</artifactId>
ggarbis@266 277 <version>1.0.0</version>
ggarbis@266 278 <configuration>
ggarbis@266 279 <lifecycleMappingMetadata>
ggarbis@266 280 <pluginExecutions>
ggarbis@266 281 <pluginExecution>
ggarbis@266 282 <pluginExecutionFilter>
ggarbis@266 283 <groupId>org.apache.maven.plugins</groupId>
ggarbis@266 284 <artifactId>maven-dependency-plugin</artifactId>
ggarbis@266 285 <versionRange>[2.1,)</versionRange>
ggarbis@266 286 <goals>
ggarbis@266 287 <goal>copy-dependencies</goal>
ggarbis@266 288 </goals>
ggarbis@266 289 </pluginExecutionFilter>
ggarbis@266 290 <action>
ggarbis@266 291 <ignore />
ggarbis@266 292 </action>
ggarbis@266 293 </pluginExecution>
ggarbis@266 294 </pluginExecutions>
ggarbis@266 295 </lifecycleMappingMetadata>
ggarbis@266 296 </configuration>
ggarbis@266 297 </plugin>
ggarbis@266 298 </plugins>
ggarbis@266 299 </pluginManagement>
ggarbis@263 300 </build>
kkyzir@73 301 </project>