Strabon
view endpoint-client/pom.xml @ 1426:014379fdddf2
fixed the tests of geof:distance and geof:buffer, that had wrong results due to the
conversion of the resulting geometry to the srid 3857.
The results are validated using PostGIS, where in the case of buffer there are
small differences in the precision.
Moreover, in the case of BufferMetresTest, there was no point in having as distance
1m, because the geometry did not change, so i added 55000 metres instead (about 0.5 degrees).
conversion of the resulting geometry to the srid 3857.
The results are validated using PostGIS, where in the case of buffer there are
small differences in the precision.
Moreover, in the case of BufferMetresTest, there was no point in having as distance
1m, because the geometry did not change, so i added 55000 metres instead (about 0.5 degrees).
author | Stella Giannakopoulou <sgian@di.uoa.gr> |
---|---|
date | Wed Sep 24 17:43:53 2014 +0300 (2014-09-24) |
parents | 903d19424c75 9bf18b76f448 |
children | 5b6b65340693 0397b9f4b68f |
line source
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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>eu.earthobservatory</groupId>
7 <artifactId>strabon</artifactId>
8 <version>3.2.11-SNAPSHOT</version>
9 </parent>
11 <artifactId>strabon-endpoint-client</artifactId>
13 <name>Strabon: Endpoint client</name>
14 <description>A java client for Strabon endpoint</description>
15 <packaging>jar</packaging>
17 <dependencies>
18 <dependency>
19 <groupId>org.openrdf.sesame</groupId>
20 <artifactId>sesame-rio-api</artifactId>
21 </dependency>
22 <dependency>
23 <groupId>org.openrdf.sesame</groupId>
24 <artifactId>sesame-queryresultio-spatial-api</artifactId>
25 </dependency>
27 <dependency>
28 <groupId>org.apache.httpcomponents</groupId>
29 <artifactId>httpclient</artifactId>
30 <!-- version was put in purpose! do not remove it; -->
31 <version>4.2</version>
32 </dependency>
34 <!-- Testing: JUnit -->
35 <dependency>
36 <groupId>junit</groupId>
37 <artifactId>junit</artifactId>
38 <scope>test</scope>
39 </dependency>
40 <dependency>
41 <groupId>org.openrdf.sesame</groupId>
42 <artifactId>
43 sesame-queryresultio-spatial-sparqlkml
44 </artifactId>
45 </dependency>
46 </dependencies>
48 <build>
49 <pluginManagement>
50 <plugins>
51 <plugin>
52 <groupId>org.eclipse.m2e</groupId>
53 <artifactId>lifecycle-mapping</artifactId>
54 <version>1.0.0</version>
55 <configuration>
56 <lifecycleMappingMetadata>
57 <pluginExecutions>
58 <pluginExecution>
59 <pluginExecutionFilter>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-dependency-plugin</artifactId>
62 <versionRange>[2.4,)</versionRange>
63 <goals>
64 <goal>copy-dependencies</goal>
65 </goals>
66 </pluginExecutionFilter>
67 <action>
68 <ignore />
69 </action>
70 </pluginExecution>
71 </pluginExecutions>
72 </lifecycleMappingMetadata>
73 </configuration>
74 </plugin>
75 </plugins>
76 </pluginManagement>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <version>2.3.2</version>
83 <configuration>
84 <source>1.6</source>
85 <target>1.6</target>
86 <encoding>utf8</encoding>
87 </configuration>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-dependency-plugin</artifactId>
92 <version>2.4</version>
93 <executions>
94 <execution>
95 <id>copy-dependencies</id>
96 <phase>package</phase>
97 <goals>
98 <goal>copy-dependencies</goal>
99 </goals>
100 <configuration>
101 <outputDirectory>${project.build.directory}</outputDirectory>
102 <overWriteReleases>false</overWriteReleases>
103 <overWriteSnapshots>false</overWriteSnapshots>
104 <overWriteIfNewer>true</overWriteIfNewer>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-jar-plugin</artifactId>
113 <version>2.4</version>
114 <configuration>
115 <skipIfEmpty>true</skipIfEmpty>
116 </configuration>
117 <executions>
118 <execution>
119 <goals>
120 <goal>test-jar</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 </build>
128 <profiles>
129 <profile>
130 <id>conditional-shade-plugin</id>
132 <activation>
133 <property><name>!shade.skip</name></property>
134 </activation>
135 <build>
136 <plugins>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-shade-plugin</artifactId>
140 <version>2.2</version>
141 <!--
142 <configuration>
143 </configuration>
144 -->
145 <executions>
146 <execution>
147 <phase>package</phase>
148 <goals>
149 <goal>shade</goal>
150 </goals>
151 <configuration>
152 <transformers>
153 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
154 <mainClass>eu.earthobservatory.org.StrabonEndpoint.client.SPARQLEndpoint</mainClass>
155 </transformer>
156 </transformers>
157 <filters>
158 <filter>
159 <artifact>*:*</artifact>
160 <excludes>
161 <exclude>META-INF/*.SF</exclude>
162 <exclude>META-INF/*.DSA</exclude>
163 <exclude>META-INF/*.RSA</exclude>
164 </excludes>
165 </filter>
166 </filters>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
171 </plugins>
172 </build>
173 </profile>
174 </profiles>
175 </project>