pom.xml 11.4 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 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
        <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>

245 246
    </dependencies>

247 248 249 250 251 252 253 254 255 256 257
    <profiles>
        <profile>
            <id>graph-provider-default</id>
            <activation>
                <property>
                    <name>!GRAPH-PROVIDER</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
258
                    <artifactId>atlas-testtools</artifactId>
259
                    <version>${project.version}</version>
260 261 262 263 264 265
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
                </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>
281
                    <artifactId>atlas-testtools</artifactId>
282
                    <version>${project.version}</version>
283 284 285 286 287 288
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
289 290 291 292 293
                </dependency>
            </dependencies>
        </profile>
    </profiles>

294 295
    <build>
        <plugins>
296
            <plugin>
297 298 299
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
300 301 302 303 304 305 306
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
307 308
            </plugin>
            <plugin>
309 310
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
311
                <version>${surefire.version}</version>
312 313
                <configuration combine.children="override">
                </configuration>
314
            </plugin>
315

316
            <plugin>
317
                <artifactId>maven-resources-plugin</artifactId>
318 319
                <executions>
                    <execution>
320
                        <id>copy-resources-solr</id>
321
                        <phase>validate</phase>
322
                        <goals>
323
                            <goal>copy-resources</goal>
324 325
                        </goals>
                        <configuration>
326 327 328 329 330 331
                            <outputDirectory>${project.build.directory}/solr</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/../test-tools/src/main/resources/solr</directory>
                                </resource>
                            </resources>
332 333 334 335
                        </configuration>
                    </execution>
                </executions>
            </plugin>
336 337
        </plugins>
    </build>
338
</project>