| 1 | <!-- |
| 2 | |
| 3 | Copyright (C) 2012-2015 DataStax Inc. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | --> |
| 18 | <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"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | <parent> |
| 21 | <groupId>com.datastax.cassandra</groupId> |
| 22 | <artifactId>cassandra-driver-parent</artifactId> |
| 23 | <version>3.1.5-SNAPSHOT</version> |
| 24 | </parent> |
| 25 | <artifactId>cassandra-driver-dist</artifactId> |
| 26 | |
| 27 | <properties> |
| 28 | <main.basedir>${project.parent.basedir}</main.basedir> |
| 29 | </properties> |
| 30 | |
| 31 | <!-- Should be pom but Javadoc generation requires a "classpath-capable" package --> |
| 32 | <packaging>jar</packaging> |
| 33 | |
| 34 | <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name> |
| 35 | |
| 36 | <!-- These dependencies are only here to ensure proper build order --> |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>com.datastax.cassandra</groupId> |
| 40 | <artifactId>cassandra-driver-core</artifactId> |
| 41 | <version>${project.parent.version}</version> |
| 42 | </dependency> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>com.datastax.cassandra</groupId> |
| 46 | <artifactId>cassandra-driver-mapping</artifactId> |
| 47 | <version>${project.parent.version}</version> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>com.datastax.cassandra</groupId> |
| 52 | <artifactId>cassandra-driver-extras</artifactId> |
| 53 | <version>${project.parent.version}</version> |
| 54 | </dependency> |
| 55 | |
| 56 | </dependencies> |
| 57 | |
| 58 | <build> |
| 59 | <finalName>cassandra-java-driver-${project.version}</finalName> |
| 60 | <plugins> |
| 61 | <plugin> |
| 62 | <artifactId>maven-javadoc-plugin</artifactId> |
| 63 | <version>2.9.1</version> |
| 64 | <executions> |
| 65 | <execution> |
| 66 | <id>dependencies-javadoc</id> |
| 67 | <phase>package</phase> |
| 68 | <goals> |
| 69 | <goal>jar</goal> |
| 70 | </goals> |
| 71 | <configuration> |
| 72 | <includeDependencySources>true</includeDependencySources> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <artifactId>maven-assembly-plugin</artifactId> |
| 79 | <version>3.0.0</version> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>assemble-binary-tarball</id> |
| 83 | <phase>package</phase> |
| 84 | <goals> |
| 85 | <goal>single</goal> |
| 86 | </goals> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | <configuration> |
| 90 | <appendAssemblyId>false</appendAssemblyId> |
| 91 | <descriptors> |
| 92 | <descriptor>src/assembly/binary-tarball.xml</descriptor> |
| 93 | </descriptors> |
| 94 | <tarLongFileMode>posix</tarLongFileMode> |
| 95 | </configuration> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <artifactId>maven-jar-plugin</artifactId> |
| 99 | <version>3.0.2</version> |
| 100 | <!-- http://stackoverflow.com/questions/13218313/unable-to-disable-generation-of-empty-jar-maven-jar-plugin --> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>default-jar</id> |
| 104 | <phase>none</phase> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-install-plugin</artifactId> |
| 111 | <version>2.5.1</version> |
| 112 | <configuration> |
| 113 | <skip>true</skip> |
| 114 | </configuration> |
| 115 | </plugin> |
| 116 | <plugin> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-deploy-plugin</artifactId> |
| 119 | <version>2.8.1</version> |
| 120 | <configuration> |
| 121 | <skip>true</skip> |
| 122 | </configuration> |
| 123 | </plugin> |
| 124 | </plugins> |
| 125 | </build> |
| 126 | |
| 127 | </project> |
| 128 | |