pom.xml 11.8 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
20

21
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
23 24 25

    <modelVersion>4.0.0</modelVersion>
    <parent>
26 27
        <groupId>org.apache.atlas</groupId>
        <artifactId>apache-atlas</artifactId>
28
        <version>3.0.0-SNAPSHOT</version>
29
    </parent>
30 31 32
    <artifactId>atlas-repository</artifactId>
    <description>Apache Atlas Repository Module</description>
    <name>Apache Atlas Repository</name>
33 34 35
    <packaging>jar</packaging>

    <dependencies>
36 37 38
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
39 40 41 42 43 44
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
45 46
        </dependency>

47 48
        <dependency>
            <groupId>org.apache.atlas</groupId>
49
            <artifactId>atlas-server-api</artifactId>
50 51
        </dependency>

52
        <dependency>
53
            <groupId>org.apache.atlas</groupId>
54
            <artifactId>atlas-client-v1</artifactId>
55 56
        </dependency>

57 58
        <dependency>
            <groupId>org.apache.atlas</groupId>
59 60 61
            <artifactId>atlas-graphdb-api</artifactId>
        </dependency>

62 63 64 65 66
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4-runtime</artifactId>
        </dependency>

67 68 69 70 71
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
        </dependency>

72
        <dependency>
73 74 75 76
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>

77 78 79 80
        <dependency>
            <groupId>org.codehaus.jettison</groupId>
            <artifactId>jettison</artifactId>
        </dependency>
81

82
        <dependency>
83 84 85 86 87 88 89 90
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
        </dependency>

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
        </dependency>
91

92 93 94 95 96 97 98 99
        <dependency>
            <groupId>org.apache.cassandra</groupId>
            <artifactId>cassandra-all</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
100 101 102 103
                <exclusion>
                    <groupId>io.netty</groupId>
                    <artifactId>netty-handler</artifactId>
                </exclusion>
104 105 106 107 108
            </exclusions>
            <version>2.1.8</version>
        </dependency>


109 110
        <!-- Test dependencies -->

111
        <dependency>
112
            <groupId>org.apache.atlas</groupId>
113 114
            <artifactId>atlas-graphdb-common</artifactId>
            <version>${project.version}</version>
115 116 117 118 119
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>

        <dependency>
120 121 122 123
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
            <type>test-jar</type>
            <version>${project.version}</version>
124
            <scope>test</scope>
125
        </dependency>
126

127 128 129 130 131 132
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-impls</artifactId>
            <type>pom</type>
            <scope>test</scope>
        </dependency>
133

134 135 136 137 138
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-authorization</artifactId>
            <version>${project.version}</version>
        </dependency>
139

140
        <dependency>
141 142
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-client</artifactId>
143 144 145 146 147 148
            <exclusions>
            <exclusion>
                <groupId>com.github.stephenc.findbugs</groupId>
                <artifactId>findbugs-annotations</artifactId>
            </exclusion>
            </exclusions>
149
        </dependency>
150

151
        <dependency>
152 153
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-server</artifactId>
154 155 156
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
157 158 159 160 161 162 163 164 165
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.ws.rs</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.eclipse.jetty</groupId>
                    <artifactId>*</artifactId>
166 167 168 169 170 171
                </exclusion>
                <exclusion>
                    <groupId>org.mortbay.jetty</groupId>
                    <artifactId>servlet-api-2.5</artifactId>
                </exclusion>
            </exclusions>
172
        </dependency>
173

174 175 176 177
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
        </dependency>
178

179 180 181 182
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
        </dependency>
183

184 185 186 187 188
        <dependency>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
            <version>4.1.0</version>
            <scope>test</scope>
189 190 191 192 193 194 195 196 197 198
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.datastax.cassandra</groupId>
            <artifactId>cassandra-driver-core</artifactId>
199
            <version>3.2.0</version>
200 201 202 203 204 205 206 207 208
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.dropwizard.metrics</groupId>
                    <artifactId>metrics-core</artifactId>
                </exclusion>
209 210 211 212
                <exclusion>
                    <groupId>io.netty</groupId>
                    <artifactId>netty-handler</artifactId>
                </exclusion>
213 214 215 216 217 218 219 220 221 222 223 224 225
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.cassandraunit</groupId>
            <artifactId>cassandra-unit</artifactId>
            <version>2.0.2.2</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
226
        </dependency>
227 228 229 230 231
        <dependency>
            <groupId>com.carrotsearch</groupId>
            <artifactId>hppc</artifactId>
            <version>${hppc.version}</version>
        </dependency>
232

233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
        <dependency>
            <groupId>com.opencsv</groupId>
            <artifactId>opencsv</artifactId>
            <version>${opencsv.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>${poi.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>${poi-ooxml.version}</version>
        </dependency>

251 252 253 254 255 256 257
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>

258 259
    </dependencies>

260 261 262 263 264 265 266 267 268 269 270
    <profiles>
        <profile>
            <id>graph-provider-default</id>
            <activation>
                <property>
                    <name>!GRAPH-PROVIDER</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
271
                    <artifactId>atlas-testtools</artifactId>
272
                    <version>${project.version}</version>
273
                    <scope>test</scope>
274 275 276 277 278 279
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>graph-provider-janus</id>
            <activation>
                <property>
                    <name>GRAPH-PROVIDER</name>
                    <value>janus</value>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
295
                    <artifactId>atlas-testtools</artifactId>
296
                    <version>${project.version}</version>
297 298 299 300 301 302
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
303 304 305 306 307
                </dependency>
            </dependencies>
        </profile>
    </profiles>

308 309
    <build>
        <plugins>
310
            <plugin>
311 312 313
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
314 315 316 317 318 319 320
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
321 322
            </plugin>
            <plugin>
323 324
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
325
                <version>${surefire.version}</version>
326 327
                <configuration combine.children="override">
                </configuration>
328
            </plugin>
329

330
            <plugin>
331
                <artifactId>maven-resources-plugin</artifactId>
332 333
                <executions>
                    <execution>
334
                        <id>copy-resources-solr</id>
335
                        <phase>validate</phase>
336
                        <goals>
337
                            <goal>copy-resources</goal>
338 339
                        </goals>
                        <configuration>
340 341 342 343 344 345
                            <outputDirectory>${project.build.directory}/solr</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/../test-tools/src/main/resources/solr</directory>
                                </resource>
                            </resources>
346 347 348 349
                        </configuration>
                    </execution>
                </executions>
            </plugin>
350 351
        </plugins>
    </build>
352
</project>