Strabon

view endpoint-client/pom.xml @ 1517:bb3bcc0b9637

Cleaned remaining poms.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 29 19:46:51 2015 +0300 (2015-04-29)
parents 0b133c29bf41
children 166971ffb60b
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.3.2-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-queryresultio-spatial-api</artifactId>
21 </dependency>
23 <dependency>
24 <groupId>org.apache.httpcomponents</groupId>
25 <artifactId>httpclient</artifactId>
26 <!-- version was put in purpose! do not remove it; -->
27 <version>4.2</version>
28 </dependency>
30 <!-- Testing: JUnit -->
31 <dependency>
32 <groupId>junit</groupId>
33 <artifactId>junit</artifactId>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
37 <groupId>org.openrdf.sesame</groupId>
38 <artifactId>
39 sesame-queryresultio-spatial-sparqlkml
40 </artifactId>
41 </dependency>
42 </dependencies>
44 <build>
45 <pluginManagement>
46 <plugins>
47 <plugin>
48 <groupId>org.eclipse.m2e</groupId>
49 <artifactId>lifecycle-mapping</artifactId>
50 <version>1.0.0</version>
51 <configuration>
52 <lifecycleMappingMetadata>
53 <pluginExecutions>
54 <pluginExecution>
55 <pluginExecutionFilter>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-dependency-plugin</artifactId>
58 <versionRange>[2.4,)</versionRange>
59 <goals>
60 <goal>copy-dependencies</goal>
61 </goals>
62 </pluginExecutionFilter>
63 <action>
64 <ignore />
65 </action>
66 </pluginExecution>
67 </pluginExecutions>
68 </lifecycleMappingMetadata>
69 </configuration>
70 </plugin>
71 </plugins>
72 </pluginManagement>
74 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-compiler-plugin</artifactId>
78 <version>2.3.2</version>
79 <configuration>
80 <source>1.6</source>
81 <target>1.6</target>
82 <encoding>utf8</encoding>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-dependency-plugin</artifactId>
88 <version>2.4</version>
89 <executions>
90 <execution>
91 <id>copy-dependencies</id>
92 <phase>package</phase>
93 <goals>
94 <goal>copy-dependencies</goal>
95 </goals>
96 <configuration>
97 <outputDirectory>${project.build.directory}</outputDirectory>
98 <overWriteReleases>false</overWriteReleases>
99 <overWriteSnapshots>false</overWriteSnapshots>
100 <overWriteIfNewer>true</overWriteIfNewer>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-jar-plugin</artifactId>
109 <version>2.4</version>
110 <configuration>
111 <skipIfEmpty>true</skipIfEmpty>
112 </configuration>
113 <executions>
114 <execution>
115 <goals>
116 <goal>test-jar</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 </plugins>
122 </build>
124 <profiles>
125 <profile>
126 <id>conditional-shade-plugin</id>
128 <activation>
129 <property><name>!shade.skip</name></property>
130 </activation>
131 <build>
132 <plugins>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-shade-plugin</artifactId>
136 <version>2.2</version>
137 <!--
138 <configuration>
139 </configuration>
140 -->
141 <executions>
142 <execution>
143 <phase>package</phase>
144 <goals>
145 <goal>shade</goal>
146 </goals>
147 <configuration>
148 <transformers>
149 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
150 <mainClass>eu.earthobservatory.org.StrabonEndpoint.client.SPARQLEndpoint</mainClass>
151 </transformer>
152 </transformers>
153 <filters>
154 <filter>
155 <artifact>*:*</artifact>
156 <excludes>
157 <exclude>META-INF/*.SF</exclude>
158 <exclude>META-INF/*.DSA</exclude>
159 <exclude>META-INF/*.RSA</exclude>
160 </excludes>
161 </filter>
162 </filters>
163 </configuration>
164 </execution>
165 </executions>
166 </plugin>
167 </plugins>
168 </build>
169 </profile>
170 </profiles>
171 </project>