Strabon
annotate endpoint-client/pom.xml @ 846:150e7578f7e2
to build Strabon using maven version <3.0 include also the following option that disables running of shade plugin: -Dshade.skip
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Tue Jan 08 17:41:11 2013 +0200 (2013-01-08) |
parents | bf75e2888730 |
children | b3e0d7415823 |
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> |
kkyzir@804 | 8 <version>3.2.7-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> |
charnik@686 | 40 </dependencies> |
charnik@686 | 41 |
charnik@686 | 42 <build> |
charnik@686 | 43 <pluginManagement> |
charnik@686 | 44 <plugins> |
charnik@686 | 45 <plugin> |
charnik@686 | 46 <groupId>org.eclipse.m2e</groupId> |
charnik@686 | 47 <artifactId>lifecycle-mapping</artifactId> |
charnik@686 | 48 <version>1.0.0</version> |
charnik@686 | 49 <configuration> |
charnik@686 | 50 <lifecycleMappingMetadata> |
charnik@686 | 51 <pluginExecutions> |
charnik@686 | 52 <pluginExecution> |
charnik@686 | 53 <pluginExecutionFilter> |
charnik@686 | 54 <groupId>org.apache.maven.plugins</groupId> |
charnik@686 | 55 <artifactId>maven-dependency-plugin</artifactId> |
charnik@686 | 56 <versionRange>[2.3,)</versionRange> |
charnik@686 | 57 <goals> |
charnik@686 | 58 <goal>copy-dependencies</goal> |
charnik@686 | 59 </goals> |
charnik@686 | 60 </pluginExecutionFilter> |
charnik@686 | 61 <action> |
charnik@686 | 62 <ignore /> |
charnik@686 | 63 </action> |
charnik@686 | 64 </pluginExecution> |
charnik@686 | 65 </pluginExecutions> |
charnik@686 | 66 </lifecycleMappingMetadata> |
charnik@686 | 67 </configuration> |
charnik@686 | 68 </plugin> |
charnik@686 | 69 </plugins> |
charnik@686 | 70 </pluginManagement> |
charnik@686 | 71 |
charnik@686 | 72 <plugins> |
charnik@686 | 73 <plugin> |
charnik@686 | 74 <groupId>org.apache.maven.plugins</groupId> |
charnik@686 | 75 <artifactId>maven-compiler-plugin</artifactId> |
charnik@686 | 76 <version>2.3.2</version> |
charnik@686 | 77 <configuration> |
charnik@686 | 78 <source>1.6</source> |
charnik@686 | 79 <target>1.6</target> |
charnik@686 | 80 <encoding>utf8</encoding> |
charnik@686 | 81 </configuration> |
charnik@686 | 82 </plugin> |
charnik@686 | 83 <plugin> |
charnik@686 | 84 <groupId>org.apache.maven.plugins</groupId> |
charnik@686 | 85 <artifactId>maven-dependency-plugin</artifactId> |
charnik@686 | 86 <version>2.4</version> |
charnik@686 | 87 <executions> |
charnik@686 | 88 <execution> |
charnik@686 | 89 <id>copy-dependencies</id> |
charnik@686 | 90 <phase>package</phase> |
charnik@686 | 91 <goals> |
charnik@686 | 92 <goal>copy-dependencies</goal> |
charnik@686 | 93 </goals> |
charnik@686 | 94 <configuration> |
charnik@686 | 95 <outputDirectory>${project.build.directory}</outputDirectory> |
charnik@686 | 96 <overWriteReleases>false</overWriteReleases> |
charnik@686 | 97 <overWriteSnapshots>false</overWriteSnapshots> |
charnik@686 | 98 <overWriteIfNewer>true</overWriteIfNewer> |
charnik@686 | 99 </configuration> |
charnik@686 | 100 </execution> |
charnik@686 | 101 </executions> |
charnik@686 | 102 </plugin> |
charnik@686 | 103 |
charnik@686 | 104 <plugin> |
charnik@686 | 105 <groupId>org.apache.maven.plugins</groupId> |
charnik@686 | 106 <artifactId>maven-jar-plugin</artifactId> |
charnik@686 | 107 <version>2.4</version> |
charnik@686 | 108 <configuration> |
charnik@686 | 109 <skipIfEmpty>true</skipIfEmpty> |
charnik@686 | 110 </configuration> |
charnik@686 | 111 <executions> |
charnik@686 | 112 <execution> |
charnik@686 | 113 <goals> |
charnik@686 | 114 <goal>test-jar</goal> |
charnik@686 | 115 </goals> |
charnik@686 | 116 </execution> |
charnik@686 | 117 </executions> |
charnik@686 | 118 </plugin> |
charnik@686 | 119 </plugins> |
charnik@686 | 120 </build> |
charnik@846 | 121 |
charnik@846 | 122 <profiles> |
charnik@846 | 123 <profile> |
charnik@846 | 124 <id>conditional-shade-plugin</id> |
charnik@846 | 125 |
charnik@846 | 126 <activation> |
charnik@846 | 127 <property><name>!shade.skip</name></property> |
charnik@846 | 128 </activation> |
charnik@846 | 129 <build> |
charnik@846 | 130 <plugins> |
charnik@846 | 131 <plugin> |
charnik@846 | 132 <groupId>org.apache.maven.plugins</groupId> |
charnik@846 | 133 <artifactId>maven-shade-plugin</artifactId> |
charnik@846 | 134 <version>2.0</version> |
charnik@846 | 135 <!-- |
charnik@846 | 136 <configuration> |
charnik@846 | 137 </configuration> |
charnik@846 | 138 --> |
charnik@846 | 139 <executions> |
charnik@846 | 140 <execution> |
charnik@846 | 141 <phase>package</phase> |
charnik@846 | 142 <goals> |
charnik@846 | 143 <goal>shade</goal> |
charnik@846 | 144 </goals> |
charnik@846 | 145 <configuration> |
charnik@846 | 146 <transformers> |
charnik@846 | 147 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
charnik@846 | 148 <mainClass>eu.earthobservatory.org.StrabonEndpoint.client.StrabonEndpoint</mainClass> |
charnik@846 | 149 </transformer> |
charnik@846 | 150 </transformers> |
charnik@846 | 151 </configuration> |
charnik@846 | 152 </execution> |
charnik@846 | 153 </executions> |
charnik@846 | 154 </plugin> |
charnik@846 | 155 </plugins> |
charnik@846 | 156 </build> |
charnik@846 | 157 </profile> |
charnik@846 | 158 </profiles> |
charnik@686 | 159 </project> |
charnik@686 | 160 |