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