aeafc133f1751847ceb7ea3f540f0bed95973b06
[appc.git] / appc-core / appc-common-bundle / pom.xml
1 <!--\r
2   ============LICENSE_START=======================================================\r
3   ONAP : APPC\r
4   ================================================================================\r
5   Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.\r
6   ================================================================================\r
7   Licensed under the Apache License, Version 2.0 (the "License");\r
8   you may not use this file except in compliance with the License.\r
9   You may obtain a copy of the License at\r
10   \r
11        http://www.apache.org/licenses/LICENSE-2.0\r
12   \r
13   Unless required by applicable law or agreed to in writing, software\r
14   distributed under the License is distributed on an "AS IS" BASIS,\r
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16   See the License for the specific language governing permissions and\r
17   limitations under the License.\r
18   ============LICENSE_END=========================================================\r
19   --><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">\r
20   <modelVersion>4.0.0</modelVersion>\r
21   <parent>\r
22       <groupId>org.onap.appc.parent</groupId>\r
23       <artifactId>binding-parent</artifactId>\r
24       <version>1.5.0-SNAPSHOT</version>\r
25   </parent>\r
26   \r
27   <groupId>org.onap.appc</groupId>\r
28   <artifactId>appc-common-bundle</artifactId>\r
29   <packaging>bundle</packaging>\r
30   \r
31   <dependencies>\r
32     <!--  logging  -->\r
33     <dependency>\r
34          <groupId>ch.qos.logback</groupId>\r
35          <artifactId>logback-classic</artifactId>\r
36          <version>${logback.version}</version>\r
37     </dependency>\r
38     <dependency>\r
39       <groupId>com.att.eelf</groupId>\r
40       <artifactId>eelf-core</artifactId>\r
41       <exclusions>\r
42            <exclusion>\r
43                <groupId>ch.qos.logback</groupId>\r
44                <artifactId>logback-classic</artifactId>\r
45            </exclusion>\r
46       </exclusions>\r
47     </dependency>\r
48     <dependency>\r
49       <groupId>org.slf4j</groupId>\r
50       <artifactId>slf4j-api</artifactId>\r
51       <scope>provided</scope>\r
52     </dependency>\r
53 \r
54     <!-- encryption -->\r
55     \r
56     <dependency>\r
57             <groupId>org.apache.servicemix.bundles</groupId>\r
58             <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>\r
59             <version>1.9.2_1</version>\r
60     </dependency>\r
61 \r
62     <!-- Web framework -->\r
63     <dependency>\r
64         <groupId>org.apache.commons</groupId>\r
65         <artifactId>commons-lang3</artifactId>\r
66     </dependency>\r
67 \r
68     <dependency>\r
69       <groupId>com.fasterxml.jackson.core</groupId>\r
70       <artifactId>jackson-core</artifactId>\r
71     </dependency>\r
72     <dependency>\r
73       <groupId>com.fasterxml.jackson.core</groupId>\r
74       <artifactId>jackson-databind</artifactId>\r
75       <version>2.8.11.3</version>\r
76     </dependency>\r
77     <dependency>\r
78       <groupId>com.fasterxml.jackson.core</groupId>\r
79       <artifactId>jackson-annotations</artifactId>\r
80     </dependency>\r
81 \r
82     <!--  CCSDK components -->\r
83     <dependency>\r
84       <groupId>org.onap.ccsdk.sli.core</groupId>\r
85       <artifactId>dblib-provider</artifactId>\r
86       <scope>provided</scope>\r
87         <exclusions>\r
88                 <exclusion>\r
89                         <groupId>equinoxSDK381</groupId>\r
90                         <artifactId>org.eclipse.osgi</artifactId>\r
91                 </exclusion>\r
92         </exclusions>\r
93     </dependency>\r
94     \r
95     <!--  TEST DEPENDENCIES -->\r
96     <dependency>\r
97       <groupId>junit</groupId>\r
98       <artifactId>junit</artifactId>\r
99       <scope>test</scope>\r
100     </dependency>\r
101     <dependency>\r
102       <groupId>org.mockito</groupId>\r
103       <artifactId>mockito-core</artifactId>\r
104       <scope>test</scope>\r
105     </dependency>\r
106     <dependency>\r
107       <groupId>org.powermock</groupId>\r
108       <artifactId>powermock-reflect</artifactId>\r
109       <scope>test</scope>\r
110     </dependency>\r
111     <dependency>\r
112       <groupId>org.powermock</groupId>\r
113       <artifactId>powermock-module-junit4</artifactId>\r
114       <scope>test</scope>\r
115     </dependency>\r
116     <dependency>\r
117       <groupId>org.powermock</groupId>\r
118       <artifactId>powermock-api-mockito</artifactId>\r
119       <scope>test</scope>\r
120     </dependency>\r
121   </dependencies>\r
122   \r
123   <build>\r
124     <plugins>\r
125       <plugin>\r
126              <groupId>com.att.eelf</groupId>\r
127              <artifactId>eelf-maven-plugin</artifactId>\r
128              <version>1.0.0</version>\r
129              <executions>\r
130                <execution>\r
131                  <id>validation</id>\r
132                  <phase>install</phase>\r
133                  <goals>\r
134                    <goal>ValidateApplicationMsgs</goal>\r
135                  </goals>\r
136                  <configuration>\r
137                    <resources>\r
138                      <resource>\r
139                        <messageClass>org.onap.appc.i18n.Msg</messageClass>\r
140                      </resource>\r
141                    </resources>\r
142                  </configuration>\r
143                </execution>\r
144                <execution>\r
145                  <id>generate</id>\r
146                  <phase>install</phase>\r
147                  <goals>\r
148                    <goal>WikiMsgGenerator</goal>\r
149                  </goals>\r
150                  <configuration>\r
151                    <outputDirectory>target/messages</outputDirectory>\r
152                    <outputFile>messages.html</outputFile>\r
153                    <resources>\r
154                      <resource>\r
155                        <messageClass>org.onap.appc.i18n.Msg</messageClass>\r
156                        <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>]]></header>\r
157                      </resource>\r
158                    </resources>\r
159                  </configuration>\r
160                </execution>\r
161              </executions>\r
162              <dependencies>\r
163                <dependency>\r
164                  <groupId>org.onap.appc</groupId>\r
165                  <artifactId>appc-common-bundle</artifactId>\r
166                  <version>${project.version}</version>\r
167                </dependency>\r
168              </dependencies>\r
169            </plugin>\r
170      \r
171       <plugin>\r
172         <groupId>org.apache.felix</groupId>\r
173         <artifactId>maven-bundle-plugin</artifactId>\r
174         <extensions>true</extensions>\r
175         <configuration>\r
176           <instructions>\r
177             <Bundle-SymbolicName>appc-common-bundle</Bundle-SymbolicName>\r
178             <Export-Package>org.onap.appc.*, com.att.eelf.*</Export-Package>\r
179             <Embed-Dependency>eelf-core</Embed-Dependency>\r
180             <Embed-Transitive>true</Embed-Transitive>\r
181           </instructions>\r
182         </configuration>\r
183       </plugin>\r
184     </plugins>  \r
185   </build>\r
186   <version>1.5.0-SNAPSHOT</version>\r
187 </project>\r