Fixup some warnings
[bgpcep.git] / bgp / update-mock-config / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <parent>
6         <groupId>org.opendaylight.bgpcep</groupId>
7         <artifactId>bgp-parent</artifactId>
8         <version>0.3.0-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>bgp-update-mock-config</artifactId>
12     <description>BGP UPDATE MOCK CONFIG</description>
13     <packaging>bundle</packaging>
14     <name>${project.artifactId}</name>
15     <prerequisites>
16         <maven>3.0.4</maven>
17     </prerequisites>
18
19     <dependencies>
20         <dependency>
21             <groupId>junit</groupId>
22             <artifactId>junit</artifactId>
23         </dependency>
24         <dependency>
25             <groupId>org.opendaylight.controller</groupId>
26             <artifactId>config-api</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>bgp-update-api-config</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>org.opendaylight.controller</groupId>
34             <artifactId>threadpool-config-api</artifactId>
35             <version>${controller.config.version}</version>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>bgp-rib-mock</artifactId>
40         </dependency>
41
42         <!--test dependencies -->
43         <dependency>
44             <groupId>org.opendaylight.controller</groupId>
45             <artifactId>config-manager</artifactId>
46             <version>${controller.config.version}</version>
47             <scope>test</scope>
48             <type>test-jar</type>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>config-manager</artifactId>
53             <version>${controller.config.version}</version>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.controller</groupId>
58             <artifactId>config-util</artifactId>
59             <version>${controller.config.version}</version>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>mockito-configuration</artifactId>
65             <version>${project.version}</version>
66             <scope>test</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.controller</groupId>
70             <artifactId>threadpool-config-impl</artifactId>
71             <version>${controller.config.version}</version>
72             <scope>test</scope>
73         </dependency>
74     </dependencies>
75
76     <build>
77         <plugins>
78             <plugin>
79                 <groupId>org.opendaylight.yangtools</groupId>
80                 <artifactId>yang-maven-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <goals>
84                             <goal>generate-sources</goal>
85                         </goals>
86                         <configuration>
87                             <codeGenerators>
88                                 <generator>
89                                     <codeGeneratorClass>
90                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
91                                     </codeGeneratorClass>
92                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
93                                     <additionalConfiguration>
94                                         <namespaceToPackage1>
95                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
96                                         </namespaceToPackage1>
97                                     </additionalConfiguration>
98                                 </generator>
99                             </codeGenerators>
100                             <inspectDependencies>true</inspectDependencies>
101                         </configuration>
102                     </execution>
103                 </executions>
104                 <dependencies>
105                     <dependency>
106                         <groupId>org.opendaylight.controller</groupId>
107                         <artifactId>yang-jmx-generator-plugin</artifactId>
108                         <version>${controller.config.version}</version>
109                     </dependency>
110                 </dependencies>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.felix</groupId>
114                 <artifactId>maven-bundle-plugin</artifactId>
115                 <version>${maven.bundle.version}</version>
116                 <extensions>true</extensions>
117                 <configuration>
118                     <instructions>
119                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
120                         <Export-Package>
121                             org.opendaylight.controller.config.yang.bgp.mock
122                         </Export-Package>
123                     </instructions>
124                 </configuration>
125             </plugin>
126         </plugins>
127     </build>
128
129     <distributionManagement>
130         <site>
131             <id>${project.artifactId}</id>
132             <name>BGP-UPDATE-MOCK-CONFIG Module site</name>
133             <url>${basedir}/target/site/${project.artifactId}</url>
134         </site>
135     </distributionManagement>
136 </project>