Merge "Convert bits leaf into a set of leaves for extensibility"
[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                 <version>${yangtools.version}</version>
93                 <executions>
94                     <execution>
95                         <goals>
96                             <goal>generate-sources</goal>
97                         </goals>
98                         <configuration>
99                             <codeGenerators>
100                                 <generator>
101                                     <codeGeneratorClass>
102                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
103                                     </codeGeneratorClass>
104                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
105                                     <additionalConfiguration>
106                                         <namespaceToPackage1>
107                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
108                                         </namespaceToPackage1>
109                                     </additionalConfiguration>
110                                 </generator>
111                             </codeGenerators>
112                             <inspectDependencies>true</inspectDependencies>
113                         </configuration>
114                     </execution>
115                 </executions>
116                 <dependencies>
117                     <dependency>
118                         <groupId>org.opendaylight.controller</groupId>
119                         <artifactId>yang-jmx-generator-plugin</artifactId>
120                         <version>${controller.config.version}</version>
121                     </dependency>
122                 </dependencies>
123             </plugin>
124             <plugin>
125                 <groupId>org.apache.felix</groupId>
126                 <artifactId>maven-bundle-plugin</artifactId>
127                 <version>${maven.bundle.version}</version>
128                 <extensions>true</extensions>
129                 <configuration>
130                     <instructions>
131                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
132                         <Export-Package>
133                         </Export-Package>
134                     </instructions>
135                 </configuration>
136             </plugin>
137         </plugins>
138     </build>
139
140     <distributionManagement>
141         <site>
142             <id>${project.artifactId}</id>
143             <name>PCEP-IMPL-CONFIG Module site</name>
144             <url>${basedir}/target/site/${project.artifactId}</url>
145         </site>
146     </distributionManagement>
147 </project>