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