Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [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-license-manager</artifactId> |
| 6 | <groupId>org.openecomp.appc</groupId> |
Patrick Brady | 03682da | 2017-03-10 13:07:19 -0800 | [diff] [blame] | 7 | <version>1.1.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 8 | </parent> |
| 9 | <name>appc-license-manager-features</name> |
| 10 | <artifactId>appc-license-manager-features</artifactId> |
| 11 | |
| 12 | <packaging>jar</packaging> |
| 13 | |
| 14 | <dependencies> |
| 15 | <dependency> |
| 16 | <groupId>org.openecomp.appc</groupId> |
| 17 | <artifactId>appc-license-manager-api</artifactId> |
| 18 | <version>${project.version}</version> |
| 19 | </dependency> |
| 20 | <dependency> |
| 21 | <groupId>org.openecomp.appc</groupId> |
| 22 | <artifactId>appc-license-manager-core</artifactId> |
| 23 | <version>${project.version}</version> |
| 24 | </dependency> |
| 25 | </dependencies> |
| 26 | |
| 27 | <build> |
| 28 | <resources> |
| 29 | <resource> |
| 30 | <filtering>true</filtering> |
| 31 | <directory>src/main/resources</directory> |
| 32 | </resource> |
| 33 | </resources> |
| 34 | <plugins> |
| 35 | <plugin> |
| 36 | <groupId>org.apache.maven.plugins</groupId> |
| 37 | <artifactId>maven-resources-plugin</artifactId> |
| 38 | <executions> |
| 39 | <execution> |
| 40 | <id>filter</id> |
| 41 | <goals> |
| 42 | <goal>resources</goal> |
| 43 | </goals> |
| 44 | <phase>generate-resources</phase> |
| 45 | </execution> |
| 46 | </executions> |
| 47 | </plugin> |
| 48 | <!-- <plugin> --> |
| 49 | <!-- launches the feature test, which validates that your karaf feature |
| 50 | can be installed inside of a karaf container. It doesn't validate that your |
| 51 | functionality works correctly, just that you have all of the dependent bundles |
| 52 | defined correctly. --> |
| 53 | <!-- <groupId>org.apache.maven.plugins</groupId> --> |
| 54 | <!-- <artifactId>maven-surefire-plugin</artifactId> --> |
| 55 | <!-- <version>2.16</version> --> |
| 56 | <!-- <configuration> --> |
| 57 | <!-- <systemPropertyVariables> --> |
| 58 | <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> --> |
| 59 | <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> --> |
| 60 | <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> --> |
| 61 | <!-- </systemPropertyVariables> --> |
| 62 | <!-- <dependenciesToScan> --> |
| 63 | <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> --> |
| 64 | <!-- </dependenciesToScan> --> |
| 65 | <!-- <classpathDependencyExcludes> --> |
| 66 | <!-- The dependencies which bring in AbstractDataBrokerTest class brings |
| 67 | in a second PaxExam container which results in the feature tests failing |
| 68 | with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous |
| 69 | TestContainer ..." This excludes the container we don't want to use. --> |
| 70 | <!-- <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> --> |
| 71 | <!-- </classpathDependencyExcludes> --> |
| 72 | <!-- </configuration> --> |
| 73 | <!-- </plugin> --> |
| 74 | <plugin> |
| 75 | <groupId>org.codehaus.mojo</groupId> |
| 76 | <artifactId>build-helper-maven-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>attach-artifacts</id> |
| 80 | <goals> |
| 81 | <goal>attach-artifact</goal> |
| 82 | </goals> |
| 83 | <phase>package</phase> |
| 84 | <configuration> |
| 85 | <artifacts> |
| 86 | <artifact> |
| 87 | <file>${project.build.directory}/classes/${features.file}</file> |
| 88 | <type>xml</type> |
| 89 | <classifier>features</classifier> |
| 90 | </artifact> |
| 91 | </artifacts> |
| 92 | </configuration> |
| 93 | </execution> |
| 94 | </executions> |
| 95 | </plugin> |
| 96 | |
| 97 | <!-- Skipping ODL feature test --> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-surefire-plugin</artifactId> |
| 101 | <configuration> |
| 102 | <skipTests>true</skipTests> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | </plugins> |
| 106 | </build> |
| 107 | </project> |