Bump minor version
[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.3.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.onap.ccsdk.sli.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.4</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                         <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
104                     </instructions>
105                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
106                 </configuration>
107             </plugin>
108
109             <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-assembly-plugin</artifactId>
112                 <version>2.4.1</version>
113                 <configuration>
114                     <descriptorRefs>
115                         <descriptorRef>jar-with-dependencies</descriptorRef>
116                     </descriptorRefs>
117                     <finalName>dg-loader</finalName>
118                     <archive>
119                         <manifest>
120                             <mainClass>org.openecomp.sdnc.dg.loader.DGXMLLoadNActivate</mainClass>
121                         </manifest>
122                     </archive>
123                     <attach>false</attach>
124                 </configuration>
125                 <executions>
126                     <execution>
127                         <id>make-assembly</id>
128                         <phase>package</phase>
129                         <goals>
130                             <goal>single</goal>
131                         </goals>
132                     </execution>
133                 </executions>
134             </plugin>
135             <!-- Adding this plugin to be able to deploy the dg-loader JAR with dependencies to the Nexus Repo.
136                  This is needed to be able to run the java cmds in 
137                  deployment.git/platform-logic/installer/src/main/scripts/install-converted-dgs.sh -->
138             <plugin>
139                 <groupId>org.apache.maven.plugins</groupId>
140                 <artifactId>maven-shade-plugin</artifactId>
141                 <version>2.0</version>
142                 <executions>
143                     <execution>
144                         <phase>package</phase>
145                         <goals>
146                             <goal>shade</goal>
147                         </goals>
148                         <configuration>
149                             <filters>
150                                 <filter>
151                                     <artifact>*:*</artifact>
152                                     <excludes>
153                                         <exclude>META-INF/*.SF</exclude>
154                                         <exclude>META-INF/*.DSA</exclude>
155                                         <exclude>META-INF/*.RSA</exclude>
156                                     </excludes>
157                                 </filter>
158                             </filters>
159                             <shadedArtifactAttached>true</shadedArtifactAttached>
160                             <shadedClassifierName>jar-with-dependencies</shadedClassifierName>
161                         </configuration>
162                     </execution>
163                 </executions>
164             </plugin>
165
166         </plugins>
167         <pluginManagement>
168             <plugins>
169                 <!--This plugin's configuration is used to store Eclipse m2e settings
170                     only. It has no influence on the Maven build itself. -->
171                 <plugin>
172                     <groupId>org.eclipse.m2e</groupId>
173                     <artifactId>lifecycle-mapping</artifactId>
174                     <version>1.0.0</version>
175                     <configuration>
176                         <lifecycleMappingMetadata>
177                             <pluginExecutions>
178                                 <pluginExecution>
179                                     <pluginExecutionFilter>
180                                         <groupId>
181                                             com.brocade.developer
182                                         </groupId>
183                                         <artifactId>
184                                             providermodule-plugin
185                                         </artifactId>
186                                         <versionRange>
187                                             [1.2.0.100-SNAPSHOT,)
188                                         </versionRange>
189                                         <goals>
190                                             <goal>process</goal>
191                                         </goals>
192                                     </pluginExecutionFilter>
193                                     <action>
194                                         <ignore/>
195                                     </action>
196                                 </pluginExecution>
197                             </pluginExecutions>
198                         </lifecycleMappingMetadata>
199                     </configuration>
200                 </plugin>
201             </plugins>
202         </pluginManagement>
203     </build>
204 </project>