Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -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 | <artifactId>appc-artifact-handler</artifactId> |
| 7 | <groupId>org.openecomp.appc</groupId> |
| 8 | <version>1.1.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | <artifactId>appc-artifact-handler-features</artifactId> |
| 11 | <packaging>jar</packaging> |
| 12 | |
| 13 | <dependencies> |
| 14 | <dependency> |
| 15 | <groupId>org.openecomp.appc</groupId> |
| 16 | <artifactId>appc-artifact-handler-model</artifactId> |
| 17 | </dependency> |
| 18 | <dependency> |
| 19 | <groupId>org.openecomp.appc</groupId> |
| 20 | <artifactId>appc-artifact-handler-provider</artifactId> |
| 21 | <classifier>config</classifier> |
| 22 | <type>xml</type> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>org.opendaylight.mdsal</groupId> |
| 26 | <artifactId>features-mdsal</artifactId> |
| 27 | <classifier>features</classifier> |
| 28 | <type>xml</type> |
| 29 | <scope>runtime</scope> |
| 30 | </dependency> |
| 31 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 32 | <dependency> |
| 33 | <groupId>org.opendaylight.controller</groupId> |
| 34 | <artifactId>opendaylight-karaf-empty</artifactId> |
| 35 | <type>zip</type> |
| 36 | </dependency> |
| 37 | |
| 38 | <dependency> |
| 39 | <!-- Required for launching the feature tests --> |
| 40 | <groupId>org.opendaylight.odlparent</groupId> |
| 41 | <artifactId>features-test</artifactId> |
| 42 | <scope>test</scope> |
| 43 | <version>${odl.commons.opendaylight.version}</version> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.opendaylight.yangtools</groupId> |
| 47 | <artifactId>features-yangtools</artifactId> |
| 48 | <classifier>features</classifier> |
| 49 | <type>xml</type> |
| 50 | <scope>runtime</scope> |
| 51 | </dependency> |
| 52 | </dependencies> |
| 53 | |
| 54 | <build> |
| 55 | <resources> |
| 56 | <resource> |
| 57 | <filtering>true</filtering> |
| 58 | <directory>src/main/resources</directory> |
| 59 | </resource> |
| 60 | </resources> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.maven.plugins</groupId> |
| 64 | <artifactId>maven-resources-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>filter</id> |
| 68 | <goals> |
| 69 | <goal>resources</goal> |
| 70 | </goals> |
| 71 | <phase>generate-resources</phase> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | </plugin> |
| 75 | <plugin> |
| 76 | <groupId>org.codehaus.mojo</groupId> |
| 77 | <artifactId>build-helper-maven-plugin</artifactId> |
| 78 | <executions> |
| 79 | <execution> |
| 80 | <id>attach-artifacts</id> |
| 81 | <goals> |
| 82 | <goal>attach-artifact</goal> |
| 83 | </goals> |
| 84 | <phase>package</phase> |
| 85 | <configuration> |
| 86 | <artifacts> |
| 87 | <artifact> |
| 88 | <file>${project.build.directory}/classes/${features.file}</file> |
| 89 | <type>xml</type> |
| 90 | <classifier>features</classifier> |
| 91 | </artifact> |
| 92 | </artifacts> |
| 93 | </configuration> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | </plugins> |
| 98 | </build> |
| 99 | </project> |