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