247d8bd324f082f748ba92c64e898477c57797f1
[appc.git] / appc-asdc-listener / appc-asdc-listener-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-asdc-listener</artifactId>
6                 <groupId>org.openecomp.appc</groupId>
7                 <version>1.1.0-SNAPSHOT</version>
8         </parent>
9         <artifactId>appc-asdc-listener-features</artifactId>
10         <name>Event Listener - Features</name>
11
12         <packaging>jar</packaging>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.openecomp.appc</groupId>
17                         <artifactId>appc-asdc-listener-bundle</artifactId>
18                         <version>${project.version}</version>
19                 </dependency>
20
21                 <dependency>
22                         <groupId>commons-lang</groupId>
23                         <artifactId>commons-lang</artifactId>
24                         <scope>compile</scope>
25                 </dependency>
26
27                 <dependency>
28                         <groupId>org.opendaylight.mdsal</groupId>
29                         <artifactId>features-mdsal</artifactId>
30                         <classifier>features</classifier>
31                         <type>xml</type>
32                         <scope>runtime</scope>
33                 </dependency>
34
35                 <dependency>
36                         <groupId>org.opendaylight.yangtools</groupId>
37                         <artifactId>features-yangtools</artifactId>
38                         <classifier>features</classifier>
39                         <type>xml</type>
40                         <scope>runtime</scope>
41                 </dependency>
42         </dependencies>
43
44         <build>
45                 <resources>
46                         <resource>
47                                 <filtering>true</filtering>
48                                 <directory>src/main/resources</directory>
49                         </resource>
50                 </resources>
51                 <plugins>
52                         <plugin>
53                                 <groupId>org.apache.maven.plugins</groupId>
54                                 <artifactId>maven-resources-plugin</artifactId>
55                                 <executions>
56                                         <execution>
57                                                 <id>filter</id>
58                                                 <goals>
59                                                         <goal>resources</goal>
60                                                 </goals>
61                                                 <phase>generate-resources</phase>
62                                         </execution>
63                                 </executions>
64                         </plugin>
65                         <plugin>
66                                 <groupId>org.codehaus.mojo</groupId>
67                                 <artifactId>build-helper-maven-plugin</artifactId>
68                                 <executions>
69                                         <execution>
70                                                 <id>attach-artifacts</id>
71                                                 <goals>
72                                                         <goal>attach-artifact</goal>
73                                                 </goals>
74                                                 <phase>package</phase>
75                                                 <configuration>
76                                                         <artifacts>
77                                                                 <artifact>
78                                                                         <file>${project.build.directory}/classes/${features.file}</file>
79                                                                         <type>xml</type>
80                                                                         <classifier>features</classifier>
81                                                                 </artifact>
82                                                         </artifacts>
83                                                 </configuration>
84                                         </execution>
85                                 </executions>
86                         </plugin>
87                 </plugins>
88         </build>
89 </project>