Ensure xml's have a proper header and reformat them
[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                 <version>${yangtools.version}</version>
82                 <executions>
83                     <execution>
84                         <goals>
85                             <goal>generate-sources</goal>
86                         </goals>
87                         <configuration>
88                             <codeGenerators>
89                                 <generator>
90                                     <codeGeneratorClass>
91                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
92                                     </codeGeneratorClass>
93                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
94                                     <additionalConfiguration>
95                                         <namespaceToPackage1>
96                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
97                                         </namespaceToPackage1>
98                                     </additionalConfiguration>
99                                 </generator>
100                             </codeGenerators>
101                             <inspectDependencies>true</inspectDependencies>
102                         </configuration>
103                     </execution>
104                 </executions>
105                 <dependencies>
106                     <dependency>
107                         <groupId>org.opendaylight.controller</groupId>
108                         <artifactId>yang-jmx-generator-plugin</artifactId>
109                         <version>${controller.config.version}</version>
110                     </dependency>
111                 </dependencies>
112             </plugin>
113             <plugin>
114                 <groupId>org.apache.felix</groupId>
115                 <artifactId>maven-bundle-plugin</artifactId>
116                 <version>${maven.bundle.version}</version>
117                 <extensions>true</extensions>
118                 <configuration>
119                     <instructions>
120                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
121                         <Export-Package>
122                             org.opendaylight.controller.config.yang.bgp.mock
123                         </Export-Package>
124                     </instructions>
125                 </configuration>
126             </plugin>
127         </plugins>
128     </build>
129
130     <distributionManagement>
131         <site>
132             <id>${project.artifactId}</id>
133             <name>BGP-UPDATE-MOCK-CONFIG Module site</name>
134             <url>${basedir}/target/site/${project.artifactId}</url>
135         </site>
136     </distributionManagement>
137 </project>