94da7d08e13564f963c9b465adf0a66698c99598
[aai/champ.git] / champ-lib / champ-janus / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 org.onap.aai
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.onap.aai.champ</groupId>
29         <artifactId>champ-lib</artifactId>
30         <version>1.4.0-SNAPSHOT</version>
31     </parent>
32
33     <groupId>org.onap.aai.champ.champ-lib</groupId>
34     <artifactId>champ-janus</artifactId>
35
36     <properties>
37         <tinkerpop.version>3.2.3</tinkerpop.version>
38         <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
39          coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
40         <jacoco.line.coverage.limit>0.65</jacoco.line.coverage.limit>
41     </properties>
42
43     <dependencies>
44         <dependency>
45             <groupId>org.apache.tinkerpop</groupId>
46             <artifactId>tinkergraph-gremlin</artifactId>
47             <version>${tinkerpop.version}</version>
48         </dependency>
49
50         <dependency>
51             <groupId>org.onap.aai.champ.champ-lib</groupId>
52             <artifactId>champ-core</artifactId>
53             <version>${project.version}</version>
54         </dependency>
55
56         <dependency>
57             <groupId>org.onap.aai.champ.champ-lib</groupId>
58             <artifactId>champ-core</artifactId>
59             <version>${project.version}</version>
60             <type>test-jar</type>
61             <scope>test</scope>
62         </dependency>
63
64         <dependency>
65             <groupId>org.janusgraph</groupId>
66             <artifactId>janusgraph-cassandra</artifactId>
67             <version>0.2.0</version>
68             <optional>true</optional>
69             <exclusions>
70                 <exclusion>
71                     <groupId>org.slf4j</groupId>
72                     <artifactId>slf4j-log4j12</artifactId>
73                 </exclusion>
74                 <exclusion>
75                     <groupId>ch.qos.logback</groupId>
76                     <artifactId>logback-classic</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>org.apache.tinkerpop</groupId>
80                     <artifactId>gremlin-core</artifactId>
81                 </exclusion>
82                 <exclusion>
83                     <groupId>org.apache.tinkerpop</groupId>
84                     <artifactId>gremlin-groovy</artifactId>
85                 </exclusion>
86                 <exclusion>
87                     <groupId>dom4j</groupId>
88                     <artifactId>dom4j</artifactId>
89                 </exclusion>
90             </exclusions>
91         </dependency>
92         <dependency>
93             <groupId>org.janusgraph</groupId>
94             <artifactId>janusgraph-cql</artifactId>
95             <version>0.2.0</version>
96             <optional>true</optional>
97             <exclusions>
98                 <exclusion>
99                     <groupId>org.slf4j</groupId>
100                     <artifactId>slf4j-log4j12</artifactId>
101                 </exclusion>
102                 <exclusion>
103                     <groupId>ch.qos.logback</groupId>
104                     <artifactId>logback-classic</artifactId>
105                 </exclusion>
106                 <exclusion>
107                     <groupId>org.apache.tinkerpop</groupId>
108                     <artifactId>gremlin-core</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>org.apache.tinkerpop</groupId>
112                     <artifactId>gremlin-groovy</artifactId>
113                 </exclusion>
114                 <exclusion>
115                     <groupId>dom4j</groupId>
116                     <artifactId>dom4j</artifactId>
117                 </exclusion>
118             </exclusions>
119         </dependency>
120
121         <dependency>
122             <groupId>org.janusgraph</groupId>
123             <artifactId>janusgraph-hbase</artifactId>
124             <version>0.2.0</version>
125             <optional>true</optional>
126             <exclusions>
127                 <exclusion>
128                     <groupId>org.apache.tinkerpop</groupId>
129                     <artifactId>gremlin-groovy</artifactId>
130                 </exclusion>
131                 <exclusion>
132                     <groupId>org.slf4j</groupId>
133                     <artifactId>slf4j-log4j12</artifactId>
134                 </exclusion>
135                 <exclusion>
136                     <groupId>org.apache.tinkerpop</groupId>
137                     <artifactId>gremlin-core</artifactId>
138                 </exclusion>
139             </exclusions>
140         </dependency>
141     </dependencies>
142
143     <build>
144         <plugins>
145             <plugin>
146                 <groupId>org.apache.maven.plugins</groupId>
147                 <artifactId>maven-deploy-plugin</artifactId>
148                 <configuration>
149                     <skip>true</skip>
150                 </configuration>
151             </plugin>
152             <plugin>
153                 <groupId>com.mycila</groupId>
154                 <artifactId>license-maven-plugin</artifactId>
155                 <version>3.0</version>
156                 <configuration>
157                     <header>License.txt</header>
158                     <includes>
159                         <include>**/*.java</include>
160                         <include>**/*.ksh</include>
161                         <include>**/*.sh</include>
162                         <include>**/*.ftl</include>
163                         <include>**/*.xsd</include>
164                         <include>**/*.xjb</include>
165                         <include>**/*.yml</include>
166                         <include>**/*.yaml</include>
167                         <include>**/aai*.xml</include>
168                         <include>**/*logback*.xml</include>
169                         <include>**/*aaiconfig*.properties</include>
170                         <include>**/*titan*.properties</include>
171                     </includes>
172                     <skipExistingHeaders>true</skipExistingHeaders>
173                 </configuration>
174                 <executions>
175                     <execution>
176                         <goals>
177                             <!-- Set goal to "format" to auto update license headers -->
178                             <goal>check</goal>
179                         </goals>
180                         <phase>process-sources</phase>
181                     </execution>
182                 </executions>
183             </plugin>
184         </plugins>
185     </build>
186 </project>