First part of onap rename
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-features / pom.xml
1 <?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-dmaap-adapter</artifactId>
6                 <groupId>org.onap.appc</groupId>
7                 <version>1.3.0-SNAPSHOT</version>
8         </parent>
9         <artifactId>appc-dmaap-adapter-features</artifactId>
10         <name>DMaaP Adapter - Features</name>
11
12         <packaging>jar</packaging>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.onap.appc</groupId>
17                         <artifactId>appc-dmaap-adapter-bundle</artifactId>
18                         <version>${project.version}</version>
19                 </dependency>
20
21                 <dependency>
22                         <groupId>org.onap.appc</groupId>
23                         <artifactId>appc-message-adapter-factory</artifactId>
24                         <version>${project.version}</version>
25                 </dependency>
26
27                 <dependency>
28                         <groupId>commons-lang</groupId>
29                         <artifactId>commons-lang</artifactId>
30                         <scope>compile</scope>
31                 </dependency>
32
33                 <dependency>
34                         <groupId>org.opendaylight.mdsal</groupId>
35                         <artifactId>features-mdsal</artifactId>
36                         <classifier>features</classifier>
37                         <type>xml</type>
38                         <scope>runtime</scope>
39                 </dependency>
40
41                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
42 <!--            <dependency> -->
43 <!--                    <groupId>org.opendaylight.controller</groupId> -->
44 <!--                    <artifactId>opendaylight-karaf-empty</artifactId> -->
45 <!--                    <type>zip</type> -->
46 <!--            </dependency> -->
47
48 <!--            <dependency> -->
49                         <!-- Required for launching the feature tests -->
50 <!--                    <groupId>org.opendaylight.yangtools</groupId> -->
51 <!--                    <artifactId>features-test</artifactId> -->
52 <!--                    <scope>test</scope> -->
53 <!--            </dependency> -->
54
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         </dependencies>
63
64         <build>
65                 <resources>
66                         <resource>
67                                 <filtering>true</filtering>
68                                 <directory>src/main/resources</directory>
69                         </resource>
70                 </resources>
71                 <plugins>
72                         <plugin>
73                                 <groupId>org.apache.maven.plugins</groupId>
74                                 <artifactId>maven-resources-plugin</artifactId>
75                                 <executions>
76                                         <execution>
77                                                 <id>filter</id>
78                                                 <goals>
79                                                         <goal>resources</goal>
80                                                 </goals>
81                                                 <phase>generate-resources</phase>
82                                         </execution>
83                                 </executions>
84                         </plugin>
85                         <!-- launches the feature test, which validates that your karaf feature 
86                                 can be installed inside of a karaf container. It doesn't validate that your 
87                                 functionality works correctly, just that you have all of the dependent bundles 
88                                 defined correctly. -->
89                         <!-- <plugin> -->
90                         <!-- <groupId>org.apache.maven.plugins</groupId> -->
91                         <!-- <artifactId>maven-surefire-plugin</artifactId> -->
92                         <!-- <version>2.16</version> -->
93                         <!-- <configuration> -->
94                         <!-- <systemPropertyVariables> -->
95                         <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
96                         <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
97                         <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
98                         <!-- </systemPropertyVariables> -->
99                         <!-- <dependenciesToScan> -->
100                         <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
101                         <!-- </dependenciesToScan> -->
102                         <!-- </configuration> -->
103                         <!-- </plugin> -->
104                         <plugin>
105                                 <groupId>org.codehaus.mojo</groupId>
106                                 <artifactId>build-helper-maven-plugin</artifactId>
107                                 <executions>
108                                         <execution>
109                                                 <id>attach-artifacts</id>
110                                                 <goals>
111                                                         <goal>attach-artifact</goal>
112                                                 </goals>
113                                                 <phase>package</phase>
114                                                 <configuration>
115                                                         <artifacts>
116                                                                 <artifact>
117                                                                         <file>${project.build.directory}/classes/${features.file}</file>
118                                                                         <type>xml</type>
119                                                                         <classifier>features</classifier>
120                                                                 </artifact>
121                                                         </artifacts>
122                                                 </configuration>
123                                         </execution>
124                                 </executions>
125                         </plugin>
126                 </plugins>
127         </build>
128 </project>