Rename Util to Values
[bgpcep.git] / topology / segment-routing / 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
6         <parent>
7                 <groupId>org.opendaylight.bgpcep</groupId>
8                 <artifactId>topology-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>topology-segment-routing</artifactId>
14         <description>Segment Routing Topology extensions</description>
15         <packaging>bundle</packaging>
16         <name>${project.artifactId}</name>
17         <prerequisites>
18                 <maven>3.0.4</maven>
19         </prerequisites>
20
21         <dependencies>
22                 <dependency>
23                         <groupId>${project.groupId}</groupId>
24                         <artifactId>topology-tunnel-api</artifactId>
25                 </dependency>
26         <dependency>
27             <groupId>org.opendaylight.yangtools</groupId>
28             <artifactId>yang-binding</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.yangtools</groupId>
32             <artifactId>yang-common</artifactId>
33         </dependency>
34         </dependencies>
35
36         <build>
37         <plugins>
38            <plugin>
39                <groupId>org.opendaylight.yangtools</groupId>
40                <artifactId>yang-maven-plugin</artifactId>
41                <version>${yangtools.version}</version>
42                <executions>
43                    <execution>
44                        <goals>
45                            <goal>generate-sources</goal>
46                        </goals>
47                        <configuration>
48                            <yangFilesRootDir>src/main/yang</yangFilesRootDir>
49                            <codeGenerators>
50                                <generator>
51                                    <codeGeneratorClass>
52                                        org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
53                                    </codeGeneratorClass>
54                                    <outputBaseDir>
55                                        target/generated-sources/sal
56                                    </outputBaseDir>
57                                </generator>
58                                <generator>
59                                    <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
60                                    <outputBaseDir>target/generated-sources/site</outputBaseDir>
61                                </generator>
62                            </codeGenerators>
63                            <inspectDependencies>true</inspectDependencies>
64                        </configuration>
65                    </execution>
66                </executions>
67                <dependencies>
68                    <dependency>
69                        <groupId>org.opendaylight.yangtools</groupId>
70                        <artifactId>maven-sal-api-gen-plugin</artifactId>
71                        <version>${yang.binding.version}</version>
72                        <type>jar</type>
73                    </dependency>
74                </dependencies>
75            </plugin>
76            <plugin>
77                <groupId>org.apache.felix</groupId>
78                <artifactId>maven-bundle-plugin</artifactId>
79                <version>${maven.bundle.version}</version>
80                <extensions>true</extensions>
81                <configuration>
82                    <instructions>
83                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
84                        <Export-Package>
85                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.sr.rev130819.*,
86                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.topology.tunnel.sr.rev130819.*,
87                        </Export-Package>
88                    </instructions>
89                </configuration>
90            </plugin>
91                 </plugins>
92         </build>
93
94         <distributionManagement>
95                 <site>
96                         <id>${project.artifactId}</id>
97                         <name>TOPOLOGY-SEGMENT-ROUTING Module site</name>
98                         <url>${basedir}/target/site/${project.artifactId}</url>
99                 </site>
100         </distributionManagement>
101
102 </project>