c074ca6d8a2d34a0fb37faf1f55ecef0c2b139a3
[appc.git] / appc-directed-graph / dg-loader / provider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Copyright (C) 2017 Amdocs
9   =============================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14        http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21
22   ECOMP is a trademark and service mark of AT&T Intellectual Property.
23   ============LICENSE_END=========================================================
24   -->
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <groupId>org.openecomp.appc.plugins</groupId>
30         <artifactId>dg-loader</artifactId>
31         <version>1.1.0-SNAPSHOT</version>
32     </parent>
33     <artifactId>dg-loader-provider</artifactId>
34     <packaging>bundle</packaging>
35     <name>APPC Directed Graph Loader - Provider</name>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.openecomp.sdnc.core</groupId>
40             <artifactId>sli-provider</artifactId>
41             <version>${sdnctl.sli.version}</version>
42             <scope>compile</scope>
43             <exclusions>
44                 <exclusion>
45                     <groupId>org.slf4j</groupId>
46                     <artifactId>slf4j-api</artifactId>
47                 </exclusion>
48                 <exclusion>
49                     <groupId>org.slf4j</groupId>
50                     <artifactId>jcl-over-slf4j</artifactId>
51                 </exclusion>
52             </exclusions>
53         </dependency>
54         <dependency>
55             <groupId>commons-io</groupId>
56             <artifactId>commons-io</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>com.att.eelf</groupId>
60             <artifactId>eelf-core</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>junit</groupId>
64             <artifactId>junit</artifactId>
65             <scope>test</scope>
66         </dependency>
67         <dependency>
68             <groupId>org.slf4j</groupId>
69             <artifactId>slf4j-api</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.slf4j</groupId>
73             <artifactId>jcl-over-slf4j</artifactId>
74         </dependency>
75        <dependency>
76                 <groupId>org.powermock</groupId>
77                 <artifactId>powermock-api-mockito</artifactId>
78                 <version>1.6.2</version>
79                 <scope>test</scope>
80         </dependency>
81         <dependency>
82             <groupId>org.mockito</groupId>
83             <artifactId>mockito-core</artifactId>
84             <scope>test</scope>
85         </dependency>
86
87     </dependencies>
88
89     <build>
90         <plugins>
91             <plugin>
92                 <groupId>org.apache.felix</groupId>
93                 <artifactId>maven-bundle-plugin</artifactId>
94                 <version>${bundle.plugin.version}</version>
95                 <extensions>true</extensions>
96                 <configuration>
97                     <instructions>
98                         <Bundle-SymbolicName>org.openecomp.sdnc.dg.loader</Bundle-SymbolicName>
99                         <Bundle-Activator>org.openecomp.sdnc.dg.loader.DGLoaderActivator</Bundle-Activator>
100                         <Export-Package>org.openecomp.sdnc.dg.loader</Export-Package>
101                         <Import-Package>*</Import-Package>
102                         <DynamicImport-Package>*</DynamicImport-Package>
103                     </instructions>
104                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
105                 </configuration>
106             </plugin>
107
108             <plugin>
109                 <groupId>org.apache.maven.plugins</groupId>
110                 <artifactId>maven-assembly-plugin</artifactId>
111                 <version>2.4.1</version>
112                 <configuration>
113                     <descriptorRefs>
114                         <descriptorRef>jar-with-dependencies</descriptorRef>
115                     </descriptorRefs>
116                     <finalName>dg-loader</finalName>
117                     <archive>
118                         <manifest>
119                             <mainClass>org.openecomp.sdnc.dg.loader.DGXMLLoadNActivate</mainClass>
120                         </manifest>
121                     </archive>
122                     <attach>false</attach>
123                 </configuration>
124                 <executions>
125                     <execution>
126                         <id>make-assembly</id>
127                         <phase>package</phase>
128                         <goals>
129                             <goal>single</goal>
130                         </goals>
131                     </execution>
132                 </executions>
133             </plugin>
134
135         </plugins>
136         <pluginManagement>
137             <plugins>
138                 <!--This plugin's configuration is used to store Eclipse m2e settings
139                     only. It has no influence on the Maven build itself. -->
140                 <plugin>
141                     <groupId>org.eclipse.m2e</groupId>
142                     <artifactId>lifecycle-mapping</artifactId>
143                     <version>1.0.0</version>
144                     <configuration>
145                         <lifecycleMappingMetadata>
146                             <pluginExecutions>
147                                 <pluginExecution>
148                                     <pluginExecutionFilter>
149                                         <groupId>
150                                             com.brocade.developer
151                                         </groupId>
152                                         <artifactId>
153                                             providermodule-plugin
154                                         </artifactId>
155                                         <versionRange>
156                                             [1.2.0.100-SNAPSHOT,)
157                                         </versionRange>
158                                         <goals>
159                                             <goal>process</goal>
160                                         </goals>
161                                     </pluginExecutionFilter>
162                                     <action>
163                                         <ignore/>
164                                     </action>
165                                 </pluginExecution>
166                             </pluginExecutions>
167                         </lifecycleMappingMetadata>
168                     </configuration>
169                 </plugin>
170             </plugins>
171         </pluginManagement>
172     </build>
173 </project>