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 | ================================================================================ |
John McClung | a802739 | 2018-06-13 15:49:08 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | 574417b | 2017-08-28 22:02:54 -0500 | [diff] [blame] | 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 | |
Skip Wonnell | 574417b | 2017-08-28 22:02:54 -0500 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
| 23 | --> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 24 | <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] | 25 | 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] | 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <parent> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 28 | <groupId>org.onap.appc.plugins</groupId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 29 | <artifactId>dg-loader</artifactId> |
Patrick Brady | 7ee4094 | 2018-10-11 11:09:56 -0700 | [diff] [blame] | 30 | <version>1.4.1-SNAPSHOT</version> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 31 | </parent> |
| 32 | <artifactId>dg-loader-provider</artifactId> |
| 33 | <packaging>bundle</packaging> |
Skip Wonnell | 574417b | 2017-08-28 22:02:54 -0500 | [diff] [blame] | 34 | <name>APPC Directed Graph Loader - Provider</name> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 38 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 39 | <artifactId>sli-provider</artifactId> |
| 40 | <version>${sdnctl.sli.version}</version> |
| 41 | <scope>compile</scope> |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 42 | <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 Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>commons-io</groupId> |
| 55 | <artifactId>commons-io</artifactId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>com.att.eelf</groupId> |
| 59 | <artifactId>eelf-core</artifactId> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 60 | </dependency> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 61 | <dependency> |
| 62 | <groupId>junit</groupId> |
| 63 | <artifactId>junit</artifactId> |
| 64 | <scope>test</scope> |
| 65 | </dependency> |
Hao Kuang | 58a7196 | 2017-09-01 14:11:57 +0000 | [diff] [blame] | 66 | <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) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 74 | <dependency> |
Skip Wonnell | caa5768 | 2017-12-23 00:18:18 -0600 | [diff] [blame] | 75 | <groupId>org.powermock</groupId> |
Chaturvedi, Anand (ac204h) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 76 | <artifactId>powermock-api-mockito</artifactId> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 77 | <version>1.6.4</version> |
Chaturvedi, Anand (ac204h) | 50fdfca | 2017-09-01 15:35:26 -0400 | [diff] [blame] | 78 | <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 Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 86 | </dependencies> |
| 87 | |
| 88 | <build> |
| 89 | <plugins> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 90 | <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 Cho | 8491cc3 | 2017-12-19 10:48:02 -0600 | [diff] [blame] | 97 | <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 Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 100 | <Import-Package>*</Import-Package> |
| 101 | <DynamicImport-Package>*</DynamicImport-Package> |
Hector Anapan-Lavalle | 7886ffe | 2017-10-25 18:04:31 -0400 | [diff] [blame] | 102 | <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Takamune Cho | 8491cc3 | 2017-12-19 10:48:02 -0600 | [diff] [blame] | 119 | <mainClass>org.onap.sdnc.dg.loader.DGXMLLoadNActivate</mainClass> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 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> |
Hector Anapan-Lavalle | 7886ffe | 2017-10-25 18:04:31 -0400 | [diff] [blame] | 134 | <!-- 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 Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 164 | |
| 165 | </plugins> |
Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 166 | </build> |
| 167 | </project> |