Introduced neutron-mapper
[groupbasedpolicy.git] / neutron-mapper / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project
10     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
11     xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.groupbasedpolicy</groupId>
15         <artifactId>groupbasedpolicy.project</artifactId>
16         <version>0.2.0-SNAPSHOT</version>
17         <relativePath>../</relativePath>
18     </parent>
19     <artifactId>neutron-mapper</artifactId>
20     <packaging>bundle</packaging>
21
22     <dependencies>
23         <dependency>
24             <groupId>${project.groupId}</groupId>
25             <artifactId>groupbasedpolicy</artifactId>
26             <version>${project.version}</version>
27         </dependency>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>ofoverlay-renderer</artifactId>
31             <version>${project.version}</version>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.neutron</groupId>
35             <artifactId>neutron-spi</artifactId>
36             <version>0.5.0-SNAPSHOT</version>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.controller</groupId>
40             <artifactId>config-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.controller</groupId>
44             <artifactId>sal-binding-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>sal-binding-config</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.osgi</groupId>
52             <artifactId>org.osgi.core</artifactId>
53         </dependency>
54     </dependencies>
55
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.apache.felix</groupId>
60                 <artifactId>maven-bundle-plugin</artifactId>
61                 <configuration>
62                     <instructions>
63                         <Export-Package></Export-Package>
64                         <Import-Package>*</Import-Package>
65                     </instructions>
66                 </configuration>
67             </plugin>
68             <plugin>
69                 <groupId>org.opendaylight.yangtools</groupId>
70                 <artifactId>yang-maven-plugin</artifactId>
71                 <executions>
72                     <execution>
73                         <id>config</id>
74                         <goals>
75                             <goal>generate-sources</goal>
76                         </goals>
77                         <configuration>
78                             <codeGenerators>
79                                 <generator>
80                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
81                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
82                                     <additionalConfiguration>
83                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
84                                     </additionalConfiguration>
85                                 </generator>
86                                 <generator>
87                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
88                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
89                                 </generator>
90                             </codeGenerators>
91                             <inspectDependencies>true</inspectDependencies>
92                         </configuration>
93                     </execution>
94                 </executions>
95                 <dependencies>
96                     <dependency>
97                         <groupId>org.opendaylight.controller</groupId>
98                         <artifactId>yang-jmx-generator-plugin</artifactId>
99                         <version>0.3.0-SNAPSHOT</version>
100                     </dependency>
101                 </dependencies>
102             </plugin>
103             <plugin>
104                 <groupId>org.codehaus.mojo</groupId>
105                 <artifactId>build-helper-maven-plugin</artifactId>
106                 <executions>
107                     <execution>
108                         <goals>
109                             <goal>add-source</goal>
110                         </goals>
111                         <phase>generate-sources</phase>
112                         <configuration>
113                             <sources>
114                                 <source>target/generated-sources/sal</source>
115                                 <source>target/generated-sources/config</source>
116                                 <source>target/generated-resources/</source>
117                             </sources>
118                         </configuration>
119                     </execution>
120                 </executions>
121             </plugin>
122         </plugins>
123     </build>
124 </project>