blob: d7041f290b63e1f233950a1073630f55cc7c52a0 [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>
6 <groupId>org.openecomp.appc</groupId>
7 <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>
15 <groupId>org.openecomp.appc</groupId>
16 <artifactId>appc-sequence-generator-bundle</artifactId>
17 <version>${project.version}</version>
18 </dependency>
19 <dependency>
20 <groupId>org.openecomp.appc</groupId>
21 <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>
40 <groupId>org.openecomp.appc</groupId>
41 <artifactId>appc-dg-domain-model-lib</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44 <dependency>
45 <groupId>org.openecomp.appc</groupId>
46 <artifactId>appc-dg-dependency-model</artifactId>
47 <version>${project.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>org.openecomp.appc</groupId>
51 <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>