Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.sdnc.northbound</groupId> |
| 7 | <artifactId>generic-resource-api</artifactId> |
| 8 | <version>1.2.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <artifactId>generic-resource-api.features</artifactId> |
| 12 | <packaging>jar</packaging> |
| 13 | |
| 14 | <dependencies> |
| 15 | <dependency> |
| 16 | <groupId>org.onap.sdnc.northbound</groupId> |
| 17 | <artifactId>generic-resource-api.model</artifactId> |
| 18 | </dependency> |
| 19 | <dependency> |
| 20 | <groupId>org.onap.sdnc.northbound</groupId> |
| 21 | <artifactId>generic-resource-api.provider</artifactId> |
| 22 | <type>xml</type> |
| 23 | <classifier>config</classifier> |
| 24 | </dependency> |
| 25 | <dependency> |
| 26 | <groupId>org.onap.sdnc.northbound</groupId> |
| 27 | <artifactId>generic-resource-api.provider</artifactId> |
| 28 | </dependency> |
| 29 | |
| 30 | <dependency> |
| 31 | <groupId>org.opendaylight.mdsal</groupId> |
| 32 | <artifactId>features-mdsal</artifactId> |
| 33 | <version>${odl.mdsal.features.version}</version> |
| 34 | <type>xml</type> |
| 35 | <classifier>features</classifier> |
| 36 | <scope>runtime</scope> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency><!-- Required for launching the feature tests--> |
| 40 | <groupId>org.opendaylight.odlparent</groupId> |
| 41 | <artifactId>features-test</artifactId> |
| 42 | <version>${odl.commons.opendaylight.version}</version> |
| 43 | <scope>test</scope> |
| 44 | </dependency> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>org.opendaylight.yangtools</groupId> |
| 48 | <artifactId>features-yangtools</artifactId> |
| 49 | <version>${odl.yangtools.version}</version> |
| 50 | <type>xml</type> |
| 51 | <classifier>features</classifier> |
| 52 | <scope>runtime</scope> |
| 53 | </dependency> |
| 54 | </dependencies> |
| 55 | |
| 56 | <build> |
| 57 | <resources> |
| 58 | <resource> |
| 59 | <filtering>true</filtering> |
| 60 | <directory>src/main/resources</directory> |
| 61 | </resource> |
| 62 | </resources> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <groupId>org.apache.maven.plugins</groupId> |
| 66 | <artifactId>maven-resources-plugin</artifactId> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <id>filter</id> |
| 70 | <goals> |
| 71 | <goal>resources</goal> |
| 72 | </goals> |
| 73 | <phase>generate-resources</phase> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <groupId>org.codehaus.mojo</groupId> |
| 79 | <artifactId>build-helper-maven-plugin</artifactId> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>attach-artifacts</id> |
| 83 | <goals> |
| 84 | <goal>attach-artifact</goal> |
| 85 | </goals> |
| 86 | <phase>package</phase> |
| 87 | <configuration> |
| 88 | <artifacts> |
| 89 | <artifact> |
| 90 | <file>${project.build.directory}/classes/${features.file}</file> |
| 91 | <type>xml</type> |
| 92 | <classifier>features</classifier> |
| 93 | </artifact> |
| 94 | </artifacts> |
| 95 | </configuration> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
| 99 | </plugins> |
| 100 | </build> |
| 101 | </project> |