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