Bug 1764 - added karaf settings for os-switch-config-pusher
[openflowplugin.git] / applications / of-switch-config-pusher / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3          xmlns="http://maven.apache.org/POM/4.0.0"
4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.opendaylight.openflowplugin</groupId>
8         <artifactId>applications</artifactId>
9         <version>0.1.0-SNAPSHOT</version>
10     </parent>
11     <groupId>org.opendaylight.openflowplugin.applications</groupId>
12     <artifactId>of-switch-config-pusher</artifactId>
13     <packaging>bundle</packaging>
14     <dependencies>
15         <dependency>
16             <groupId>org.opendaylight.openflowplugin</groupId>
17             <artifactId>openflowplugin-api</artifactId>
18         </dependency>
19         <dependency>
20             <groupId>org.opendaylight.controller</groupId>
21             <artifactId>sal-binding-api</artifactId>
22         </dependency>
23         <dependency>
24             <groupId>org.opendaylight.controller</groupId>
25             <artifactId>sal-binding-broker-impl</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.opendaylight.controller.model</groupId>
29             <artifactId>model-inventory</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.controller.model</groupId>
33             <artifactId>model-flow-service</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.mockito</groupId>
37             <artifactId>mockito-all</artifactId>
38             <scope>test</scope>
39         </dependency>
40         <dependency>
41             <groupId>junit</groupId>
42             <artifactId>junit</artifactId>
43             <scope>test</scope>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.controller.model</groupId>
47             <artifactId>model-flow-service</artifactId>
48         </dependency>
49
50     </dependencies>
51     <build>
52         <plugins>
53             <plugin>
54                 <groupId>org.jacoco</groupId>
55                 <artifactId>jacoco-maven-plugin</artifactId>
56                 <configuration>
57                     <excludes>
58                         <exclude>
59                             ${project.basedir}/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/**/*.java
60                         </exclude>
61                     </excludes>
62                 </configuration>
63             </plugin>
64             <plugin>
65                 <groupId>org.opendaylight.yangtools</groupId>
66                 <artifactId>yang-maven-plugin</artifactId>
67             </plugin>
68             <plugin>
69                 <groupId>org.codehaus.mojo</groupId>
70                 <artifactId>build-helper-maven-plugin</artifactId>
71             </plugin>
72             <plugin>
73                 <groupId>org.apache.felix</groupId>
74                 <artifactId>maven-bundle-plugin</artifactId>
75             </plugin>
76
77             <plugin>
78                 <groupId>org.codehaus.mojo</groupId>
79                 <artifactId>build-helper-maven-plugin</artifactId>
80                 <executions>
81                     <execution>
82                         <id>attach-artifacts</id>
83                         <goals>
84                             <goal>attach-artifact</goal>
85                         </goals>
86                         <phase>package</phase>
87                         <configuration>
88                             <artifacts>
89                                 <artifact>
90                                     <file>${project.build.directory}/classes/initial/70-of-switch-config-pusher.xml</file>
91                                     <type>xml</type>
92                                     <classifier>config</classifier>
93                                 </artifact>
94                             </artifacts>
95                         </configuration>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100     </build>
101 </project>