update mockito version in APPC
[appc.git] / appc-core / appc-common-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
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 <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/xsd/maven-4.0.0.xsd">
22   <modelVersion>4.0.0</modelVersion>
23   <parent>
24       <groupId>org.onap.appc.parent</groupId>
25       <artifactId>binding-parent</artifactId>
26       <version>2.7.0-SNAPSHOT</version>
27   </parent>
28   
29   <groupId>org.onap.appc</groupId>
30   <artifactId>appc-common-bundle</artifactId>
31   <packaging>bundle</packaging>
32   
33   <dependencies>
34     <!--  logging  -->
35     <dependency>
36          <groupId>ch.qos.logback</groupId>
37          <artifactId>logback-classic</artifactId>
38          <version>${logback.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>com.att.eelf</groupId>
42       <artifactId>eelf-core</artifactId>
43       <exclusions>
44            <exclusion>
45                <groupId>ch.qos.logback</groupId>
46                <artifactId>logback-classic</artifactId>
47            </exclusion>
48       </exclusions>
49     </dependency>
50     <dependency>
51       <groupId>org.slf4j</groupId>
52       <artifactId>slf4j-api</artifactId>
53       <scope>provided</scope>
54     </dependency>
55
56     <!-- encryption -->
57     
58     <dependency>
59             <groupId>org.apache.servicemix.bundles</groupId>
60             <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
61             <version>1.9.2_1</version>
62     </dependency>
63
64     <!-- Web framework -->
65     <dependency>
66         <groupId>org.apache.commons</groupId>
67         <artifactId>commons-lang3</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>com.fasterxml.jackson.core</groupId>
72       <artifactId>jackson-core</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>com.fasterxml.jackson.core</groupId>
76       <artifactId>jackson-databind</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>com.fasterxml.jackson.core</groupId>
80       <artifactId>jackson-annotations</artifactId>
81     </dependency>
82
83     <!--  CCSDK components -->
84     <dependency>
85       <groupId>org.onap.ccsdk.sli.core</groupId>
86       <artifactId>dblib-provider</artifactId>
87       <scope>provided</scope>
88         <exclusions>
89                 <exclusion>
90                         <groupId>equinoxSDK381</groupId>
91                         <artifactId>org.eclipse.osgi</artifactId>
92                 </exclusion>
93         </exclusions>
94     </dependency>
95     
96     <!--  TEST DEPENDENCIES -->
97     <dependency>
98       <groupId>junit</groupId>
99       <artifactId>junit</artifactId>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.mockito</groupId>
104       <artifactId>mockito-core</artifactId>
105       <version>1.10.19</version>
106       <scope>test</scope>
107     </dependency>
108     <dependency>
109       <groupId>org.powermock</groupId>
110       <artifactId>powermock-reflect</artifactId>
111       <version>1.6.4</version>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.powermock</groupId>
116       <artifactId>powermock-module-junit4</artifactId>
117       <version>1.6.4</version>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.powermock</groupId>
122       <artifactId>powermock-api-mockito</artifactId>
123       <version>1.6.4</version>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.powermock</groupId>
128       <artifactId>powermock-core</artifactId>
129       <version>1.6.4</version>
130       <scope>test</scope>
131     </dependency>
132   </dependencies>
133   
134   <build>
135     <plugins>
136       <plugin>
137              <groupId>com.att.eelf</groupId>
138              <artifactId>eelf-maven-plugin</artifactId>
139              <version>1.0.0</version>
140              <executions>
141                <execution>
142                  <id>validation</id>
143                  <phase>install</phase>
144                  <goals>
145                    <goal>ValidateApplicationMsgs</goal>
146                  </goals>
147                  <configuration>
148                    <resources>
149                      <resource>
150                        <messageClass>org.onap.appc.i18n.Msg</messageClass>
151                      </resource>
152                    </resources>
153                  </configuration>
154                </execution>
155                <execution>
156                  <id>generate</id>
157                  <phase>install</phase>
158                  <goals>
159                    <goal>WikiMsgGenerator</goal>
160                  </goals>
161                  <configuration>
162                    <outputDirectory>target/messages</outputDirectory>
163                    <outputFile>messages.html</outputFile>
164                    <resources>
165                      <resource>
166                        <messageClass>org.onap.appc.i18n.Msg</messageClass>
167                        <header>&lt;p&gt; &lt;ac:macro ac:name="toc" /&gt; &lt;/p&gt;</header>
168                      </resource>
169                    </resources>
170                  </configuration>
171                </execution>
172              </executions>
173              <dependencies>
174                <dependency>
175                  <groupId>org.onap.appc</groupId>
176                  <artifactId>appc-common-bundle</artifactId>
177                  <version>${project.version}</version>
178                </dependency>
179              </dependencies>
180            </plugin>
181      
182       <plugin>
183         <groupId>org.apache.felix</groupId>
184         <artifactId>maven-bundle-plugin</artifactId>
185         <extensions>true</extensions>
186         <configuration>
187           <instructions>
188             <Bundle-SymbolicName>appc-common-bundle</Bundle-SymbolicName>
189             <Export-Package>org.onap.appc.*, com.att.eelf.*</Export-Package>
190             <Embed-Dependency>eelf-core</Embed-Dependency>
191             <Embed-Transitive>true</Embed-Transitive>
192           </instructions>
193         </configuration>
194       </plugin>
195     </plugins>  
196   </build>
197   <version>1.7.0-SNAPSHOT</version>
198 </project>