Initial commit for appc-flow-controller bundle
[appc.git] / appc-config / appc-flow-controller / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.openecomp.appc</groupId>
7         <artifactId>appc-config-flow-controller</artifactId>
8         <version>1.1.0-SNAPSHOT</version>
9     </parent>
10     <artifactId>appc-config-flow-controller-features</artifactId>
11     <name>Flow Executor - Features</name>
12     <packaging>jar</packaging>
13
14     <dependencies>
15         <dependency>
16             <groupId>org.openecomp.appc</groupId>
17             <artifactId>appc-config-flow-controller-provider</artifactId>
18             <version>${project.version}</version>
19         </dependency>
20
21         <dependency>
22             <groupId>commons-lang</groupId>
23             <artifactId>commons-lang</artifactId>
24             <version>2.6</version>
25             <scope>compile</scope>
26         </dependency>
27
28         <dependency>
29             <groupId>org.opendaylight.mdsal</groupId>
30             <artifactId>features-mdsal</artifactId>
31             <version>${odl.mdsal.version}</version>
32             <classifier>features</classifier>
33             <type>xml</type>
34
35             <scope>runtime</scope>
36         </dependency>
37
38
39         <!-- dependency for opendaylight-karaf-empty for use by testing -->
40         <dependency>
41             <groupId>org.opendaylight.controller</groupId>
42             <artifactId>opendaylight-karaf-empty</artifactId>
43             <version>${odl.karaf.empty.distro.version}</version>
44             <type>zip</type>
45         </dependency>
46
47
48         <dependency>
49             <!-- Required for launching the feature tests -->
50             <groupId>org.opendaylight.odlparent</groupId>
51             <artifactId>features-test</artifactId>
52             <version>${odl.commons.opendaylight.version}</version>
53             <scope>test</scope>
54         </dependency>
55
56     </dependencies>
57
58     <build>
59         <resources>
60             <resource>
61                 <filtering>true</filtering>
62                 <directory>src/main/resources</directory>
63             </resource>
64         </resources>
65         <plugins>
66             <plugin>
67                 <groupId>org.apache.maven.plugins</groupId>
68                 <artifactId>maven-resources-plugin</artifactId>
69                 <executions>
70                     <execution>
71                         <id>filter</id>
72                         <goals>
73                             <goal>resources</goal>
74                         </goals>
75                         <phase>generate-resources</phase>
76                     </execution>
77                 </executions>
78             </plugin>
79             <plugin>
80                 <groupId>org.codehaus.mojo</groupId>
81                 <artifactId>build-helper-maven-plugin</artifactId>
82                 <executions>
83                     <execution>
84                         <id>attach-artifacts</id>
85                         <goals>
86                             <goal>attach-artifact</goal>
87                         </goals>
88                         <phase>package</phase>
89                         <configuration>
90                             <artifacts>
91                                 <artifact>
92                                     <file>${project.build.directory}/classes/${features.file}</file>
93                                     <type>xml</type>
94                                     <classifier>features</classifier>
95                                 </artifact>
96                             </artifacts>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101         </plugins>
102     </build>
103 </project>