Merge changes I7b176f78,I82a66404,Ieec67b75
[bgpcep.git] / concepts / 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>protocol-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>concepts</artifactId>
14         <description>Basic protocol concepts</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>util</artifactId>
25                         <version>${project.version}</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>com.google.code.findbugs</groupId>
29                         <artifactId>jsr305</artifactId>
30                         <version>2.0.1</version>
31                 </dependency>
32                 <dependency>
33                         <groupId>com.google.guava</groupId>
34                         <artifactId>guava</artifactId>
35                         <version>${guava.version}</version>
36                 </dependency>
37         <!--
38             FIXME: this is in support of the generated code. This should not
39                    be here, but the plugin should bring it in.
40         -->
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>yang-binding</artifactId>
44             <version>0.5.7-SNAPSHOT</version>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>yang-common</artifactId>
49             <version>0.5.7-SNAPSHOT</version>
50         </dependency>
51         </dependencies>
52
53         <build>
54         <plugins>
55             <plugin>
56                 <groupId>org.opendaylight.yangtools</groupId>
57                 <artifactId>yang-maven-plugin</artifactId>
58                 <version>0.5.7-SNAPSHOT</version>
59                 <executions>
60                     <execution>
61                         <goals>
62                             <goal>generate-sources</goal>
63                         </goals>
64                         <configuration>
65                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
66                             <codeGenerators>
67                                 <generator>
68                                     <codeGeneratorClass>
69                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
70                                     </codeGeneratorClass>
71                                     <outputBaseDir>
72                                         target/generated-sources/sal
73                                     </outputBaseDir>
74                                 </generator>
75                             </codeGenerators>
76                             <inspectDependencies>true</inspectDependencies>
77                         </configuration>
78                     </execution>
79                 </executions>
80                 <dependencies>
81                     <dependency>
82                         <groupId>org.opendaylight.yangtools</groupId>
83                         <artifactId>maven-sal-api-gen-plugin</artifactId>
84                         <version>0.5.7-SNAPSHOT</version>
85                         <type>jar</type>
86                     </dependency>
87                 </dependencies>
88             </plugin>
89
90                         <plugin>
91                                 <groupId>org.apache.felix</groupId>
92                                 <artifactId>maven-bundle-plugin</artifactId>
93                                 <version>${maven.bundle.version}</version>
94                                 <extensions>true</extensions>
95                                 <configuration>
96                                         <instructions>
97                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
98                                                 <Import-Package>
99                                                         org.opendaylight.protocol.concepts,
100                             org.opendaylight.protocol.util,
101                             com.google.common.base,
102                             com.google.common.collect,
103                             com.google.common.net,
104                             com.google.common.primitives,
105                             com.google.guava;
106                                                 </Import-Package>
107                                                 <Export-Package>
108                             org.opendaylight.protocol.concepts,
109                                                 </Export-Package>
110                                         </instructions>
111                                 </configuration>
112                         </plugin>
113                 </plugins>
114         </build>
115
116         <distributionManagement>
117                 <site>
118                         <id>${project.artifactId}</id>
119                         <name>NPS-CONCEPTS Module site</name>
120                         <url>${basedir}/target/site/${project.artifactId}</url>
121                 </site>
122         </distributionManagement>
123
124 </project>