Skip Wonnell | cf4b15a | 2017-08-15 21:18:04 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <groupId>org.openecomp.appc.plugins</groupId> |
| 7 | <artifactId>dg-loader</artifactId> |
| 8 | <version>1.1.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | <artifactId>dg-loader-features</artifactId> |
| 11 | <name>Directed Graph Loader - Features</name> |
| 12 | |
| 13 | <packaging>jar</packaging> |
| 14 | |
| 15 | <dependencies> |
| 16 | <dependency> |
| 17 | <groupId>org.openecomp.appc.plugins</groupId> |
| 18 | <artifactId>dg-loader-provider</artifactId> |
| 19 | <version>${project.version}</version> |
| 20 | </dependency> |
| 21 | |
| 22 | <dependency> |
| 23 | <groupId>commons-lang</groupId> |
| 24 | <artifactId>commons-lang</artifactId> |
| 25 | <version>2.6</version> |
| 26 | <scope>compile</scope> |
| 27 | </dependency> |
| 28 | |
| 29 | <dependency> |
| 30 | <groupId>org.opendaylight.mdsal</groupId> |
| 31 | <artifactId>features-mdsal</artifactId> |
| 32 | <version>${odl.mdsal.version}</version> |
| 33 | <classifier>features</classifier> |
| 34 | <type>xml</type> |
| 35 | |
| 36 | <scope>runtime</scope> |
| 37 | </dependency> |
| 38 | |
| 39 | |
| 40 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 41 | <dependency> |
| 42 | <groupId>org.opendaylight.controller</groupId> |
| 43 | <artifactId>opendaylight-karaf-empty</artifactId> |
| 44 | <version>${odl.karaf.empty.distro.version}</version> |
| 45 | <type>zip</type> |
| 46 | </dependency> |
| 47 | |
| 48 | |
| 49 | <dependency> |
| 50 | <!-- Required for launching the feature tests --> |
| 51 | <groupId>org.opendaylight.odlparent</groupId> |
| 52 | <artifactId>features-test</artifactId> |
| 53 | <version>${odl.commons.opendaylight.version}</version> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | |
| 57 | </dependencies> |
| 58 | |
| 59 | <build> |
| 60 | <resources> |
| 61 | <resource> |
| 62 | <filtering>true</filtering> |
| 63 | <directory>src/main/resources</directory> |
| 64 | </resource> |
| 65 | </resources> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
| 69 | <artifactId>maven-resources-plugin</artifactId> |
| 70 | <executions> |
| 71 | <execution> |
| 72 | <id>filter</id> |
| 73 | <goals> |
| 74 | <goal>resources</goal> |
| 75 | </goals> |
| 76 | <phase>generate-resources</phase> |
| 77 | </execution> |
| 78 | </executions> |
| 79 | </plugin> |
| 80 | <plugin> |
| 81 | <groupId>org.codehaus.mojo</groupId> |
| 82 | <artifactId>build-helper-maven-plugin</artifactId> |
| 83 | <executions> |
| 84 | <execution> |
| 85 | <id>attach-artifacts</id> |
| 86 | <goals> |
| 87 | <goal>attach-artifact</goal> |
| 88 | </goals> |
| 89 | <phase>package</phase> |
| 90 | <configuration> |
| 91 | <artifacts> |
| 92 | <artifact> |
| 93 | <file>${project.build.directory}/classes/${features.file}</file> |
| 94 | <type>xml</type> |
| 95 | <classifier>features</classifier> |
| 96 | </artifact> |
| 97 | </artifacts> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
| 102 | </plugins> |
| 103 | </build> |
| 104 | </project> |