Merge "Updating features archetype to talk about user-facing features."
[controller.git] / opendaylight / adsal / features / adsal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8     <relativePath>../../../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>features-adsal</artifactId>
11   <version>${sal.version}</version>
12   <packaging>jar</packaging>
13   <name>Features :: AD-SAL Features</name>
14   <description>AD-SAL Features POM</description>
15   <properties>
16     <features.file>features.xml</features.file>
17   </properties>
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.controller</groupId>
21       <artifactId>features-base</artifactId>
22       <classifier>features</classifier>
23       <type>xml</type>
24     </dependency>
25     <!-- test to validate features.xml -->
26     <dependency>
27       <groupId>org.opendaylight.yangtools</groupId>
28       <artifactId>features-test</artifactId>
29     </dependency>
30     <!-- dependency for opendaylight-karaf-empty for use by testing -->
31     <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>opendaylight-karaf-empty</artifactId>
34       <version>1.5.0-SNAPSHOT</version>
35       <type>zip</type>
36     </dependency>
37     <!-- Bundle dependencies -->
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>dummy-console</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>sal.connection</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>sal.connection.implementation</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>sal.implementation</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.controller</groupId>
60       <artifactId>sal.networkconfiguration</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.controller</groupId>
64       <artifactId>sal.networkconfiguration.implementation</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>clustering.services</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>clustering.services-implementation</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>clustering.stub</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>configuration</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.controller</groupId>
84       <artifactId>configuration.implementation</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>logging.bridge</artifactId>
89     </dependency>
90   </dependencies>
91   <build>
92     <resources>
93       <resource>
94         <filtering>true</filtering>
95         <directory>src/main/resources</directory>
96       </resource>
97     </resources>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-resources-plugin</artifactId>
102         <executions>
103           <execution>
104             <id>filter</id>
105             <goals>
106               <goal>resources</goal>
107             </goals>
108             <phase>generate-resources</phase>
109           </execution>
110         </executions>
111       </plugin>
112       <plugin>
113         <groupId>org.codehaus.mojo</groupId>
114         <artifactId>build-helper-maven-plugin</artifactId>
115         <executions>
116           <execution>
117             <id>attach-artifacts</id>
118             <goals>
119               <goal>attach-artifact</goal>
120             </goals>
121             <phase>package</phase>
122             <configuration>
123               <artifacts>
124                 <artifact>
125                   <file>${project.build.directory}/classes/${features.file}</file>
126                   <type>xml</type>
127                   <classifier>features</classifier>
128                 </artifact>
129               </artifacts>
130             </configuration>
131           </execution>
132         </executions>
133       </plugin>
134       <plugin>
135         <groupId>org.apache.maven.plugins</groupId>
136         <artifactId>maven-surefire-plugin</artifactId>
137         <configuration>
138           <systemPropertyVariables>
139             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
140             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
141             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
142           </systemPropertyVariables>
143           <dependenciesToScan>
144            <dependency>org.opendaylight.yangtools:features-test</dependency>
145           </dependenciesToScan>
146         </configuration>
147       </plugin>
148     </plugins>
149   </build>
150 </project>