| 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/xsd/maven-4.0.0.xsd"> |
| 19 | <parent> |
| 20 | <artifactId>cassandra-driver-parent</artifactId> |
| 21 | <groupId>com.datastax.cassandra</groupId> |
| 22 | <version>3.1.1-SNAPSHOT</version> |
| 23 | </parent> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <artifactId>cassandra-driver-examples</artifactId> |
| 27 | |
| 28 | <name>DataStax Java Driver for Apache Cassandra - Examples</name> |
| 29 | <description>A collection of examples to demonstrate DataStax Java Driver for Apache Cassandra.</description> |
| 30 | <url>https://github.com/datastax/java-driver</url> |
| 31 | |
| 32 | <properties> |
| 33 | <main.basedir>${project.parent.basedir}</main.basedir> |
| 34 | <jax-rs.version>2.0.1</jax-rs.version> |
| 35 | <jersey.version>2.23.1</jersey.version> |
| 36 | <hk2.version>2.4.0-b34</hk2.version> |
| 37 | <logback.version>1.1.3</logback.version> |
| 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | |
| 42 | <!-- driver dependencies --> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>com.datastax.cassandra</groupId> |
| 46 | <artifactId>cassandra-driver-core</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 | <optional>true</optional> |
| 55 | </dependency> |
| 56 | |
| 57 | <!--Jackson--> |
| 58 | |
| 59 | <dependency> |
| 60 | <groupId>com.fasterxml.jackson.core</groupId> |
| 61 | <artifactId>jackson-annotations</artifactId> |
| 62 | <version>${jackson.version}</version> |
| 63 | <optional>true</optional> |
| 64 | </dependency> |
| 65 | |
| 66 | <dependency> |
| 67 | <groupId>com.fasterxml.jackson.core</groupId> |
| 68 | <artifactId>jackson-databind</artifactId> |
| 69 | <version>${jackson.version}</version> |
| 70 | <optional>true</optional> |
| 71 | </dependency> |
| 72 | |
| 73 | <!--JSR-353 (Java JSON API)--> |
| 74 | |
| 75 | <dependency> |
| 76 | <groupId>javax.json</groupId> |
| 77 | <artifactId>javax.json-api</artifactId> |
| 78 | <version>${jsr353-api.version}</version> |
| 79 | <optional>true</optional> |
| 80 | </dependency> |
| 81 | |
| 82 | <dependency> |
| 83 | <groupId>org.glassfish</groupId> |
| 84 | <artifactId>javax.json</artifactId> |
| 85 | <version>${jsr353-ri.version}</version> |
| 86 | <optional>true</optional> |
| 87 | <scope>runtime</scope> |
| 88 | </dependency> |
| 89 | |
| 90 | <!--JAX-RS--> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>javax.ws.rs</groupId> |
| 94 | <artifactId>javax.ws.rs-api</artifactId> |
| 95 | <version>${jax-rs.version}</version> |
| 96 | <optional>true</optional> |
| 97 | </dependency> |
| 98 | |
| 99 | <!--Jersey--> |
| 100 | |
| 101 | <dependency> |
| 102 | <groupId>org.glassfish.jersey.core</groupId> |
| 103 | <artifactId>jersey-server</artifactId> |
| 104 | <version>${jersey.version}</version> |
| 105 | <optional>true</optional> |
| 106 | </dependency> |
| 107 | |
| 108 | <dependency> |
| 109 | <groupId>org.glassfish.jersey.media</groupId> |
| 110 | <artifactId>jersey-media-json-jackson</artifactId> |
| 111 | <version>${jersey.version}</version> |
| 112 | <optional>true</optional> |
| 113 | </dependency> |
| 114 | |
| 115 | <dependency> |
| 116 | <groupId>org.glassfish.jersey.containers</groupId> |
| 117 | <artifactId>jersey-container-jdk-http</artifactId> |
| 118 | <version>${jersey.version}</version> |
| 119 | <optional>true</optional> |
| 120 | </dependency> |
| 121 | |
| 122 | |
| 123 | <!--CDI frameworks (HK2)--> |
| 124 | |
| 125 | <dependency> |
| 126 | <groupId>org.glassfish.hk2</groupId> |
| 127 | <artifactId>hk2-api</artifactId> |
| 128 | <version>${hk2.version}</version> |
| 129 | <optional>true</optional> |
| 130 | </dependency> |
| 131 | |
| 132 | <!--logging --> |
| 133 | |
| 134 | <dependency> |
| 135 | <groupId>ch.qos.logback</groupId> |
| 136 | <artifactId>logback-classic</artifactId> |
| 137 | <version>${logback.version}</version> |
| 138 | </dependency> |
| 139 | |
| 140 | </dependencies> |
| 141 | |
| 142 | <build> |
| 143 | |
| 144 | <plugins> |
| 145 | |
| 146 | <plugin> |
| 147 | <groupId>org.codehaus.mojo</groupId> |
| 148 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 149 | <version>1.15</version> |
| 150 | <configuration> |
| 151 | <skip>true</skip> |
| 152 | </configuration> |
| 153 | </plugin> |
| 154 | |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-install-plugin</artifactId> |
| 158 | <version>2.5.1</version> |
| 159 | <configuration> |
| 160 | <skip>true</skip> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | |
| 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-deploy-plugin</artifactId> |
| 167 | <version>2.8.1</version> |
| 168 | <configuration> |
| 169 | <skip>true</skip> |
| 170 | </configuration> |
| 171 | </plugin> |
| 172 | |
| 173 | </plugins> |
| 174 | |
| 175 | </build> |
| 176 | |
| 177 | <licenses> |
| 178 | <license> |
| 179 | <name>Apache 2</name> |
| 180 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 181 | <distribution>repo</distribution> |
| 182 | <comments>Apache License Version 2.0</comments> |
| 183 | </license> |
| 184 | </licenses> |
| 185 | |
| 186 | <scm> |
| 187 | <connection>scm:git:git@github.com:datastax/java-driver.git</connection> |
| 188 | <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> |
| 189 | <url>https://github.com/datastax/java-driver</url> |
| 190 | <tag>HEAD</tag> |
| 191 | </scm> |
| 192 | |
| 193 | <developers> |
| 194 | <developer> |
| 195 | <name>Various</name> |
| 196 | <organization>DataStax</organization> |
| 197 | </developer> |
| 198 | </developers> |
| 199 | |
| 200 | </project> |