blob: 5e27242ead7b13fcf134ddba545af067b4fb3958 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?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-workflow-management</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -08006 <groupId>org.onap.appc</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -08007 <version>1.3.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -08008 </parent>
9 <name>appc-workflow-management-features</name>
10 <artifactId>appc-workflow-management-features</artifactId>
11
12 <packaging>jar</packaging>
13
14 <dependencies>
15 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080016 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080017 <artifactId>appc-workflow-management-api</artifactId>
18 <version>${project.version}</version>
19 </dependency>
20 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080021 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080022 <artifactId>appc-workflow-management-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 &lt;!&ndash; 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. &ndash;&gt;
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 &lt;!&ndash; The dependencies which bring in AbstractDataBrokerTest class
67 brings 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. &ndash;&gt;
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>