5071e281037715083551e99874a280d27aeb54ab
[groupbasedpolicy.git] / neutron-mapper / pom.xml
1 <?xml version="1.0"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3   This program and the accompanying materials are made available under the
4   terms of the Eclipse Public License v1.0 which accompanies this distribution,
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
8   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
9   <modelVersion>4.0.0</modelVersion>
10
11   <parent>
12     <groupId>org.opendaylight.mdsal</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>0.11.1-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.groupbasedpolicy</groupId>
19   <artifactId>neutron-mapper</artifactId>
20   <version>0.6.1-SNAPSHOT</version>
21   <packaging>bundle</packaging>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: groupbasedpolicy :: ${project.artifactId}</name>
25
26   <properties>
27     <neutron.version>0.9.1-SNAPSHOT</neutron.version>
28   </properties>
29
30   <dependencyManagement>
31     <dependencies>
32       <dependency>
33         <groupId>org.opendaylight.controller</groupId>
34         <artifactId>mdsal-artifacts</artifactId>
35         <version>1.6.1-SNAPSHOT</version>
36         <type>pom</type>
37         <scope>import</scope>
38       </dependency>
39     </dependencies>
40   </dependencyManagement>
41
42   <dependencies>
43     <!-- project specific dependencies -->
44     <dependency>
45       <groupId>${project.groupId}</groupId>
46       <artifactId>l2-l3-domain-extension</artifactId>
47       <version>${project.version}</version>
48       <type>bundle</type>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.neutron</groupId>
52       <artifactId>model</artifactId>
53       <version>${neutron.version}</version>
54     </dependency>
55     <!-- testing dependencies -->
56     <dependency>
57       <groupId>junit</groupId>
58       <artifactId>junit</artifactId>
59       <scope>test</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.mockito</groupId>
63       <artifactId>mockito-core</artifactId>
64       <scope>test</scope>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>sal-binding-broker-impl</artifactId>
69       <type>test-jar</type>
70       <scope>test</scope>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.controller</groupId>
74       <artifactId>sal-binding-broker-impl</artifactId>
75       <scope>test</scope>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.mdsal.model</groupId>
79       <artifactId>ietf-yang-types-20130715</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.mdsal.model</groupId>
83       <artifactId>opendaylight-l2-types</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.mdsal.model</groupId>
87       <artifactId>ietf-topology</artifactId>
88     </dependency>
89   </dependencies>
90
91  <build>
92     <plugins>
93       <plugin>
94         <groupId>org.apache.felix</groupId>
95         <artifactId>maven-bundle-plugin</artifactId>
96         <configuration>
97           <instructions>
98             <Export-Package>
99               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.neutron.gbp.mapper.*,
100               org.opendaylight.groupbasedpolicy.neutron.gbp.util
101             </Export-Package>
102             <Import-Package>*</Import-Package>
103           </instructions>
104         </configuration>
105       </plugin>
106       <plugin>
107         <groupId>org.codehaus.mojo</groupId>
108         <artifactId>build-helper-maven-plugin</artifactId>
109         <executions>
110           <execution>
111             <id>attach-artifacts</id>
112             <phase>package</phase>
113             <goals>
114               <goal>attach-artifact</goal>
115             </goals>
116             <configuration>
117               <artifacts>
118                 <artifact>
119                   <file>${project.build.directory}/classes/startup.cfg</file>
120                   <type>cfg</type>
121                   <classifier>config</classifier>
122                 </artifact>
123               </artifacts>
124             </configuration>
125           </execution>
126         </executions>
127       </plugin>
128     </plugins>
129   </build>
130 </project>