Bump versions by x.(y+1).z for next dev cycle
[mdsal.git] / common / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>3.0.2</version>
17         <relativePath></relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>mdsal-parent</artifactId>
22     <groupId>org.opendaylight.mdsal</groupId>
23     <version>2.5.0-SNAPSHOT</version>
24     <packaging>pom</packaging>
25
26     <properties>
27         <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
28     </properties>
29
30     <dependencyManagement>
31         <dependencies>
32             <dependency>
33                  <groupId>org.opendaylight.odlparent</groupId>
34                  <artifactId>odlparent-artifacts</artifactId>
35                  <version>3.0.2</version>
36                  <type>pom</type>
37                  <scope>import</scope>
38             </dependency>
39             <dependency>
40                  <groupId>org.opendaylight.mdsal</groupId>
41                  <artifactId>mdsal-artifacts</artifactId>
42                  <version>2.5.0-SNAPSHOT</version>
43                  <type>pom</type>
44                  <scope>import</scope>
45             </dependency>
46             <dependency>
47                  <groupId>org.opendaylight.yangtools</groupId>
48                  <artifactId>yangtools-artifacts</artifactId>
49                  <version>2.0.1</version>
50                  <type>pom</type>
51                  <scope>import</scope>
52             </dependency>
53             <!-- Testing Dependencies -->
54             <dependency>
55                 <groupId>org.apache.maven.shared</groupId>
56                 <artifactId>maven-verifier</artifactId>
57                 <version>1.6</version>
58                 <scope>test</scope>
59             </dependency>
60             <dependency>
61                 <groupId>org.codehaus.groovy</groupId>
62                 <artifactId>groovy</artifactId>
63                 <version>2.4.5</version>
64                 <scope>test</scope>
65             </dependency>
66             <dependency>
67                 <groupId>org.codehaus.groovy</groupId>
68                 <artifactId>groovy-xml</artifactId>
69                 <version>2.4.5</version>
70                 <scope>test</scope>
71             </dependency>
72             <dependency>
73                 <groupId>org.apache.maven</groupId>
74                 <artifactId>maven-plugin-api</artifactId>
75                 <version>3.3.3</version>
76             </dependency>
77             <dependency>
78                 <groupId>org.glassfish.jersey.ext</groupId>
79                 <artifactId>jersey-proxy-client</artifactId>
80                 <version>2.22</version>
81             </dependency>
82             <dependency>
83                 <groupId>org.glassfish.jersey.core</groupId>
84                 <artifactId>jersey-client</artifactId>
85                 <version>2.0</version>
86             </dependency>
87         </dependencies>
88     </dependencyManagement>
89
90     <dependencies>
91         <dependency>
92             <groupId>org.slf4j</groupId>
93             <artifactId>slf4j-simple</artifactId>
94             <scope>test</scope>
95         </dependency>
96     </dependencies>
97
98     <build>
99         <pluginManagement>
100             <plugins>
101                 <plugin>
102                     <groupId>org.opendaylight.yangtools</groupId>
103                     <artifactId>yang-maven-plugin</artifactId>
104                     <version>2.0.1</version>
105                     <executions>
106                         <execution>
107                             <goals>
108                                 <goal>generate-sources</goal>
109                             </goals>
110                             <configuration>
111                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
112                                 <codeGenerators>
113                                     <generator>
114                                         <codeGeneratorClass>
115                                             org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
116                                         </codeGeneratorClass>
117                                         <outputBaseDir>
118                                             ${salGeneratorPath}
119                                         </outputBaseDir>
120                                         <resourceBaseDir>${project.build.directory}/generated-sources/spi</resourceBaseDir>
121                                     </generator>
122                                     <generator>
123                                         <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
124                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
125                                     </generator>
126                                     <generator>
127                                         <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
128                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
129                                     </generator>
130                                 </codeGenerators>
131                                 <inspectDependencies>true</inspectDependencies>
132                             </configuration>
133                         </execution>
134                     </executions>
135                     <dependencies>
136                         <dependency>
137                             <groupId>org.opendaylight.mdsal</groupId>
138                             <artifactId>maven-sal-api-gen-plugin</artifactId>
139                             <version>0.13.0-SNAPSHOT</version>
140                             <type>jar</type>
141                         </dependency>
142                     </dependencies>
143                 </plugin>
144                 <plugin>
145                     <groupId>org.ops4j.pax.exam</groupId>
146                     <artifactId>maven-paxexam-plugin</artifactId>
147                     <version>1.2.4</version>
148                     <executions>
149                         <execution>
150                             <id>generate-config</id>
151                             <goals>
152                                 <goal>generate-depends-file</goal>
153                             </goals>
154                         </execution>
155                     </executions>
156                 </plugin>
157                 <plugin>
158                     <groupId>org.apache.maven.plugins</groupId>
159                     <artifactId>maven-javadoc-plugin</artifactId>
160                     <configuration>
161                         <stylesheetfile>stylesheet.css</stylesheetfile>
162                     </configuration>
163                     <executions>
164                         <execution>
165                             <id>attach-javadocs</id>
166                             <goals>
167                                 <goal>jar</goal>
168                             </goals>
169                         </execution>
170                         <execution>
171                             <goals>
172                                 <goal>aggregate</goal>
173                             </goals>
174                             <phase>site</phase>
175                         </execution>
176                     </executions>
177                 </plugin>
178                 <plugin>
179                     <groupId>org.codehaus.mojo</groupId>
180                     <artifactId>build-helper-maven-plugin</artifactId>
181                     <version>1.9.1</version>
182                     <executions>
183                         <execution>
184                             <phase>generate-sources</phase>
185                             <goals>
186                                 <goal>add-source</goal>
187                             </goals>
188                             <configuration>
189                                 <sources>
190                                     <source>${project.build.directory}/generated-sources/parser</source>
191                                     <source>${salGeneratorPath}</source>
192                                 </sources>
193                             </configuration>
194                         </execution>
195                     </executions>
196                 </plugin>
197                 <plugin>
198                     <groupId>org.apache.servicemix.tooling</groupId>
199                     <artifactId>depends-maven-plugin</artifactId>
200                     <executions>
201                         <execution>
202                             <id>generate-depends-file</id>
203                             <goals>
204                                 <goal>generate-depends-file</goal>
205                             </goals>
206                         </execution>
207                     </executions>
208                 </plugin>
209             </plugins>
210         </pluginManagement>
211
212         <plugins>
213             <plugin>
214                 <groupId>org.apache.maven.plugins</groupId>
215                 <artifactId>maven-enforcer-plugin</artifactId>
216                 <!--
217                 <executions>
218                     <execution>
219                         <id>enforce-dependencies</id>
220                         <configuration>
221                             <rules>
222                                 <DependencyConvergence />
223                             </rules>
224                         </configuration>
225                         <goals>
226                             <goal>enforce</goal>
227                         </goals>
228                     </execution>
229                 </executions>
230                 -->
231             </plugin>
232             <plugin>
233                 <groupId>org.apache.maven.plugins</groupId>
234                 <artifactId>maven-jar-plugin</artifactId>
235             </plugin>
236             <plugin>
237                 <groupId>org.apache.felix</groupId>
238                 <artifactId>maven-bundle-plugin</artifactId>
239             </plugin>
240             <plugin>
241                 <groupId>org.apache.maven.plugins</groupId>
242                 <artifactId>maven-javadoc-plugin</artifactId>
243             </plugin>
244             <plugin>
245               <groupId>org.codehaus.mojo</groupId>
246               <artifactId>build-helper-maven-plugin</artifactId>
247             </plugin>
248         </plugins>
249     </build>
250 </project>