Release appc
[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-2019 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>2.6.1</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     </dependency>\r
76     <dependency>\r
77       <groupId>com.fasterxml.jackson.core</groupId>\r
78       <artifactId>jackson-annotations</artifactId>\r
79     </dependency>\r
80 \r
81     <!--  CCSDK components -->\r
82     <dependency>\r
83       <groupId>org.onap.ccsdk.sli.core</groupId>\r
84       <artifactId>dblib-provider</artifactId>\r
85       <scope>provided</scope>\r
86         <exclusions>\r
87                 <exclusion>\r
88                         <groupId>equinoxSDK381</groupId>\r
89                         <artifactId>org.eclipse.osgi</artifactId>\r
90                 </exclusion>\r
91         </exclusions>\r
92     </dependency>\r
93     \r
94     <!--  TEST DEPENDENCIES -->\r
95     <dependency>\r
96       <groupId>junit</groupId>\r
97       <artifactId>junit</artifactId>\r
98       <scope>test</scope>\r
99     </dependency>\r
100     <dependency>\r
101       <groupId>org.mockito</groupId>\r
102       <artifactId>mockito-core</artifactId>\r
103       <scope>test</scope>\r
104     </dependency>\r
105     <dependency>\r
106       <groupId>org.powermock</groupId>\r
107       <artifactId>powermock-reflect</artifactId>\r
108       <scope>test</scope>\r
109     </dependency>\r
110     <dependency>\r
111       <groupId>org.powermock</groupId>\r
112       <artifactId>powermock-module-junit4</artifactId>\r
113       <scope>test</scope>\r
114     </dependency>\r
115     <dependency>\r
116       <groupId>org.powermock</groupId>\r
117       <artifactId>powermock-api-mockito</artifactId>\r
118       <scope>test</scope>\r
119     </dependency>\r
120   </dependencies>\r
121   \r
122   <build>\r
123     <plugins>\r
124       <plugin>\r
125              <groupId>com.att.eelf</groupId>\r
126              <artifactId>eelf-maven-plugin</artifactId>\r
127              <version>1.0.0</version>\r
128              <executions>\r
129                <execution>\r
130                  <id>validation</id>\r
131                  <phase>install</phase>\r
132                  <goals>\r
133                    <goal>ValidateApplicationMsgs</goal>\r
134                  </goals>\r
135                  <configuration>\r
136                    <resources>\r
137                      <resource>\r
138                        <messageClass>org.onap.appc.i18n.Msg</messageClass>\r
139                      </resource>\r
140                    </resources>\r
141                  </configuration>\r
142                </execution>\r
143                <execution>\r
144                  <id>generate</id>\r
145                  <phase>install</phase>\r
146                  <goals>\r
147                    <goal>WikiMsgGenerator</goal>\r
148                  </goals>\r
149                  <configuration>\r
150                    <outputDirectory>target/messages</outputDirectory>\r
151                    <outputFile>messages.html</outputFile>\r
152                    <resources>\r
153                      <resource>\r
154                        <messageClass>org.onap.appc.i18n.Msg</messageClass>\r
155                        <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>]]></header>\r
156                      </resource>\r
157                    </resources>\r
158                  </configuration>\r
159                </execution>\r
160              </executions>\r
161              <dependencies>\r
162                <dependency>\r
163                  <groupId>org.onap.appc</groupId>\r
164                  <artifactId>appc-common-bundle</artifactId>\r
165                  <version>${project.version}</version>\r
166                </dependency>\r
167              </dependencies>\r
168            </plugin>\r
169      \r
170       <plugin>\r
171         <groupId>org.apache.felix</groupId>\r
172         <artifactId>maven-bundle-plugin</artifactId>\r
173         <extensions>true</extensions>\r
174         <configuration>\r
175           <instructions>\r
176             <Bundle-SymbolicName>appc-common-bundle</Bundle-SymbolicName>\r
177             <Export-Package>org.onap.appc.*, com.att.eelf.*</Export-Package>\r
178             <Embed-Dependency>eelf-core</Embed-Dependency>\r
179             <Embed-Transitive>true</Embed-Transitive>\r
180           </instructions>\r
181         </configuration>\r
182       </plugin>\r
183     </plugins>  \r
184   </build>\r
185   <version>1.6.3</version>\r
186 </project>\r