kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 0af3381a972a5ffd6cd94e11117ea4fb32323999fcb71dec814856903aa11077 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2014-08-18 09:25 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2014-08-18 09:25 +02:00 |
| Parents | d037a452cb96 |
3 files changed
added driver-dist/pom.xml +103 −0
| @@ -0,0 +1,103 @@ | ||
| 1 | +<!-- | |
| 2 | + Copyright (C) 2012 DataStax Inc. | |
| 3 | + | |
| 4 | + Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | + you may not use this file except in compliance with the License. | |
| 6 | + You may obtain a copy of the License at | |
| 7 | + | |
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | + | |
| 10 | + Unless required by applicable law or agreed to in writing, software | |
| 11 | + distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | + See the License for the specific language governing permissions and | |
| 14 | + limitations under the License. | |
| 15 | +--> | |
| 16 | +<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"> | |
| 17 | + <modelVersion>4.0.0</modelVersion> | |
| 18 | + <parent> | |
| 19 | + <groupId>com.datastax.cassandra</groupId> | |
| 20 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 21 | + <version>2.0.5-SNAPSHOT</version> | |
| 22 | + </parent> | |
| 23 | + <artifactId>cassandra-driver-dist</artifactId> | |
| 24 | + | |
| 25 | + <!-- Should be pom but Javadoc generation requires a "classpath-capable" package --> | |
| 26 | + <packaging>jar</packaging> | |
| 27 | + | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name> | |
| 29 | + | |
| 30 | + <!-- These dependencies are only here to ensure proper build order --> | |
| 31 | + <dependencies> | |
| 32 | + <dependency> | |
| 33 | + <groupId>com.datastax.cassandra</groupId> | |
| 34 | + <artifactId>cassandra-driver-core</artifactId> | |
| 35 | + <version>${project.parent.version}</version> | |
| 36 | + </dependency> | |
| 37 | + | |
| 38 | + <dependency> | |
| 39 | + <groupId>com.datastax.cassandra</groupId> | |
| 40 | + <artifactId>cassandra-driver-dse</artifactId> | |
| 41 | + <version>${project.parent.version}</version> | |
| 42 | + </dependency> | |
| 43 | + </dependencies> | |
| 44 | + | |
| 45 | + <build> | |
| 46 | + <finalName>cassandra-java-driver-${project.version}</finalName> | |
| 47 | + <plugins> | |
| 48 | + <plugin> | |
| 49 | + <artifactId>maven-javadoc-plugin</artifactId> | |
| 50 | + <version>2.9.1</version> | |
| 51 | + <executions> | |
| 52 | + <execution> | |
| 53 | + <id>dependencies-javadoc</id> | |
| 54 | + <phase>package</phase> | |
| 55 | + <goals> | |
| 56 | + <goal>jar</goal> | |
| 57 | + </goals> | |
| 58 | + <configuration> | |
| 59 | + <includeDependencySources>true</includeDependencySources> | |
| 60 | + </configuration> | |
| 61 | + </execution> | |
| 62 | + </executions> | |
| 63 | + </plugin> | |
| 64 | + <plugin> | |
| 65 | + <artifactId>maven-assembly-plugin</artifactId> | |
| 66 | + <version>2.4</version> | |
| 67 | + <executions> | |
| 68 | + <execution> | |
| 69 | + <id>assemble-binary-tarball</id> | |
| 70 | + <phase>package</phase> | |
| 71 | + <goals> | |
| 72 | + <goal>single</goal> | |
| 73 | + </goals> | |
| 74 | + </execution> | |
| 75 | + </executions> | |
| 76 | + <configuration> | |
| 77 | + <appendAssemblyId>false</appendAssemblyId> | |
| 78 | + <descriptors> | |
| 79 | + <descriptor>src/assembly/binary-tarball.xml</descriptor> | |
| 80 | + </descriptors> | |
| 81 | + </configuration> | |
| 82 | + </plugin> | |
| 83 | + <plugin> | |
| 84 | + <groupId>org.apache.maven.plugins</groupId> | |
| 85 | + <artifactId>maven-install-plugin</artifactId> | |
| 86 | + <version>2.5.1</version> | |
| 87 | + <configuration> | |
| 88 | + <skip>true</skip> | |
| 89 | + </configuration> | |
| 90 | + </plugin> | |
| 91 | + <plugin> | |
| 92 | + <groupId>org.apache.maven.plugins</groupId> | |
| 93 | + <artifactId>maven-deploy-plugin</artifactId> | |
| 94 | + <version>2.8.1</version> | |
| 95 | + <configuration> | |
| 96 | + <skip>true</skip> | |
| 97 | + </configuration> | |
| 98 | + </plugin> | |
| 99 | + </plugins> | |
| 100 | + </build> | |
| 101 | + | |
| 102 | +</project> | |
| 103 | + |
added driver-dist/src/assembly/binary-tarball.xml +43 −0
| @@ -0,0 +1,43 @@ | ||
| 1 | +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 2 | + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | |
| 3 | + <id>binary-tarball</id> | |
| 4 | + <formats> | |
| 5 | + <format>tar.gz</format> | |
| 6 | + </formats> | |
| 7 | + <moduleSets> | |
| 8 | + <moduleSet> | |
| 9 | + <useAllReactorProjects>true</useAllReactorProjects> | |
| 10 | + <includes> | |
| 11 | + <include>com.datastax.cassandra:cassandra-driver-core</include> | |
| 12 | + <include>com.datastax.cassandra:cassandra-driver-dse</include> | |
| 13 | + <include>com.datastax.cassandra:cassandra-driver-mapping</include> | |
| 14 | + </includes> | |
| 15 | + <binaries> | |
| 16 | + <outputDirectory>/</outputDirectory> | |
| 17 | + <unpack>false</unpack> | |
| 18 | + <dependencySets> | |
| 19 | + <dependencySet> | |
| 20 | + <outputDirectory>lib</outputDirectory> | |
| 21 | + <excludes> | |
| 22 | + <exclude>com.datastax.cassandra:*</exclude> | |
| 23 | + </excludes> | |
| 24 | + </dependencySet> | |
| 25 | + </dependencySets> | |
| 26 | + </binaries> | |
| 27 | + </moduleSet> | |
| 28 | + </moduleSets> | |
| 29 | + <fileSets> | |
| 30 | + <fileSet> | |
| 31 | + <directory>target/apidocs</directory> | |
| 32 | + <outputDirectory>apidocs</outputDirectory> | |
| 33 | + </fileSet> | |
| 34 | + <fileSet> | |
| 35 | + <directory>../driver-core</directory> | |
| 36 | + <includes> | |
| 37 | + <include>CHANGELOG.rst</include> | |
| 38 | + <include>Upgrade_guide*.rst</include> | |
| 39 | + </includes> | |
| 40 | + <outputDirectory>/</outputDirectory> | |
| 41 | + </fileSet> | |
| 42 | + </fileSets> | |
| 43 | +</assembly> |
modified pom.xml +1 −0
| @@ -31,6 +31,7 @@ | ||
| 31 | 31 | <module>driver-core</module> |
| 32 | 32 | <module>driver-examples</module> |
| 33 | 33 | <module>driver-dse</module> |
| 34 | + <module>driver-dist</module> | |
| 34 | 35 | </modules> |
| 35 | 36 | |
| 36 | 37 | <properties> |