blob: 9b396f0b7578f58ca8c1e9ccd608589820e62a1f [file] [log] [blame]
Skip Wonnellcf4b15a2017-08-15 21:18:04 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell574417b2017-08-28 22:02:54 -05002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClunga8027392018-06-13 15:49:08 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell574417b2017-08-28 22:02:54 -05007 ================================================================================
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
Skip Wonnell574417b2017-08-28 22:02:54 -050022 ============LICENSE_END=========================================================
23 -->
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050024<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Hao Kuang58a71962017-09-01 14:11:57 +000025 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050026 <modelVersion>4.0.0</modelVersion>
27 <parent>
Patrick Brady07567592017-12-13 11:09:30 -080028 <groupId>org.onap.appc.plugins</groupId>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050029 <artifactId>dg-loader</artifactId>
Patrick Bradyed1cf1f2019-04-26 12:36:25 -070030 <version>1.6.0-SNAPSHOT</version>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050031 </parent>
32 <artifactId>dg-loader-provider</artifactId>
33 <packaging>bundle</packaging>
Skip Wonnell574417b2017-08-28 22:02:54 -050034 <name>APPC Directed Graph Loader - Provider</name>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050035
36 <dependencies>
37 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -070038 <groupId>org.onap.ccsdk.sli.core</groupId>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050039 <artifactId>sli-provider</artifactId>
40 <version>${sdnctl.sli.version}</version>
41 <scope>compile</scope>
Hao Kuang58a71962017-09-01 14:11:57 +000042 <exclusions>
43 <exclusion>
44 <groupId>org.slf4j</groupId>
45 <artifactId>slf4j-api</artifactId>
46 </exclusion>
47 <exclusion>
48 <groupId>org.slf4j</groupId>
49 <artifactId>jcl-over-slf4j</artifactId>
50 </exclusion>
51 </exclusions>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050052 </dependency>
53 <dependency>
54 <groupId>commons-io</groupId>
55 <artifactId>commons-io</artifactId>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050056 </dependency>
57 <dependency>
58 <groupId>com.att.eelf</groupId>
59 <artifactId>eelf-core</artifactId>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050060 </dependency>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050061 <dependency>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <scope>test</scope>
65 </dependency>
Hao Kuang58a71962017-09-01 14:11:57 +000066 <dependency>
67 <groupId>org.slf4j</groupId>
68 <artifactId>slf4j-api</artifactId>
69 </dependency>
70 <dependency>
71 <groupId>org.slf4j</groupId>
72 <artifactId>jcl-over-slf4j</artifactId>
73 </dependency>
Chaturvedi, Anand (ac204h)50fdfca2017-09-01 15:35:26 -040074 <dependency>
Skip Wonnellcaa57682017-12-23 00:18:18 -060075 <groupId>org.powermock</groupId>
Chaturvedi, Anand (ac204h)50fdfca2017-09-01 15:35:26 -040076 <artifactId>powermock-api-mockito</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -070077 <version>1.6.4</version>
Chaturvedi, Anand (ac204h)50fdfca2017-09-01 15:35:26 -040078 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.mockito</groupId>
82 <artifactId>mockito-core</artifactId>
83 <scope>test</scope>
84 </dependency>
85
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050086 </dependencies>
87
88 <build>
89 <plugins>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -050090 <plugin>
91 <groupId>org.apache.felix</groupId>
92 <artifactId>maven-bundle-plugin</artifactId>
93 <version>${bundle.plugin.version}</version>
94 <extensions>true</extensions>
95 <configuration>
96 <instructions>
Takamune Cho8491cc32017-12-19 10:48:02 -060097 <Bundle-SymbolicName>org.onap.sdnc.dg.loader</Bundle-SymbolicName>
98 <Bundle-Activator>org.onap.sdnc.dg.loader.DGLoaderActivator</Bundle-Activator>
99 <Export-Package>org.onap.sdnc.dg.loader</Export-Package>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500100 <Import-Package>*</Import-Package>
101 <DynamicImport-Package>*</DynamicImport-Package>
Hector Anapan-Lavalle7886ffe2017-10-25 18:04:31 -0400102 <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500103 </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>
Takamune Cho8491cc32017-12-19 10:48:02 -0600119 <mainClass>org.onap.sdnc.dg.loader.DGXMLLoadNActivate</mainClass>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500120 </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>
Hector Anapan-Lavalle7886ffe2017-10-25 18:04:31 -0400134 <!-- Adding this plugin to be able to deploy the dg-loader JAR with dependencies to the Nexus Repo.
135 This is needed to be able to run the java cmds in
136 deployment.git/platform-logic/installer/src/main/scripts/install-converted-dgs.sh -->
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-shade-plugin</artifactId>
140 <version>2.0</version>
141 <executions>
142 <execution>
143 <phase>package</phase>
144 <goals>
145 <goal>shade</goal>
146 </goals>
147 <configuration>
148 <filters>
149 <filter>
150 <artifact>*:*</artifact>
151 <excludes>
152 <exclude>META-INF/*.SF</exclude>
153 <exclude>META-INF/*.DSA</exclude>
154 <exclude>META-INF/*.RSA</exclude>
155 </excludes>
156 </filter>
157 </filters>
158 <shadedArtifactAttached>true</shadedArtifactAttached>
159 <shadedClassifierName>jar-with-dependencies</shadedClassifierName>
160 </configuration>
161 </execution>
162 </executions>
163 </plugin>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500164
165 </plugins>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500166 </build>
167</project>