Strabon

annotate endpoint-client/pom.xml @ 1054:e6faec9facc6

Modified pom.xml of endpoint-client in order to produce an valid but unsigned jar that contains all dependencies.
Previously, the produced jar would contain signatures coming from various signed jars, resulting to an invalid jar.
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Sat Apr 20 00:05:19 2013 +0300 (2013-04-20)
parents 34a6c207f0d3
children e2b76cad5b7c
rev   line source
charnik@686 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">
charnik@686 2
charnik@686 3 <modelVersion>4.0.0</modelVersion>
charnik@686 4
charnik@686 5 <parent>
charnik@686 6 <groupId>eu.earthobservatory</groupId>
charnik@686 7 <artifactId>strabon</artifactId>
charnik@930 8 <version>3.2.9-SNAPSHOT</version>
charnik@686 9 </parent>
charnik@686 10
charnik@688 11 <artifactId>strabon-endpoint-client</artifactId>
charnik@686 12
charnik@686 13 <name>Strabon: Endpoint client</name>
charnik@686 14 <description>A java client for Strabon endpoint</description>
charnik@686 15 <packaging>jar</packaging>
charnik@686 16
charnik@686 17 <dependencies>
charnik@686 18 <dependency>
charnik@686 19 <groupId>org.openrdf.sesame</groupId>
charnik@688 20 <artifactId>sesame-rio-api</artifactId>
charnik@686 21 </dependency>
charnik@686 22 <dependency>
charnik@686 23 <groupId>org.openrdf.sesame</groupId>
charnik@688 24 <artifactId>sesame-queryresultio-spatial-api</artifactId>
charnik@686 25 </dependency>
charnik@764 26
charnik@686 27 <dependency>
charnik@764 28 <groupId>org.apache.httpcomponents</groupId>
charnik@764 29 <artifactId>httpclient</artifactId>
charnik@764 30 <!-- version was put in purpose! do not remove it; -->
charnik@764 31 <version>4.2</version>
charnik@686 32 </dependency>
charnik@686 33
charnik@686 34 <!-- Testing: JUnit -->
charnik@686 35 <dependency>
charnik@686 36 <groupId>junit</groupId>
charnik@686 37 <artifactId>junit</artifactId>
charnik@686 38 <scope>test</scope>
charnik@686 39 </dependency>
kallirroi@1010 40 <dependency>
kallirroi@1010 41 <groupId>org.openrdf.sesame</groupId>
kallirroi@1010 42 <artifactId>
kallirroi@1010 43 sesame-queryresultio-spatial-sparqlkml
kallirroi@1010 44 </artifactId>
kallirroi@1010 45 </dependency>
charnik@686 46 </dependencies>
charnik@686 47
charnik@686 48 <build>
charnik@686 49 <pluginManagement>
charnik@686 50 <plugins>
charnik@686 51 <plugin>
charnik@686 52 <groupId>org.eclipse.m2e</groupId>
charnik@686 53 <artifactId>lifecycle-mapping</artifactId>
charnik@686 54 <version>1.0.0</version>
charnik@686 55 <configuration>
charnik@686 56 <lifecycleMappingMetadata>
charnik@686 57 <pluginExecutions>
charnik@686 58 <pluginExecution>
charnik@686 59 <pluginExecutionFilter>
charnik@686 60 <groupId>org.apache.maven.plugins</groupId>
charnik@686 61 <artifactId>maven-dependency-plugin</artifactId>
charnik@686 62 <versionRange>[2.3,)</versionRange>
charnik@686 63 <goals>
charnik@686 64 <goal>copy-dependencies</goal>
charnik@686 65 </goals>
charnik@686 66 </pluginExecutionFilter>
charnik@686 67 <action>
charnik@686 68 <ignore />
charnik@686 69 </action>
charnik@686 70 </pluginExecution>
charnik@686 71 </pluginExecutions>
charnik@686 72 </lifecycleMappingMetadata>
charnik@686 73 </configuration>
charnik@686 74 </plugin>
charnik@686 75 </plugins>
charnik@686 76 </pluginManagement>
charnik@686 77
charnik@686 78 <plugins>
charnik@686 79 <plugin>
charnik@686 80 <groupId>org.apache.maven.plugins</groupId>
charnik@686 81 <artifactId>maven-compiler-plugin</artifactId>
charnik@686 82 <version>2.3.2</version>
charnik@686 83 <configuration>
charnik@686 84 <source>1.6</source>
charnik@686 85 <target>1.6</target>
charnik@686 86 <encoding>utf8</encoding>
charnik@686 87 </configuration>
charnik@686 88 </plugin>
charnik@686 89 <plugin>
charnik@686 90 <groupId>org.apache.maven.plugins</groupId>
charnik@686 91 <artifactId>maven-dependency-plugin</artifactId>
charnik@686 92 <version>2.4</version>
charnik@686 93 <executions>
charnik@686 94 <execution>
charnik@686 95 <id>copy-dependencies</id>
charnik@686 96 <phase>package</phase>
charnik@686 97 <goals>
charnik@686 98 <goal>copy-dependencies</goal>
charnik@686 99 </goals>
charnik@686 100 <configuration>
charnik@686 101 <outputDirectory>${project.build.directory}</outputDirectory>
charnik@686 102 <overWriteReleases>false</overWriteReleases>
charnik@686 103 <overWriteSnapshots>false</overWriteSnapshots>
charnik@686 104 <overWriteIfNewer>true</overWriteIfNewer>
charnik@686 105 </configuration>
charnik@686 106 </execution>
charnik@686 107 </executions>
charnik@686 108 </plugin>
charnik@686 109
charnik@686 110 <plugin>
charnik@686 111 <groupId>org.apache.maven.plugins</groupId>
charnik@686 112 <artifactId>maven-jar-plugin</artifactId>
charnik@686 113 <version>2.4</version>
charnik@686 114 <configuration>
charnik@686 115 <skipIfEmpty>true</skipIfEmpty>
charnik@686 116 </configuration>
charnik@686 117 <executions>
charnik@686 118 <execution>
charnik@686 119 <goals>
charnik@686 120 <goal>test-jar</goal>
charnik@686 121 </goals>
charnik@686 122 </execution>
charnik@686 123 </executions>
charnik@686 124 </plugin>
charnik@686 125 </plugins>
charnik@686 126 </build>
charnik@846 127
charnik@846 128 <profiles>
charnik@846 129 <profile>
charnik@846 130 <id>conditional-shade-plugin</id>
charnik@846 131
charnik@846 132 <activation>
charnik@846 133 <property><name>!shade.skip</name></property>
charnik@846 134 </activation>
charnik@846 135 <build>
charnik@846 136 <plugins>
charnik@846 137 <plugin>
charnik@846 138 <groupId>org.apache.maven.plugins</groupId>
charnik@846 139 <artifactId>maven-shade-plugin</artifactId>
charnik@846 140 <version>2.0</version>
charnik@846 141 <!--
charnik@846 142 <configuration>
charnik@846 143 </configuration>
charnik@846 144 -->
charnik@846 145 <executions>
charnik@846 146 <execution>
charnik@846 147 <phase>package</phase>
charnik@846 148 <goals>
charnik@846 149 <goal>shade</goal>
charnik@846 150 </goals>
charnik@846 151 <configuration>
charnik@846 152 <transformers>
charnik@846 153 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
charnik@846 154 <mainClass>eu.earthobservatory.org.StrabonEndpoint.client.StrabonEndpoint</mainClass>
charnik@846 155 </transformer>
charnik@846 156 </transformers>
kkyzir@1054 157 <filters>
kkyzir@1054 158 <filter>
kkyzir@1054 159 <artifact>*:*</artifact>
kkyzir@1054 160 <excludes>
kkyzir@1054 161 <exclude>META-INF/*.SF</exclude>
kkyzir@1054 162 <exclude>META-INF/*.DSA</exclude>
kkyzir@1054 163 <exclude>META-INF/*.RSA</exclude>
kkyzir@1054 164 </excludes>
kkyzir@1054 165 </filter>
kkyzir@1054 166 </filters>
charnik@846 167 </configuration>
charnik@846 168 </execution>
charnik@846 169 </executions>
charnik@846 170 </plugin>
charnik@846 171 </plugins>
charnik@846 172 </build>
charnik@846 173 </profile>
charnik@846 174 </profiles>
charnik@686 175 </project>
charnik@686 176