BUG-54 : switched channel pipeline to be protocol specific.
[bgpcep.git] / pcep / api / 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>pcep-parent</artifactId>
9                 <version>0.2.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>pcep-api</artifactId>
14         <description>PCE Protocol API</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>framework</artifactId>
25             <version>${project.version}</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>${project.groupId}</groupId>
29                         <artifactId>concepts</artifactId>
30             <version>${project.version}</version>
31                 </dependency>
32                 <dependency>
33                         <groupId>${project.groupId}</groupId>
34                         <artifactId>util</artifactId>
35             <version>${project.version}</version>
36                 </dependency>
37                 <dependency>
38                         <groupId>org.slf4j</groupId>
39                         <artifactId>slf4j-api</artifactId>
40                         <version>${slf4j.version}</version>
41                 </dependency>
42                 <dependency>
43                         <groupId>${project.groupId}</groupId>
44                         <artifactId>mockito-configuration</artifactId>
45             <version>${project.version}</version>
46                         <scope>test</scope>
47         </dependency>
48
49         <!--
50             FIXME: this is in support of the generated code. This should not
51                    be here, but the plugin should bring it in.
52         -->
53         <dependency>
54             <groupId>org.opendaylight.yangtools</groupId>
55             <artifactId>yang-binding</artifactId>
56             <version>0.5.7-SNAPSHOT</version>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.yangtools</groupId>
60             <artifactId>yang-common</artifactId>
61             <version>0.5.7-SNAPSHOT</version>
62         </dependency>
63
64         <!--
65              FIXME: these are IETF models which are pre-generated in SAL infra.
66                     This should not be here, but rather should somehow be
67                     discovered by the plugin.
68         -->
69         <dependency>
70             <groupId>org.opendaylight.yangtools.model</groupId>
71             <artifactId>ietf-inet-types</artifactId>
72             <version>2010.09.24-SNAPSHOT</version>
73         </dependency>
74         <dependency>
75             <groupId>org.opendaylight.yangtools.model</groupId>
76             <artifactId>ietf-topology</artifactId>
77             <version>2013.07.12-SNAPSHOT</version>
78         </dependency>
79         <!--dependency>
80             <groupId>org.opendaylight.controller.model</groupId>
81             <artifactId>ietf-yang-types</artifactId>
82             <version>2010.09.24-SNAPSHOT</version>
83         </dependency-->
84         </dependencies>
85
86         <build>
87         <plugins>
88
89            <plugin>
90                <groupId>org.opendaylight.yangtools</groupId>
91                <artifactId>yang-maven-plugin</artifactId>
92                <version>0.5.7-SNAPSHOT</version>
93                <executions>
94                    <execution>
95                        <goals>
96                            <goal>generate-sources</goal>
97                        </goals>
98                        <configuration>
99                            <yangFilesRootDir>src/main/yang</yangFilesRootDir>
100                            <codeGenerators>
101                                <generator>
102                                    <codeGeneratorClass>
103                                        org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
104                                    </codeGeneratorClass>
105                                    <outputBaseDir>
106                                        target/generated-sources/sal
107                                    </outputBaseDir>
108                                </generator>
109                            </codeGenerators>
110                            <inspectDependencies>true</inspectDependencies>
111                        </configuration>
112                    </execution>
113                </executions>
114                <dependencies>
115                    <dependency>
116                        <groupId>org.opendaylight.yangtools</groupId>
117                        <artifactId>maven-sal-api-gen-plugin</artifactId>
118                        <version>0.5.7-SNAPSHOT</version>
119                        <type>jar</type>
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                            org.opendaylight.protocol.pcep,
133                            org.opendaylight.protocol.pcep.concepts,
134                            org.opendaylight.protocol.pcep.message,
135                            org.opendaylight.protocol.pcep.object,
136                            org.opendaylight.protocol.pcep.subobject,
137                            org.opendaylight.protocol.pcep.tlv,
138                        </Export-Package>
139                        <Import-Package>
140                            org.opendaylight.protocol.concepts,
141                            org.opendaylight.protocol.framework,
142                            org.opendaylight.protocol.util,
143                            com.google.common.*,
144                            javax.management,
145                            org.slf4j.*
146                        </Import-Package>
147                    </instructions>
148                </configuration>
149            </plugin>
150                 </plugins>
151         </build>
152
153         <distributionManagement>
154                 <site>
155                         <id>${project.artifactId}</id>
156                         <name>PCEP-API Module site</name>
157                         <url>${basedir}/target/site/${project.artifactId}</url>
158                 </site>
159         </distributionManagement>
160
161 </project>