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