10d085b82e9a6964b7ec74d00a6242f591d19338
[openflowplugin.git] / applications / lldp-speaker / 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>lldp-speaker</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</groupId>
29             <artifactId>sal-binding-broker-impl</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.controller.model</groupId>
33             <artifactId>model-inventory</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.controller.model</groupId>
37             <artifactId>model-flow-service</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.controller</groupId>
41             <artifactId>config-api</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.controller</groupId>
45             <artifactId>liblldp</artifactId>
46         </dependency>
47
48         <!-- Test dependencies -->
49         <dependency>
50             <groupId>org.mockito</groupId>
51             <artifactId>mockito-all</artifactId>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit</artifactId>
57             <scope>test</scope>
58         </dependency>
59     </dependencies>
60
61     <build>
62         <plugins>
63             <plugin>
64                 <groupId>org.jacoco</groupId>
65                 <artifactId>jacoco-maven-plugin</artifactId>
66                 <configuration>
67                     <excludes>
68                         <exclude>
69                             ${project.basedir}/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/**/*.java
70                         </exclude>
71                     </excludes>
72                 </configuration>
73             </plugin>
74
75             <plugin>
76                 <groupId>org.opendaylight.yangtools</groupId>
77                 <artifactId>yang-maven-plugin</artifactId>
78             </plugin>
79
80             <plugin>
81                 <groupId>org.codehaus.mojo</groupId>
82                 <artifactId>build-helper-maven-plugin</artifactId>
83                 <executions>
84                     <execution>
85                         <id>attach-artifacts</id>
86                         <goals>
87                             <goal>attach-artifact</goal>
88                         </goals>
89                         <phase>package</phase>
90                         <configuration>
91                             <artifacts>
92                                 <artifact>
93                                     <file>${project.build.directory}/classes/initial/71-lldp-speaker.xml</file>
94                                     <type>xml</type>
95                                     <classifier>config</classifier>
96                                 </artifact>
97                             </artifacts>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102         </plugins>
103     </build>
104 </project>