| 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-mapping</artifactId> |
| 26 | <packaging>bundle</packaging> |
| 27 | <name>DataStax Java Driver for Apache Cassandra - Object Mapping</name> |
| 28 | <description>Object mapper for the DataStax CQL Java Driver.</description> |
| 29 | <url>https://github.com/datastax/java-driver</url> |
| 30 | |
| 31 | <properties> |
| 32 | <main.basedir>${project.parent.basedir}</main.basedir> |
| 33 | <groovy.version>2.4.7</groovy.version> |
| 34 | </properties> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>com.datastax.cassandra</groupId> |
| 39 | <artifactId>cassandra-driver-core</artifactId> |
| 40 | <version>${project.parent.version}</version> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
| 44 | <groupId>com.datastax.cassandra</groupId> |
| 45 | <artifactId>cassandra-driver-core</artifactId> |
| 46 | <version>${project.parent.version}</version> |
| 47 | <type>test-jar</type> |
| 48 | <scope>test</scope> |
| 49 | </dependency> |
| 50 | |
| 51 | <dependency> |
| 52 | <groupId>org.testng</groupId> |
| 53 | <artifactId>testng</artifactId> |
| 54 | <version>${testng.version}</version> |
| 55 | <scope>test</scope> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
| 59 | <groupId>org.assertj</groupId> |
| 60 | <artifactId>assertj-core</artifactId> |
| 61 | <version>${assertj.version}</version> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>org.mockito</groupId> |
| 67 | <artifactId>mockito-all</artifactId> |
| 68 | <version>${mockito.version}</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | |
| 72 | <dependency> |
| 73 | <groupId>org.apache.commons</groupId> |
| 74 | <artifactId>commons-exec</artifactId> |
| 75 | <version>${commons-exec.version}</version> |
| 76 | <scope>test</scope> |
| 77 | </dependency> |
| 78 | |
| 79 | <dependency> |
| 80 | <groupId>org.ow2.asm</groupId> |
| 81 | <artifactId>asm-all</artifactId> |
| 82 | <version>5.0.3</version> |
| 83 | <scope>test</scope> |
| 84 | </dependency> |
| 85 | <!-- |
| 86 | <dependency> |
| 87 | <groupId>org.ow2.asm</groupId> |
| 88 | <artifactId>asm</artifactId> |
| 89 | <version>4.1</version> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.ow2.asm</groupId> |
| 93 | <artifactId>asm-util</artifactId> |
| 94 | <version>4.1</version> |
| 95 | </dependency> |
| 96 | --> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>log4j</groupId> |
| 100 | <artifactId>log4j</artifactId> |
| 101 | <version>${log4j.version}</version> |
| 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | |
| 105 | <dependency> |
| 106 | <groupId>org.slf4j</groupId> |
| 107 | <artifactId>slf4j-log4j12</artifactId> |
| 108 | <version>${slf4j-log4j12.version}</version> |
| 109 | <scope>test</scope> |
| 110 | </dependency> |
| 111 | |
| 112 | <dependency> |
| 113 | <groupId>org.codehaus.groovy</groupId> |
| 114 | <artifactId>groovy-all</artifactId> |
| 115 | <version>${groovy.version}</version> |
| 116 | <scope>test</scope> |
| 117 | </dependency> |
| 118 | |
| 119 | </dependencies> |
| 120 | |
| 121 | <build> |
| 122 | <plugins> |
| 123 | <plugin> |
| 124 | <groupId>org.codehaus.mojo</groupId> |
| 125 | <artifactId>build-helper-maven-plugin</artifactId> |
| 126 | <version>1.12</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>add-source</id> |
| 130 | <phase>generate-test-sources</phase> |
| 131 | <goals> |
| 132 | <goal>add-test-source</goal> |
| 133 | </goals> |
| 134 | <configuration> |
| 135 | <sources> |
| 136 | <source>${pom.basedir}/src/test/groovy</source> |
| 137 | </sources> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | <plugin> |
| 143 | <groupId>org.apache.felix</groupId> |
| 144 | <artifactId>maven-bundle-plugin</artifactId> |
| 145 | <extensions>true</extensions> |
| 146 | <version>2.4.0</version> |
| 147 | <executions> |
| 148 | <execution> |
| 149 | <id>bundle-manifest</id> |
| 150 | <phase>process-classes</phase> |
| 151 | <goals> |
| 152 | <goal>manifest</goal> |
| 153 | </goals> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | <configuration> |
| 157 | <instructions> |
| 158 | <Bundle-SymbolicName>com.datastax.driver.mapping</Bundle-SymbolicName> |
| 159 | <Bundle-Version>${project.version}</Bundle-Version> |
| 160 | <_include>-osgi.bnd</_include> |
| 161 | <Import-Package><![CDATA[com.google.common*;version="[16.0.1,20)",*]]></Import-Package> |
| 162 | </instructions> |
| 163 | <supportedProjectTypes> |
| 164 | <supportedProjectType>jar</supportedProjectType> |
| 165 | <supportedProjectType>bundle</supportedProjectType> |
| 166 | <supportedProjectType>pom</supportedProjectType> |
| 167 | </supportedProjectTypes> |
| 168 | </configuration> |
| 169 | </plugin> |
| 170 | <plugin> |
| 171 | <groupId>org.codehaus.gmaven</groupId> |
| 172 | <artifactId>gmaven-plugin</artifactId> |
| 173 | <version>1.5</version> |
| 174 | <extensions>true</extensions> |
| 175 | <executions> |
| 176 | <execution> |
| 177 | <goals> |
| 178 | <goal>testCompile</goal> |
| 179 | </goals> |
| 180 | <configuration> |
| 181 | <sources> |
| 182 | <fileset> |
| 183 | <directory>${pom.basedir}/src/test/groovy</directory> |
| 184 | <includes> |
| 185 | <include>**/*.groovy</include> |
| 186 | </includes> |
| 187 | </fileset> |
| 188 | </sources> |
| 189 | </configuration> |
| 190 | </execution> |
| 191 | </executions> |
| 192 | <dependencies> |
| 193 | <dependency> |
| 194 | <groupId>org.codehaus.groovy</groupId> |
| 195 | <artifactId>groovy-all</artifactId> |
| 196 | <version>${groovy.version}</version> |
| 197 | </dependency> |
| 198 | </dependencies> |
| 199 | </plugin> |
| 200 | </plugins> |
| 201 | </build> |
| 202 | |
| 203 | <licenses> |
| 204 | <license> |
| 205 | <name>Apache 2</name> |
| 206 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 207 | <distribution>repo</distribution> |
| 208 | <comments>Apache License Version 2.0</comments> |
| 209 | </license> |
| 210 | </licenses> |
| 211 | |
| 212 | <scm> |
| 213 | <connection>scm:git:git@github.com:datastax/java-driver.git</connection> |
| 214 | <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> |
| 215 | <url>https://github.com/datastax/java-driver</url> |
| 216 | <tag>HEAD</tag> |
| 217 | </scm> |
| 218 | |
| 219 | <developers> |
| 220 | <developer> |
| 221 | <name>Various</name> |
| 222 | <organization>DataStax</organization> |
| 223 | </developer> |
| 224 | </developers> |
| 225 | </project> |
| 226 | |