blob: b590bfa70a4586b52bec443d553f7a4a163cd412 [file] [log] [blame]
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +05301<?xml version="1.0"?>
2<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
Patrick Brady07567592017-12-13 11:09:30 -08006 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +05307 <artifactId>appc-sequence-generator</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -08008 <version>1.3.0-SNAPSHOT</version>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +05309 </parent>
10 <artifactId>appc-sequence-generator-features</artifactId>
11 <name>Application Controller Sequence Generator Features</name>
12
13 <dependencies>
14 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080015 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053016 <artifactId>appc-sequence-generator-bundle</artifactId>
17 <version>${project.version}</version>
18 </dependency>
19 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080020 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053021 <artifactId>appc-sequence-generator-model</artifactId>
22 <version>${project.version}</version>
23 </dependency>
24 <dependency>
25 <groupId>org.opendaylight.mdsal</groupId>
26 <artifactId>features-mdsal</artifactId>
27 <classifier>features</classifier>
28 <type>xml</type>
29
30 <scope>runtime</scope>
31 </dependency>
32 <dependency>
33 <groupId>org.opendaylight.yangtools</groupId>
34 <artifactId>features-yangtools</artifactId>
35 <classifier>features</classifier>
36 <type>xml</type>
37 <scope>runtime</scope>
38 </dependency>
39 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080040 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053041 <artifactId>appc-dg-domain-model-lib</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080045 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053046 <artifactId>appc-dg-dependency-model</artifactId>
47 <version>${project.version}</version>
48 </dependency>
49 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080050 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053051 <artifactId>appc-common</artifactId>
52 <version>${project.version}</version>
53 </dependency>
54 </dependencies>
55
56 <build>
57 <resources>
58 <resource>
59 <filtering>true</filtering>
60 <directory>src/main/resources</directory>
61 </resource>
62 </resources>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-resources-plugin</artifactId>
67 <executions>
68 <execution>
69 <id>filter</id>
70 <goals>
71 <goal>resources</goal>
72 </goals>
73 <phase>generate-resources</phase>
74 </execution>
75 </executions>
76 </plugin>
77 <!--<plugin>
78 &lt;!&ndash; launches the feature test, which validates that your karaf feature
79 can be installed inside of a karaf container. It doesn't validate that your
80 functionality works correctly, just that you have all of the dependent bundles
81 defined correctly. &ndash;&gt;
82 &lt;!&ndash; Skipping ODL feature test &ndash;&gt;
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-surefire-plugin</artifactId>
85 <version>2.16</version>
86 <configuration>
87 <systemPropertyVariables>
88 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
89 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
90 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
91 </systemPropertyVariables>
92 <dependenciesToScan>
93 <dependency>org.opendaylight.yangtools:features-test</dependency>
94 </dependenciesToScan>
95 <classpathDependencyExcludes>
96 &lt;!&ndash; The dependencies which bring in AbstractDataBrokerTest class brings
97 in a second PaxExam container which results in the feature tests failing
98 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
99 TestContainer ..." This excludes the container we don't want to use. &ndash;&gt;
100 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
101 </classpathDependencyExcludes>
102 <skipTests>true</skipTests>
103 </configuration>
104 </plugin>-->
105 <plugin>
106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>build-helper-maven-plugin</artifactId>
108 <executions>
109 <execution>
110 <id>attach-artifacts</id>
111 <goals>
112 <goal>attach-artifact</goal>
113 </goals>
114 <phase>package</phase>
115 <configuration>
116 <artifacts>
117 <artifact>
118 <file>${project.build.directory}/classes/${features.file}</file>
119 <type>xml</type>
120 <classifier>features</classifier>
121 </artifact>
122 </artifacts>
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
127 </plugins>
128 </build>
129</project>