Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 574417b | 2017-08-28 22:02:54 -0500 | [diff] [blame] | 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 | --> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 25 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <parent> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 29 | <groupId>org.onap.appc.plugins</groupId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 30 | <artifactId>dg-loader</artifactId> |
Jessica Wagantall | 6536799 | 2017-11-16 17:22:13 -0800 | [diff] [blame] | 31 | <version>1.3.0-SNAPSHOT</version> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 32 | </parent> |
| 33 | <artifactId>dg-loader-provider</artifactId> |
| 34 | <packaging>bundle</packaging> |
Skip Wonnell | 574417b | 2017-08-28 22:02:54 -0500 | [diff] [blame] | 35 | <name>APPC Directed Graph Loader - Provider</name> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 39 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 40 | <artifactId>sli-provider</artifactId> |
| 41 | <version>${sdnctl.sli.version}</version> |
| 42 | <scope>compile</scope> |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 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> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>commons-io</groupId> |
| 56 | <artifactId>commons-io</artifactId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>com.att.eelf</groupId> |
| 60 | <artifactId>eelf-core</artifactId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 61 | </dependency> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 62 | <dependency> |
| 63 | <groupId>junit</groupId> |
| 64 | <artifactId>junit</artifactId> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 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> |
Chaturvedi, Anand (ac204h) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 75 | <dependency> |
Skip Wonnell | caa5768 | 2017-12-23 00:18:18 -0600 | [diff] [blame] | 76 | <groupId>org.powermock</groupId> |
Chaturvedi, Anand (ac204h) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 77 | <artifactId>powermock-api-mockito</artifactId> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 78 | <version>1.6.4</version> |
Chaturvedi, Anand (ac204h) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 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 | |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 87 | </dependencies> |
| 88 | |
| 89 | <build> |
| 90 | <plugins> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Takamune Cho | 8491cc3 | 2017-12-19 10:48:02 -0600 | [diff] [blame] | 98 | <Bundle-SymbolicName>org.onap.sdnc.dg.loader</Bundle-SymbolicName> |
| 99 | <Bundle-Activator>org.onap.sdnc.dg.loader.DGLoaderActivator</Bundle-Activator> |
| 100 | <Export-Package>org.onap.sdnc.dg.loader</Export-Package> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 101 | <Import-Package>*</Import-Package> |
| 102 | <DynamicImport-Package>*</DynamicImport-Package> |
Hector Anapan-Lavalle | 7886ffe | 2017-10-25 18:04:31 -0400 | [diff] [blame] | 103 | <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Takamune Cho | 8491cc3 | 2017-12-19 10:48:02 -0600 | [diff] [blame] | 120 | <mainClass>org.onap.sdnc.dg.loader.DGXMLLoadNActivate</mainClass> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Hector Anapan-Lavalle | 7886ffe | 2017-10-25 18:04:31 -0400 | [diff] [blame] | 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> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 194 | <ignore/> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 195 | </action> |
| 196 | </pluginExecution> |
| 197 | </pluginExecutions> |
| 198 | </lifecycleMappingMetadata> |
| 199 | </configuration> |
| 200 | </plugin> |
| 201 | </plugins> |
| 202 | </pluginManagement> |
| 203 | </build> |
| 204 | </project> |