Increment version for new branch
[appc.git] / appc-sequence-generator / appc-sequence-generator-features / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  ============LICENSE_START=======================================================
4  ONAP : APPC
5  ================================================================================
6  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7  ================================================================================
8  Copyright (C) 2017 Amdocs
9  =============================================================================
10  Licensed under the Apache License, Version 2.0 (the "License");
11  you may not use this file except in compliance with the License.
12  You may obtain a copy of the License at
13
14       http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21
22  ECOMP is a trademark and service mark of AT&T Intellectual Property.
23  ============LICENSE_END=========================================================
24 -->
25 <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"
26     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27   <modelVersion>4.0.0</modelVersion>
28   <parent>
29     <groupId>org.onap.appc</groupId>
30     <artifactId>appc-sequence-generator</artifactId>
31     <version>1.4.0-SNAPSHOT</version>
32   </parent>
33   <artifactId>appc-sequence-generator-features</artifactId>
34   <name>Application Controller Sequence Generator Features</name>
35
36   <dependencies>
37     <dependency>
38       <groupId>org.onap.appc</groupId>
39       <artifactId>appc-sequence-generator-bundle</artifactId>
40       <version>${project.version}</version>
41     </dependency>
42     <dependency>
43       <groupId>org.onap.appc</groupId>
44       <artifactId>appc-sequence-generator-model</artifactId>
45       <version>${project.version}</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.mdsal</groupId>
49       <artifactId>features-mdsal</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52
53       <scope>runtime</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>features-yangtools</artifactId>
58       <classifier>features</classifier>
59       <type>xml</type>
60       <scope>runtime</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.onap.appc</groupId>
64       <artifactId>appc-dg-domain-model-lib</artifactId>
65       <version>${project.version}</version>
66     </dependency>
67     <dependency>
68       <groupId>org.onap.appc</groupId>
69       <artifactId>appc-dg-dependency-model</artifactId>
70       <version>${project.version}</version>
71     </dependency>
72     <dependency>
73       <groupId>org.onap.appc</groupId>
74       <artifactId>appc-common</artifactId>
75       <version>${project.version}</version>
76     </dependency>
77   </dependencies>
78
79   <build>
80     <resources>
81       <resource>
82         <filtering>true</filtering>
83         <directory>src/main/resources</directory>
84       </resource>
85     </resources>
86     <plugins>
87       <plugin>
88         <groupId>org.apache.maven.plugins</groupId>
89         <artifactId>maven-resources-plugin</artifactId>
90         <executions>
91           <execution>
92             <id>filter</id>
93             <goals>
94               <goal>resources</goal>
95             </goals>
96             <phase>generate-resources</phase>
97           </execution>
98         </executions>
99       </plugin>
100       <!--<plugin>
101         &lt;!&ndash; launches the feature test, which validates that your karaf feature
102             can be installed inside of a karaf container. It doesn't validate that your
103             functionality works correctly, just that you have all of the dependent bundles
104             defined correctly. &ndash;&gt;
105         &lt;!&ndash; Skipping ODL feature test &ndash;&gt;
106         <groupId>org.apache.maven.plugins</groupId>
107         <artifactId>maven-surefire-plugin</artifactId>
108         <version>2.16</version>
109         <configuration>
110           <systemPropertyVariables>
111             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
112             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
113             <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
114           </systemPropertyVariables>
115           <dependenciesToScan>
116             <dependency>org.opendaylight.yangtools:features-test</dependency>
117           </dependenciesToScan>
118           <classpathDependencyExcludes>
119             &lt;!&ndash; The dependencies which bring in AbstractDataBrokerTest class brings
120                 in a second PaxExam container which results in the feature tests failing
121                 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
122                 TestContainer ..." This excludes the container we don't want to use. &ndash;&gt;
123             <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
124           </classpathDependencyExcludes>
125           <skipTests>true</skipTests>
126         </configuration>
127       </plugin>-->
128       <plugin>
129         <groupId>org.codehaus.mojo</groupId>
130         <artifactId>build-helper-maven-plugin</artifactId>
131         <executions>
132           <execution>
133             <id>attach-artifacts</id>
134             <goals>
135               <goal>attach-artifact</goal>
136             </goals>
137             <phase>package</phase>
138             <configuration>
139               <artifacts>
140                 <artifact>
141                   <file>${project.build.directory}/classes/${features.file}</file>
142                   <type>xml</type>
143                   <classifier>features</classifier>
144                 </artifact>
145               </artifacts>
146             </configuration>
147           </execution>
148         </executions>
149       </plugin>
150     </plugins>
151   </build>
152 </project>