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