Karaf 4 for appc-config
[appc.git] / appc-config / appc-data-services / provider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   Copyright (C) 2017 Amdocs
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <groupId>org.onap.appc.parent</groupId>
27                 <artifactId>binding-parent</artifactId>
28                 <version>1.4.0-SNAPSHOT</version>
29                 <relativePath />
30         </parent>
31         <groupId>org.onap.appc</groupId>
32         <artifactId>appc-config-data-services-provider</artifactId>
33         <packaging>bundle</packaging>
34         <name>APPC Data Services - Provider</name>
35         <url>http://maven.apache.org</url>
36         <properties>
37                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38         </properties>
39         <dependencies>
40                 <dependency>
41                         <groupId>equinoxSDK381</groupId>
42                         <artifactId>org.eclipse.osgi</artifactId>
43                         <version>${equinox.osgi.version}</version>
44                 </dependency>
45                 <dependency>
46                         <groupId>org.onap.ccsdk.sli.core</groupId>
47                         <artifactId>sli-provider</artifactId>
48                         <scope>compile</scope>
49                 </dependency>
50                 <dependency>
51                         <groupId>org.apache.commons</groupId>
52                         <artifactId>commons-lang3</artifactId>
53                 </dependency>
54                 <dependency>
55                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
56                         <artifactId>sql-resource-provider</artifactId>
57                         <version>${ccsdk.sli.adaptors.version}</version>
58                         <scope>compile</scope>
59                 </dependency>
60
61                 <dependency>
62                         <groupId>commons-io</groupId>
63                         <artifactId>commons-io</artifactId>
64                 </dependency>
65
66                 <dependency>
67                         <groupId>com.att.eelf</groupId>
68                         <artifactId>eelf-core</artifactId>
69                 </dependency>
70
71                 <dependency>
72                         <groupId>junit</groupId>
73                         <artifactId>junit</artifactId>
74                         <scope>test</scope>
75                 </dependency>
76                 <dependency>
77                         <groupId>org.mockito</groupId>
78                         <artifactId>mockito-core</artifactId>
79                 </dependency>
80                 <dependency>
81                         <groupId>com.fasterxml.jackson.core</groupId>
82                         <artifactId>jackson-databind</artifactId>
83                 </dependency>
84
85         </dependencies>
86         <build>
87                 <plugins>
88                         <plugin>
89                                 <artifactId>maven-resources-plugin</artifactId>
90                                 <executions>
91                                         <execution>
92                                                 <id>copy-xsl</id>
93                                                 <goals>
94                                                         <goal>copy-resources</goal>
95                                                 </goals>
96                                                 <phase>validate</phase>
97                                                 <configuration>
98                                                         <outputDirectory>${basedir}/target/templates/xslt/sbg</outputDirectory>
99                                                         <resources>
100                                                                 <resource>
101                                                                         <directory>src/main/resources/xsl</directory>
102                                                                         <includes>
103                                                                                 <include>*</include>
104                                                                         </includes>
105                                                                         <filtering>true</filtering>
106                                                                 </resource>
107                                                         </resources>
108                                                 </configuration>
109                                         </execution>
110                                         <execution>
111                                                 <id>copy-properties</id>
112                                                 <goals>
113                                                         <goal>copy-resources</goal>
114                                                 </goals>
115                                                 <phase>validate</phase>
116                                                 <configuration>
117                                                         <outputDirectory>${basedir}/target/properties/</outputDirectory>
118                                                         <resources>
119                                                                 <resource>
120                                                                         <directory>src/main/resources</directory>
121                                                                         <includes>
122                                                                                 <include>*.properties</include>
123                                                                         </includes>
124                                                                         <filtering>true</filtering>
125                                                                 </resource>
126                                                         </resources>
127                                                 </configuration>
128                                         </execution>
129                                 </executions>
130                         </plugin>
131                         <plugin>
132                                 <groupId>org.apache.felix</groupId>
133                                 <artifactId>maven-bundle-plugin</artifactId>
134                                 <version>${bundle.plugin.version}</version>
135                                 <extensions>true</extensions>
136                                 <configuration>
137                                         <instructions>
138                                                 <Bundle-SymbolicName>appc-config-data-services</Bundle-SymbolicName>
139                                                 <Bundle-Activator>org.onap.appc.data.services.AppcDataServiceActivator</Bundle-Activator>
140                                                 <Export-Package>org.onap.appc.data.services</Export-Package>
141                                                 <Import-Package>*</Import-Package>
142                                                 <Embed-Dependency>eelf-core,logback-core,logback-classic</Embed-Dependency>
143                                                 <DynamicImport-Package>*</DynamicImport-Package>
144                                         </instructions>
145                                         <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
146                                 </configuration>
147                         </plugin>
148                 </plugins>
149         </build>
150 </project>