Bump versions by x.y.(z+1)
[groupbasedpolicy.git] / renderers / vpp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.groupbasedpolicy</groupId>
12     <artifactId>groupbasedpolicy-renderers</artifactId>
13     <version>0.6.2-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>vpp-renderer</artifactId>
18   <packaging>bundle</packaging>
19   <!-- <name> formatting is used by autorelease to parse and notify projects on
20        build failure. Please do not modify this unless you have a good reason. -->
21   <name>ODL :: groupbasedpolicy :: ${project.artifactId}</name>
22
23   <properties>
24     <netconf.version>1.3.2-SNAPSHOT</netconf.version>
25   </properties>
26
27   <dependencyManagement>
28     <dependencies>
29       <dependency>
30         <groupId>org.opendaylight.netconf</groupId>
31         <artifactId>netconf-artifacts</artifactId>
32         <version>${netconf.version}</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36     </dependencies>
37   </dependencyManagement>
38
39   <dependencies>
40     <!-- project specific dependencies -->
41     <dependency>
42       <groupId>${project.groupId}</groupId>
43       <artifactId>l2-l3-domain-extension</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.mdsal.model</groupId>
47       <artifactId>yang-ext</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.netconf</groupId>
51       <artifactId>sal-netconf-connector</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.honeycomb.vbd</groupId>
55       <artifactId>vbd-api</artifactId>
56       <version>1.2.2-SNAPSHOT</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.honeycomb.vbd</groupId>
60       <artifactId>vbd-impl</artifactId>
61       <version>1.2.2-SNAPSHOT</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.mdsal.model</groupId>
65       <artifactId>opendaylight-l2-types</artifactId>
66     </dependency>
67
68     <!-- testing dependencies -->
69     <dependency>
70       <groupId>org.opendaylight.controller</groupId>
71       <artifactId>sal-binding-broker-impl</artifactId>
72       <type>test-jar</type>
73       <scope>test</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.groupbasedpolicy</groupId>
77       <artifactId>groupbasedpolicy</artifactId>
78       <version>${project.version}</version>
79       <type>test-jar</type>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>junit</groupId>
84       <artifactId>junit</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.mockito</groupId>
89       <artifactId>mockito-core</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.slf4j</groupId>
94       <artifactId>slf4j-log4j12</artifactId>
95       <scope>test</scope>
96     </dependency>
97     <dependency>
98       <groupId>org.osgi</groupId>
99       <artifactId>org.osgi.compendium</artifactId>
100       <version>[4.2.0,)</version>
101     </dependency>
102   </dependencies>
103
104   <!-- project build -->
105   <build>
106     <!-- We use the maven-resources-plugin to copy a class from the groupbasepolicy
107       bundle that we need in order to run some unit tests in the renderer (classes
108       in the test directory aren't packaged in bundles, and instead of keeping
109       separate copies, we just copy the file(s) needed in order to run the test). -->
110     <plugins>
111       <plugin>
112         <groupId>org.apache.felix</groupId>
113         <artifactId>maven-bundle-plugin</artifactId>
114         <configuration>
115           <instructions>
116             <Export-Package>
117               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.vpp_renderer.rev160425.*,
118               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.vpp_adapter.rev161201.*
119             </Export-Package>
120             <Import-Package>
121               *
122             </Import-Package>
123           </instructions>
124         </configuration>
125       </plugin>
126       <plugin>
127         <groupId>org.codehaus.mojo</groupId>
128         <artifactId>build-helper-maven-plugin</artifactId>
129         <executions>
130           <execution>
131             <id>attach-artifacts</id>
132             <phase>package</phase>
133             <goals>
134               <goal>attach-artifact</goal>
135             </goals>
136             <configuration>
137               <artifacts>
138                 <artifact>
139                   <file>${project.build.directory}/classes/startup.cfg</file>
140                   <type>cfg</type>
141                   <classifier>config</classifier>
142                 </artifact>
143               </artifacts>
144             </configuration>
145           </execution>
146         </executions>
147       </plugin>
148     </plugins>
149   </build>
150 </project>