Update license header in appc-dispatcher xml files
[appc.git] / appc-dispatcher / appc-command-executor / appc-command-executor-features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2018 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   ============LICENSE_END=========================================================
23   -->
24 <project xmlns="http://maven.apache.org/POM/4.0.0"
25          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <artifactId>appc-command-executor</artifactId>
30         <groupId>org.onap.appc</groupId>
31         <version>1.4.0-SNAPSHOT</version>
32     </parent>
33
34     <name>APPC Command Executor - Features</name>
35     <artifactId>appc-command-executor-features</artifactId>
36     <packaging>jar</packaging>
37
38     <dependencies>
39         <dependency>
40             <groupId>org.onap.appc</groupId>
41             <artifactId>appc-command-executor-api</artifactId>
42             <version>${project.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.onap.appc</groupId>
46             <artifactId>appc-command-executor-core</artifactId>
47             <version>${project.version}</version>
48         </dependency>
49     </dependencies>
50
51     <build>
52         <resources>
53             <resource>
54                 <filtering>true</filtering>
55                 <directory>src/main/resources</directory>
56             </resource>
57         </resources>
58         <plugins>
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-resources-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>filter</id>
65                         <goals>
66                             <goal>resources</goal>
67                         </goals>
68                         <phase>generate-resources</phase>
69                     </execution>
70                 </executions>
71             </plugin>
72             <!--             <plugin> -->
73             <!-- launches the feature test, which validates that your karaf feature
74                 can be installed inside of a karaf container. It doesn't validate that your
75                 functionality works correctly, just that you have all of the dependent bundles
76                 defined correctly. -->
77             <!--                 <groupId>org.apache.maven.plugins</groupId> -->
78             <!--                 <artifactId>maven-surefire-plugin</artifactId> -->
79             <!--                 <version>2.16</version> -->
80             <!--                 <configuration> -->
81             <!--                     <systemPropertyVariables> -->
82             <!--                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
83             <!--                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
84             <!--                         <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
85             <!--                     </systemPropertyVariables> -->
86             <!--                     <dependenciesToScan> -->
87             <!--                         <dependency>org.opendaylight.yangtools:features-test</dependency> -->
88             <!--                     </dependenciesToScan> -->
89             <!--                     <classpathDependencyExcludes> -->
90             <!-- The dependencies which bring in AbstractDataBrokerTest class brings
91                 in a second PaxExam container which results in the feature tests failing
92                 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
93                 TestContainer ..." This excludes the container we don't want to use. -->
94             <!--                         <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> -->
95             <!--                     </classpathDependencyExcludes> -->
96             <!--                 </configuration> -->
97             <!--             </plugin> -->
98             <plugin>
99                 <groupId>org.codehaus.mojo</groupId>
100                 <artifactId>build-helper-maven-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <id>attach-artifacts</id>
104                         <goals>
105                             <goal>attach-artifact</goal>
106                         </goals>
107                         <phase>package</phase>
108                         <configuration>
109                             <artifacts>
110                                 <artifact>
111                                     <file>${project.build.directory}/classes/${features.file}</file>
112                                     <type>xml</type>
113                                     <classifier>features</classifier>
114                                 </artifact>
115                             </artifacts>
116                         </configuration>
117                     </execution>
118                 </executions>
119             </plugin>
120
121             <!-- Skipping ODL feature test -->
122             <plugin>
123                 <groupId>org.apache.maven.plugins</groupId>
124                 <artifactId>maven-surefire-plugin</artifactId>
125                 <configuration>
126                     <skipTests>true</skipTests>
127                 </configuration>
128             </plugin>
129         </plugins>
130     </build>
131 </project>