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.0</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       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>org.powermock</groupId>
109       <artifactId>powermock-reflect</artifactId>
110       <scope>test</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.powermock</groupId>
114       <artifactId>powermock-module-junit4</artifactId>
115       <scope>test</scope>
116     </dependency>
117     <dependency>
118       <groupId>org.powermock</groupId>
119       <artifactId>powermock-api-mockito</artifactId>
120       <scope>test</scope>
121     </dependency>
122   </dependencies>
123   
124   <build>
125     <plugins>
126       <plugin>
127              <groupId>com.att.eelf</groupId>
128              <artifactId>eelf-maven-plugin</artifactId>
129              <version>1.0.0</version>
130              <executions>
131                <execution>
132                  <id>validation</id>
133                  <phase>install</phase>
134                  <goals>
135                    <goal>ValidateApplicationMsgs</goal>
136                  </goals>
137                  <configuration>
138                    <resources>
139                      <resource>
140                        <messageClass>org.onap.appc.i18n.Msg</messageClass>
141                      </resource>
142                    </resources>
143                  </configuration>
144                </execution>
145                <execution>
146                  <id>generate</id>
147                  <phase>install</phase>
148                  <goals>
149                    <goal>WikiMsgGenerator</goal>
150                  </goals>
151                  <configuration>
152                    <outputDirectory>target/messages</outputDirectory>
153                    <outputFile>messages.html</outputFile>
154                    <resources>
155                      <resource>
156                        <messageClass>org.onap.appc.i18n.Msg</messageClass>
157                        <header>&lt;p&gt; &lt;ac:macro ac:name="toc" /&gt; &lt;/p&gt;</header>
158                      </resource>
159                    </resources>
160                  </configuration>
161                </execution>
162              </executions>
163              <dependencies>
164                <dependency>
165                  <groupId>org.onap.appc</groupId>
166                  <artifactId>appc-common-bundle</artifactId>
167                  <version>${project.version}</version>
168                </dependency>
169              </dependencies>
170            </plugin>
171      
172       <plugin>
173         <groupId>org.apache.felix</groupId>
174         <artifactId>maven-bundle-plugin</artifactId>
175         <extensions>true</extensions>
176         <configuration>
177           <instructions>
178             <Bundle-SymbolicName>appc-common-bundle</Bundle-SymbolicName>
179             <Export-Package>org.onap.appc.*, com.att.eelf.*</Export-Package>
180             <Embed-Dependency>eelf-core</Embed-Dependency>
181             <Embed-Transitive>true</Embed-Transitive>
182           </instructions>
183         </configuration>
184       </plugin>
185     </plugins>  
186   </build>
187   <version>1.7.0</version>
188 </project>