Merge "Add type of transaction being created to log message"
[controller.git] / 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.4.2-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.4.2-SNAPSHOT</version>
35       <type>zip</type>
36     </dependency>
37   </dependencies>
38   <build>
39     <resources>
40       <resource>
41         <filtering>true</filtering>
42         <directory>src/main/resources</directory>
43       </resource>
44     </resources>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-resources-plugin</artifactId>
49         <executions>
50           <execution>
51             <id>filter</id>
52             <goals>
53               <goal>resources</goal>
54             </goals>
55             <phase>generate-resources</phase>
56           </execution>
57         </executions>
58       </plugin>
59       <plugin>
60         <groupId>org.codehaus.mojo</groupId>
61         <artifactId>build-helper-maven-plugin</artifactId>
62         <executions>
63           <execution>
64             <id>attach-artifacts</id>
65             <goals>
66               <goal>attach-artifact</goal>
67             </goals>
68             <phase>package</phase>
69             <configuration>
70               <artifacts>
71                 <artifact>
72                   <file>${project.build.directory}/classes/${features.file}</file>
73                   <type>xml</type>
74                   <classifier>features</classifier>
75                 </artifact>
76               </artifacts>
77             </configuration>
78           </execution>
79         </executions>
80       </plugin>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-surefire-plugin</artifactId>
84         <configuration>
85           <systemPropertyVariables>
86             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
87             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
88             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
89           </systemPropertyVariables>
90           <dependenciesToScan>
91            <dependency>org.opendaylight.yangtools:features-test</dependency>
92           </dependenciesToScan>
93         </configuration>
94       </plugin>
95     </plugins>
96   </build>
97 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.