Fixup some warnings
[bgpcep.git] / pcep / impl-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>pcep-parent</artifactId>
8         <version>0.3.0-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>pcep-impl-config</artifactId>
12     <description>PCE Protocol Implementation</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>org.opendaylight.controller</groupId>
22             <artifactId>config-api</artifactId>
23         </dependency>
24         <dependency>
25             <groupId>${project.groupId}</groupId>
26             <artifactId>pcep-impl</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>pcep-api-config</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>${project.groupId}</groupId>
34             <artifactId>pcep-spi-config</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>org.opendaylight.controller</groupId>
38             <artifactId>netty-config-api</artifactId>
39             <version>${controller.config.version}</version>
40         </dependency>
41
42         <!--test dependencies -->
43         <dependency>
44             <groupId>junit</groupId>
45             <artifactId>junit</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.controller</groupId>
49             <artifactId>config-manager</artifactId>
50             <version>${controller.config.version}</version>
51             <scope>test</scope>
52             <type>test-jar</type>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>config-manager</artifactId>
57             <version>${controller.config.version}</version>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.controller</groupId>
62             <artifactId>config-util</artifactId>
63             <version>${controller.config.version}</version>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>${project.groupId}</groupId>
68             <artifactId>mockito-configuration</artifactId>
69             <version>${project.version}</version>
70             <scope>test</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.controller</groupId>
74             <artifactId>netty-threadgroup-config</artifactId>
75             <version>${controller.config.version}</version>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.opendaylight.controller</groupId>
80             <artifactId>netty-timer-config</artifactId>
81             <version>${controller.config.version}</version>
82             <scope>test</scope>
83         </dependency>
84
85     </dependencies>
86
87     <build>
88         <plugins>
89             <plugin>
90                 <groupId>org.opendaylight.yangtools</groupId>
91                 <artifactId>yang-maven-plugin</artifactId>
92                 <executions>
93                     <execution>
94                         <goals>
95                             <goal>generate-sources</goal>
96                         </goals>
97                         <configuration>
98                             <codeGenerators>
99                                 <generator>
100                                     <codeGeneratorClass>
101                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
102                                     </codeGeneratorClass>
103                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
104                                     <additionalConfiguration>
105                                         <namespaceToPackage1>
106                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
107                                         </namespaceToPackage1>
108                                     </additionalConfiguration>
109                                 </generator>
110                             </codeGenerators>
111                             <inspectDependencies>true</inspectDependencies>
112                         </configuration>
113                     </execution>
114                 </executions>
115                 <dependencies>
116                     <dependency>
117                         <groupId>org.opendaylight.controller</groupId>
118                         <artifactId>yang-jmx-generator-plugin</artifactId>
119                         <version>${controller.config.version}</version>
120                     </dependency>
121                 </dependencies>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.felix</groupId>
125                 <artifactId>maven-bundle-plugin</artifactId>
126                 <version>${maven.bundle.version}</version>
127                 <extensions>true</extensions>
128                 <configuration>
129                     <instructions>
130                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
131                         <Export-Package>
132                         </Export-Package>
133                     </instructions>
134                 </configuration>
135             </plugin>
136         </plugins>
137     </build>
138
139     <distributionManagement>
140         <site>
141             <id>${project.artifactId}</id>
142             <name>PCEP-IMPL-CONFIG Module site</name>
143             <url>${basedir}/target/site/${project.artifactId}</url>
144         </site>
145     </distributionManagement>
146 </project>