pom.xml 10.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
        </dependency>
144

145
        <dependency>
146 147
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-server</artifactId>
148 149 150
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
151 152 153 154 155 156 157 158 159
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.ws.rs</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.eclipse.jetty</groupId>
                    <artifactId>*</artifactId>
160 161 162 163 164 165
                </exclusion>
                <exclusion>
                    <groupId>org.mortbay.jetty</groupId>
                    <artifactId>servlet-api-2.5</artifactId>
                </exclusion>
            </exclusions>
166
        </dependency>
167

168 169 170 171
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
        </dependency>
172

173 174 175 176
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
        </dependency>
177

178 179 180 181 182
        <dependency>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
            <version>4.1.0</version>
            <scope>test</scope>
183 184 185 186 187 188 189 190 191 192
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.datastax.cassandra</groupId>
            <artifactId>cassandra-driver-core</artifactId>
193
            <version>3.2.0</version>
194 195 196 197 198 199 200 201 202
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.dropwizard.metrics</groupId>
                    <artifactId>metrics-core</artifactId>
                </exclusion>
203 204 205 206
                <exclusion>
                    <groupId>io.netty</groupId>
                    <artifactId>netty-handler</artifactId>
                </exclusion>
207 208 209 210 211 212 213 214 215 216 217 218 219
            </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>
220
        </dependency>
221 222 223 224 225
        <dependency>
            <groupId>com.carrotsearch</groupId>
            <artifactId>hppc</artifactId>
            <version>${hppc.version}</version>
        </dependency>
226

227 228
    </dependencies>

229 230 231 232 233 234 235 236 237 238 239
    <profiles>
        <profile>
            <id>graph-provider-default</id>
            <activation>
                <property>
                    <name>!GRAPH-PROVIDER</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
240
                    <artifactId>atlas-testtools</artifactId>
241
                    <version>${project.version}</version>
242 243 244 245 246 247
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262
                </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>
263
                    <artifactId>atlas-testtools</artifactId>
264
                    <version>${project.version}</version>
265 266 267 268 269 270
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
271 272 273 274 275
                </dependency>
            </dependencies>
        </profile>
    </profiles>

276 277
    <build>
        <plugins>
278
            <plugin>
279 280 281
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
282 283 284 285 286 287 288
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
289 290
            </plugin>
            <plugin>
291 292
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
293
                <version>${surefire.version}</version>
294 295
                <configuration combine.children="override">
                </configuration>
296
            </plugin>
297

298
            <plugin>
299
                <artifactId>maven-resources-plugin</artifactId>
300 301
                <executions>
                    <execution>
302
                        <id>copy-resources-solr</id>
303
                        <phase>validate</phase>
304
                        <goals>
305
                            <goal>copy-resources</goal>
306 307
                        </goals>
                        <configuration>
308 309 310 311 312 313
                            <outputDirectory>${project.build.directory}/solr</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/../test-tools/src/main/resources/solr</directory>
                                </resource>
                            </resources>
314 315 316 317
                        </configuration>
                    </execution>
                </executions>
            </plugin>
318 319
        </plugins>
    </build>
320
</project>