Strabon

view endpoint-client/pom.xml @ 953:c09e97aa4e8b

Added several metadata in the main pom.xml file.
Try running `mvn site` and have a look at target/site/index.html
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Sun Mar 31 15:35:24 2013 +0300 (2013-03-31)
parents 389213ce7843
children f662352c3799 a1e2561b7c2c 34a6c207f0d3
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.9-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 </dependencies>
42 <build>
43 <pluginManagement>
44 <plugins>
45 <plugin>
46 <groupId>org.eclipse.m2e</groupId>
47 <artifactId>lifecycle-mapping</artifactId>
48 <version>1.0.0</version>
49 <configuration>
50 <lifecycleMappingMetadata>
51 <pluginExecutions>
52 <pluginExecution>
53 <pluginExecutionFilter>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-dependency-plugin</artifactId>
56 <versionRange>[2.3,)</versionRange>
57 <goals>
58 <goal>copy-dependencies</goal>
59 </goals>
60 </pluginExecutionFilter>
61 <action>
62 <ignore />
63 </action>
64 </pluginExecution>
65 </pluginExecutions>
66 </lifecycleMappingMetadata>
67 </configuration>
68 </plugin>
69 </plugins>
70 </pluginManagement>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-compiler-plugin</artifactId>
76 <version>2.3.2</version>
77 <configuration>
78 <source>1.6</source>
79 <target>1.6</target>
80 <encoding>utf8</encoding>
81 </configuration>
82 </plugin>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-dependency-plugin</artifactId>
86 <version>2.4</version>
87 <executions>
88 <execution>
89 <id>copy-dependencies</id>
90 <phase>package</phase>
91 <goals>
92 <goal>copy-dependencies</goal>
93 </goals>
94 <configuration>
95 <outputDirectory>${project.build.directory}</outputDirectory>
96 <overWriteReleases>false</overWriteReleases>
97 <overWriteSnapshots>false</overWriteSnapshots>
98 <overWriteIfNewer>true</overWriteIfNewer>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-jar-plugin</artifactId>
107 <version>2.4</version>
108 <configuration>
109 <skipIfEmpty>true</skipIfEmpty>
110 </configuration>
111 <executions>
112 <execution>
113 <goals>
114 <goal>test-jar</goal>
115 </goals>
116 </execution>
117 </executions>
118 </plugin>
119 </plugins>
120 </build>
122 <profiles>
123 <profile>
124 <id>conditional-shade-plugin</id>
126 <activation>
127 <property><name>!shade.skip</name></property>
128 </activation>
129 <build>
130 <plugins>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-shade-plugin</artifactId>
134 <version>2.0</version>
135 <!--
136 <configuration>
137 </configuration>
138 -->
139 <executions>
140 <execution>
141 <phase>package</phase>
142 <goals>
143 <goal>shade</goal>
144 </goals>
145 <configuration>
146 <transformers>
147 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
148 <mainClass>eu.earthobservatory.org.StrabonEndpoint.client.StrabonEndpoint</mainClass>
149 </transformer>
150 </transformers>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155 </plugins>
156 </build>
157 </profile>
158 </profiles>
159 </project>