pom.xml 10.1 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 22
<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">
23 24 25

    <modelVersion>4.0.0</modelVersion>
    <parent>
26 27
        <groupId>org.apache.atlas</groupId>
        <artifactId>apache-atlas</artifactId>
28
        <version>2.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 100 101 102 103 104
        <dependency>
            <groupId>org.apache.cassandra</groupId>
            <artifactId>cassandra-all</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
            <version>2.1.8</version>
        </dependency>


105 106
        <!-- Test dependencies -->

107
        <dependency>
108
            <groupId>org.apache.atlas</groupId>
109 110
            <artifactId>atlas-graphdb-common</artifactId>
            <version>${project.version}</version>
111 112 113 114 115
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>

        <dependency>
116 117 118 119
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-intg</artifactId>
            <type>test-jar</type>
            <version>${project.version}</version>
120
            <scope>test</scope>
121
        </dependency>
122

123 124 125 126 127 128
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-graphdb-impls</artifactId>
            <type>pom</type>
            <scope>test</scope>
        </dependency>
129

130 131 132 133 134
        <dependency>
            <groupId>org.apache.atlas</groupId>
            <artifactId>atlas-authorization</artifactId>
            <version>${project.version}</version>
        </dependency>
135

136 137
        <dependency>
            <groupId>org.apache.atlas</groupId>
138
            <artifactId>atlas-hbase-client-shaded</artifactId>
139
        </dependency>
140

141 142
        <dependency>
            <groupId>org.apache.atlas</groupId>
143
            <artifactId>atlas-hbase-server-shaded</artifactId>
144
            <scope>test</scope>
145 146 147 148 149 150 151 152 153 154
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.mortbay.jetty</groupId>
                    <artifactId>servlet-api-2.5</artifactId>
                </exclusion>
            </exclusions>
155
        </dependency>
156

157 158 159 160
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
        </dependency>
161

162 163 164 165
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
        </dependency>
166

167 168 169 170 171
        <dependency>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-multibindings</artifactId>
            <version>4.1.0</version>
            <scope>test</scope>
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.datastax.cassandra</groupId>
            <artifactId>cassandra-driver-core</artifactId>
            <version>3.1.4</version>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.dropwizard.metrics</groupId>
                    <artifactId>metrics-core</artifactId>
                </exclusion>
            </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>
205
        </dependency>
206

207 208
    </dependencies>

209 210 211 212 213 214 215 216 217 218 219
    <profiles>
        <profile>
            <id>graph-provider-default</id>
            <activation>
                <property>
                    <name>!GRAPH-PROVIDER</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.apache.atlas</groupId>
220
                    <artifactId>atlas-testtools</artifactId>
221
                    <version>${project.version}</version>
222 223 224 225 226 227
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
                </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>
243
                    <artifactId>atlas-testtools</artifactId>
244
                    <version>${project.version}</version>
245 246 247 248 249 250
                    <exclusions>
                        <exclusion>
                            <groupId>com.fasterxml.jackson.core</groupId>
                            <artifactId>*</artifactId>
                        </exclusion>
                    </exclusions>
251 252 253 254 255
                </dependency>
            </dependencies>
        </profile>
    </profiles>

256 257
    <build>
        <plugins>
258
            <plugin>
259 260 261
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
262 263 264 265 266 267 268
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
269 270
            </plugin>
            <plugin>
271 272
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
273
                <version>${surefire.version}</version>
274 275
                <configuration combine.children="override">
                </configuration>
276
            </plugin>
277

278
            <plugin>
279
                <artifactId>maven-resources-plugin</artifactId>
280 281
                <executions>
                    <execution>
282
                        <id>copy-resources-solr</id>
283
                        <phase>validate</phase>
284
                        <goals>
285
                            <goal>copy-resources</goal>
286 287
                        </goals>
                        <configuration>
288 289 290 291 292 293
                            <outputDirectory>${project.build.directory}/solr</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${basedir}/../test-tools/src/main/resources/solr</directory>
                                </resource>
                            </resources>
294 295 296 297
                        </configuration>
                    </execution>
                </executions>
            </plugin>
298 299
        </plugins>
    </build>
300
</project>