Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
| 5 | <artifactId>vnfapi</artifactId> |
| 6 | <groupId>org.onap.sdnc.northbound</groupId> |
Jessica Wagantall | 1240ccf | 2017-11-20 11:04:57 -0800 | [diff] [blame] | 7 | <version>1.3.0-SNAPSHOT</version> |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 8 | </parent> |
| 9 | <artifactId>vnfapi-features</artifactId> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 10 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 11 | <packaging>jar</packaging> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 12 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 13 | <dependencies> |
| 14 | <dependency> |
| 15 | <groupId>org.onap.sdnc.northbound</groupId> |
| 16 | <artifactId>vnfapi-model</artifactId> |
| 17 | <version>${project.version}</version> |
| 18 | </dependency> |
Dan Timoney | dd3f740 | 2017-10-12 16:01:06 -0400 | [diff] [blame] | 19 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 20 | <dependency> |
| 21 | <groupId>org.onap.sdnc.northbound</groupId> |
| 22 | <artifactId>vnfapi-provider</artifactId> |
| 23 | <version>${project.version}</version> |
| 24 | </dependency> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 25 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 26 | <dependency> |
| 27 | <groupId>org.opendaylight.mdsal</groupId> |
| 28 | <artifactId>features-mdsal</artifactId> |
| 29 | <version>${odl.mdsal.features.version}</version> |
| 30 | <classifier>features</classifier> |
| 31 | <type>xml</type> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 32 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 33 | <scope>runtime</scope> |
| 34 | </dependency> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 35 | |
| 36 | |
| 37 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 38 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 39 | <dependency> |
| 40 | <groupId>org.opendaylight.controller</groupId> |
| 41 | <artifactId>opendaylight-karaf-empty</artifactId> |
| 42 | <version>${odl.karaf.empty.distro.version}</version> |
| 43 | <type>zip</type> |
| 44 | </dependency> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 45 | |
| 46 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 47 | <dependency> |
| 48 | <!-- Required for launching the feature tests--> |
| 49 | <groupId>org.opendaylight.odlparent</groupId> |
| 50 | <artifactId>features-test</artifactId> |
| 51 | <scope>test</scope> |
| 52 | <version>${odl.commons.opendaylight.version}</version> |
| 53 | </dependency> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 54 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 55 | <dependency> |
| 56 | <groupId>org.opendaylight.yangtools</groupId> |
| 57 | <artifactId>features-yangtools</artifactId> |
| 58 | <version>${odl.yangtools.version}</version> |
| 59 | <classifier>features</classifier> |
| 60 | <type>xml</type> |
| 61 | <scope>runtime</scope> |
| 62 | </dependency> |
| 63 | </dependencies> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 64 | |
Marcus G K Williams | eb2d402 | 2017-08-30 19:32:32 -0700 | [diff] [blame] | 65 | <build> |
| 66 | <resources> |
| 67 | <resource> |
| 68 | <filtering>true</filtering> |
| 69 | <directory>src/main/resources</directory> |
| 70 | </resource> |
| 71 | </resources> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>org.apache.maven.plugins</groupId> |
| 75 | <artifactId>maven-resources-plugin</artifactId> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>filter</id> |
| 79 | <goals> |
| 80 | <goal>resources</goal> |
| 81 | </goals> |
| 82 | <phase>generate-resources</phase> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | </plugin> |
| 86 | <!-- |
| 87 | <plugin> |
| 88 | launches the feature test, which validates that your karaf feature can |
| 89 | be installed inside of a karaf container. It doesn't validate that your |
| 90 | functionality works correctly, just that you have all of the dependent |
| 91 | bundles defined correctly. |
| 92 | <groupId>org.apache.maven.plugins</groupId> |
| 93 | <artifactId>maven-surefire-plugin</artifactId> |
| 94 | <version>2.16</version> |
| 95 | <configuration> |
| 96 | <systemPropertyVariables> |
| 97 | <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> |
| 98 | <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> |
| 99 | <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> |
| 100 | </systemPropertyVariables> |
| 101 | <dependenciesToScan> |
| 102 | <dependency>org.opendaylight.yangtools:features-test</dependency> |
| 103 | </dependenciesToScan> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | --> |
| 107 | <plugin> |
| 108 | <groupId>org.codehaus.mojo</groupId> |
| 109 | <artifactId>build-helper-maven-plugin</artifactId> |
| 110 | <executions> |
| 111 | <execution> |
| 112 | <id>attach-artifacts</id> |
| 113 | <goals> |
| 114 | <goal>attach-artifact</goal> |
| 115 | </goals> |
| 116 | <phase>package</phase> |
| 117 | <configuration> |
| 118 | <artifacts> |
| 119 | <artifact> |
| 120 | <file>${project.build.directory}/classes/${features.file}</file> |
| 121 | <type>xml</type> |
| 122 | <classifier>features</classifier> |
| 123 | </artifact> |
| 124 | </artifacts> |
| 125 | </configuration> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
| 129 | </plugins> |
| 130 | </build> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 131 | </project> |