Update license date and text
[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         <artifactId>champ-lib</artifactId>
29         <groupId>org.onap.aai</groupId>
30         <version>1.2.0-SNAPSHOT</version>
31     </parent>
32
33     <artifactId>champ-janus</artifactId>
34
35     <properties>
36         <tinkerpop.version>3.2.3</tinkerpop.version>
37     </properties>
38
39     <dependencies>
40         <dependency>
41             <groupId>org.apache.tinkerpop</groupId>
42             <artifactId>tinkergraph-gremlin</artifactId>
43             <version>${tinkerpop.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>org.onap.aai</groupId>
47             <artifactId>champ-core</artifactId>
48             <version>1.2.0-SNAPSHOT</version>
49         </dependency>
50         <dependency>
51             <groupId>org.onap.aai</groupId>
52             <artifactId>champ-core</artifactId>
53             <version>1.2.0-SNAPSHOT</version>
54             <type>test-jar</type>
55             <scope>test</scope>
56         </dependency>
57         <dependency>
58             <groupId>org.janusgraph</groupId>
59             <artifactId>janusgraph-cassandra</artifactId>
60             <version>0.1.1</version>
61             <optional>true</optional>
62             <exclusions>
63                 <exclusion>
64                     <groupId>org.slf4j</groupId>
65                     <artifactId>slf4j-log4j12</artifactId>
66                 </exclusion>
67                 <exclusion>
68                     <groupId>ch.qos.logback</groupId>
69                     <artifactId>logback-classic</artifactId>
70                 </exclusion>
71                 <exclusion>
72                     <groupId>org.apache.tinkerpop</groupId>
73                     <artifactId>gremlin-core</artifactId>
74                 </exclusion>
75                 <exclusion>
76                     <groupId>org.apache.tinkerpop</groupId>
77                     <artifactId>gremlin-groovy</artifactId>
78                 </exclusion>
79             </exclusions>
80         </dependency>
81         <dependency>
82             <groupId>org.janusgraph</groupId>
83             <artifactId>janusgraph-hbase</artifactId>
84             <version>0.1.1</version>
85             <optional>true</optional>
86             <exclusions>
87                 <exclusion>
88                     <groupId>org.apache.tinkerpop</groupId>
89                     <artifactId>gremlin-groovy</artifactId>
90                 </exclusion>
91                 <exclusion>
92                     <groupId>org.slf4j</groupId>
93                     <artifactId>slf4j-log4j12</artifactId>
94                 </exclusion>
95                 <exclusion>
96                     <groupId>ch.qos.logback</groupId>
97                     <artifactId>logback-classic</artifactId>
98                 </exclusion>
99                 <exclusion>
100                     <groupId>org.apache.tinkerpop</groupId>
101                     <artifactId>gremlin-core</artifactId>
102                 </exclusion>
103             </exclusions>
104         </dependency>
105     </dependencies>
106
107     <build>
108         <plugins>
109             <plugin>
110                 <groupId>org.jacoco</groupId>
111                 <artifactId>jacoco-maven-plugin</artifactId>
112                 <version>0.7.9</version>
113                 <executions>
114                     <execution>
115                         <id>default-prepare-agent</id>
116                         <goals>
117                             <goal>prepare-agent</goal>
118                         </goals>
119                     </execution>
120                     <execution>
121                         <id>default-report</id>
122                         <phase>prepare-package</phase>
123                         <goals>
124                             <goal>report</goal>
125                         </goals>
126                     </execution>
127                     <execution>
128                         <id>default-check</id>
129                         <goals>
130                             <goal>check</goal>
131                         </goals>
132                         <configuration>
133                             <rules>
134                                 <!--  implementation is needed only for Maven 2  -->
135                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
136                                     <element>BUNDLE</element>
137                                     <limits>
138                                         <!--  implementation is needed only for Maven 2  -->
139                                         <limit implementation="org.jacoco.report.check.Limit">
140                                             <counter>INSTRUCTION</counter>
141                                             <value>COVEREDRATIO</value>
142                                             <minimum>.15</minimum>
143                                         </limit>
144                                         <limit implementation="org.jacoco.report.check.Limit">
145                                             <counter>BRANCH</counter>
146                                             <value>COVEREDRATIO</value>
147                                             <minimum>.14</minimum>
148                                         </limit>
149                                         <limit implementation="org.jacoco.report.check.Limit">
150                                             <counter>COMPLEXITY</counter>
151                                             <value>COVEREDRATIO</value>
152                                             <minimum>.15</minimum>
153                                         </limit>
154                                         <limit implementation="org.jacoco.report.check.Limit">
155                                             <counter>LINE</counter>
156                                             <value>COVEREDRATIO</value>
157                                             <minimum>.18</minimum>
158                                         </limit>
159                                         <limit implementation="org.jacoco.report.check.Limit">
160                                             <counter>METHOD</counter>
161                                             <value>COVEREDRATIO</value>
162                                             <minimum>.10</minimum>
163                                         </limit>
164                                         <limit implementation="org.jacoco.report.check.Limit">
165                                             <counter>CLASS</counter>
166                                             <value>MISSEDCOUNT</value>
167                                             <maximum>2</maximum>
168                                         </limit>
169                                     </limits>
170                                 </rule>
171                             </rules>
172                         </configuration>
173                     </execution>
174                 </executions>
175             </plugin>
176                         <!--
177             <plugin>
178                 <groupId>com.mycila</groupId>
179                 <artifactId>license-maven-plugin</artifactId>
180                 <version>3.0</version>
181                 <configuration>
182                     <header>License.txt</header>
183                     <includes>
184                         <include>**/*.java</include>
185                         <include>**/*.ksh</include>
186                         <include>**/*.sh</include>
187                         <include>**/*.ftl</include>
188                         <include>**/*.xsd</include>
189                         <include>**/*.xjb</include>
190                         <include>**/*.yml</include>
191                         <include>**/*.yaml</include>
192                         <include>**/aai*.xml</include>
193                         <include>**/*logback*.xml</include>
194                         <include>**/*aaiconfig*.properties</include>
195                         <include>**/*titan*.properties</include>
196                     </includes>
197                 </configuration>
198                 <executions>
199                     <execution>
200                         <goals>
201                             <goal>format</goal>
202                         </goals>
203                         <phase>process-sources</phase>
204                     </execution>
205                 </executions>
206             </plugin>
207                         -->
208         </plugins>
209     </build>
210 </project>