| 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.0.1-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 | </properties> |
| 34 | |
| 35 | <dependencies> |
| 36 | <dependency> |
| 37 | <groupId>com.datastax.cassandra</groupId> |
| 38 | <artifactId>cassandra-driver-core</artifactId> |
| 39 | <version>${project.parent.version}</version> |
| 40 | </dependency> |
| 41 | |
| 42 | <dependency> |
| 43 | <groupId>com.datastax.cassandra</groupId> |
| 44 | <artifactId>cassandra-driver-core</artifactId> |
| 45 | <version>${project.parent.version}</version> |
| 46 | <type>test-jar</type> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>org.testng</groupId> |
| 52 | <artifactId>testng</artifactId> |
| 53 | <version>${testng.version}</version> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
| 58 | <groupId>org.assertj</groupId> |
| 59 | <artifactId>assertj-core</artifactId> |
| 60 | <version>${assertj.version}</version> |
| 61 | <scope>test</scope> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <groupId>org.mockito</groupId> |
| 66 | <artifactId>mockito-all</artifactId> |
| 67 | <version>${mockito.version}</version> |
| 68 | <scope>test</scope> |
| 69 | </dependency> |
| 70 | |
| 71 | <dependency> |
| 72 | <groupId>org.apache.commons</groupId> |
| 73 | <artifactId>commons-exec</artifactId> |
| 74 | <version>${commons-exec.version}</version> |
| 75 | <scope>test</scope> |
| 76 | </dependency> |
| 77 | |
| 78 | <dependency> |
| 79 | <groupId>org.ow2.asm</groupId> |
| 80 | <artifactId>asm-all</artifactId> |
| 81 | <version>5.0.3</version> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | <!-- |
| 85 | <dependency> |
| 86 | <groupId>org.ow2.asm</groupId> |
| 87 | <artifactId>asm</artifactId> |
| 88 | <version>4.1</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.ow2.asm</groupId> |
| 92 | <artifactId>asm-util</artifactId> |
| 93 | <version>4.1</version> |
| 94 | </dependency> |
| 95 | --> |
| 96 | </dependencies> |
| 97 | |
| 98 | <build> |
| 99 | <plugins> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.felix</groupId> |
| 102 | <artifactId>maven-bundle-plugin</artifactId> |
| 103 | <extensions>true</extensions> |
| 104 | <version>2.4.0</version> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>bundle-manifest</id> |
| 108 | <phase>process-classes</phase> |
| 109 | <goals> |
| 110 | <goal>manifest</goal> |
| 111 | </goals> |
| 112 | </execution> |
| 113 | </executions> |
| 114 | <configuration> |
| 115 | <instructions> |
| 116 | <Bundle-SymbolicName>com.datastax.driver.mapping</Bundle-SymbolicName> |
| 117 | <Bundle-Version>${project.version}</Bundle-Version> |
| 118 | <_include>-osgi.bnd</_include> |
| 119 | </instructions> |
| 120 | <supportedProjectTypes> |
| 121 | <supportedProjectType>jar</supportedProjectType> |
| 122 | <supportedProjectType>bundle</supportedProjectType> |
| 123 | <supportedProjectType>pom</supportedProjectType> |
| 124 | </supportedProjectTypes> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | </plugins> |
| 128 | </build> |
| 129 | |
| 130 | <profiles> |
| 131 | <profile> |
| 132 | <id>unit</id> |
| 133 | <properties> |
| 134 | <env>default</env> |
| 135 | </properties> |
| 136 | <!-- do not use activeByDefault as other profiles might be active --> |
| 137 | <activation> |
| 138 | <property> |
| 139 | <name>!activateUnitTests</name> |
| 140 | </property> |
| 141 | </activation> |
| 142 | <build> |
| 143 | <plugins> |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-surefire-plugin</artifactId> |
| 147 | <version>2.14</version> |
| 148 | <configuration> |
| 149 | <groups>unit</groups> |
| 150 | <useFile>false</useFile> |
| 151 | <systemPropertyVariables> |
| 152 | <cassandra.version>${cassandra.version}</cassandra.version> |
| 153 | <ipprefix>${ipprefix}</ipprefix> |
| 154 | </systemPropertyVariables> |
| 155 | </configuration> |
| 156 | </plugin> |
| 157 | </plugins> |
| 158 | </build> |
| 159 | </profile> |
| 160 | |
| 161 | <profile> |
| 162 | <id>short</id> |
| 163 | <properties> |
| 164 | <env>default</env> |
| 165 | </properties> |
| 166 | <build> |
| 167 | <plugins> |
| 168 | <plugin> |
| 169 | <groupId>org.apache.maven.plugins</groupId> |
| 170 | <artifactId>maven-surefire-plugin</artifactId> |
| 171 | <version>2.14</version> |
| 172 | <configuration> |
| 173 | <groups>unit,short</groups> |
| 174 | <useFile>false</useFile> |
| 175 | <systemPropertyVariables> |
| 176 | <cassandra.version>${cassandra.version}</cassandra.version> |
| 177 | <ipprefix>${ipprefix}</ipprefix> |
| 178 | </systemPropertyVariables> |
| 179 | </configuration> |
| 180 | </plugin> |
| 181 | </plugins> |
| 182 | </build> |
| 183 | </profile> |
| 184 | |
| 185 | <profile> |
| 186 | <id>long</id> |
| 187 | <properties> |
| 188 | <env>default</env> |
| 189 | </properties> |
| 190 | <build> |
| 191 | <plugins> |
| 192 | <plugin> |
| 193 | <groupId>org.apache.maven.plugins</groupId> |
| 194 | <artifactId>maven-surefire-plugin</artifactId> |
| 195 | <version>2.14</version> |
| 196 | <configuration> |
| 197 | <groups>unit,short,long</groups> |
| 198 | <useFile>false</useFile> |
| 199 | <systemPropertyVariables> |
| 200 | <cassandra.version>${cassandra.version}</cassandra.version> |
| 201 | <ipprefix>${ipprefix}</ipprefix> |
| 202 | </systemPropertyVariables> |
| 203 | </configuration> |
| 204 | </plugin> |
| 205 | </plugins> |
| 206 | </build> |
| 207 | </profile> |
| 208 | |
| 209 | </profiles> |
| 210 | |
| 211 | <licenses> |
| 212 | <license> |
| 213 | <name>Apache 2</name> |
| 214 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 215 | <distribution>repo</distribution> |
| 216 | <comments>Apache License Version 2.0</comments> |
| 217 | </license> |
| 218 | </licenses> |
| 219 | |
| 220 | <scm> |
| 221 | <connection>scm:git:git@github.com:datastax/java-driver.git</connection> |
| 222 | <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> |
| 223 | <url>https://github.com/datastax/java-driver</url> |
| 224 | <tag>HEAD</tag> |
| 225 | </scm> |
| 226 | |
| 227 | <developers> |
| 228 | <developer> |
| 229 | <name>Various</name> |
| 230 | <organization>DataStax</organization> |
| 231 | </developer> |
| 232 | </developers> |
| 233 | </project> |
| 234 | |