Bump versions by x.y.(z+1)
[mdsal.git] / binding2 / mdsal-binding2-java-api-generator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>3.1.4</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.mdsal</groupId>
21     <artifactId>mdsal-binding2-java-api-generator</artifactId>
22     <version>0.13.2-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24
25     <dependencyManagement>
26         <dependencies>
27             <dependency>
28                 <groupId>org.opendaylight.mdsal</groupId>
29                 <artifactId>mdsal-artifacts</artifactId>
30                 <version>2.5.2-SNAPSHOT</version>
31                 <type>pom</type>
32                 <scope>import</scope>
33             </dependency>
34             <dependency>
35                 <groupId>org.opendaylight.yangtools</groupId>
36                 <artifactId>yangtools-artifacts</artifactId>
37                 <version>2.0.12</version>
38                 <type>pom</type>
39                 <scope>import</scope>
40             </dependency>
41         </dependencies>
42     </dependencyManagement>
43
44     <dependencies>
45         <dependency>
46             <groupId>org.opendaylight.mdsal</groupId>
47             <artifactId>mdsal-binding2-generator-impl</artifactId>
48             <scope>test</scope>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.mdsal</groupId>
52             <artifactId>mdsal-binding2-generator-util</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.mdsal</groupId>
56             <artifactId>mdsal-binding2-util</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.yangtools</groupId>
60             <artifactId>yang-model-export</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.yangtools</groupId>
64             <artifactId>yang-test-util</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>junit</groupId>
68             <artifactId>junit</artifactId>
69             <scope>test</scope>
70         </dependency>
71         <dependency>
72             <groupId>com.typesafe.play</groupId>
73             <artifactId>twirl-api_2.12</artifactId>
74             <version>1.3.15</version>
75         </dependency>
76         <dependency>
77             <groupId>org.apache.commons</groupId>
78             <artifactId>commons-text</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>com.google.guava</groupId>
82             <artifactId>guava</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.sonatype.plexus</groupId>
86             <artifactId>plexus-build-api</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.codehaus.plexus</groupId>
90             <artifactId>plexus-container-default</artifactId>
91             <version>1.6</version>
92             <scope>provided</scope>
93             <exclusions>
94                 <!-- plexus-build-api pulls in version 1.5.8, while this pulls in 3.0.20.
95                      Dependency convergence would break if we did not specify this. -->
96                 <exclusion>
97                     <groupId>org.codehaus.plexus</groupId>
98                     <artifactId>plexus-utils</artifactId>
99                 </exclusion>
100             </exclusions>
101         </dependency>
102
103         <dependency>
104             <groupId>org.mockito</groupId>
105             <artifactId>mockito-core</artifactId>
106         </dependency>
107     </dependencies>
108
109     <build>
110         <plugins>
111             <plugin>
112                 <groupId>org.apache.felix</groupId>
113                 <artifactId>maven-bundle-plugin</artifactId>
114                 <extensions>true</extensions>
115                 <configuration>
116                     <instructions>
117                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
118                         <Import-Package>
119                             !org.sonatype.plexus.build.incremental,
120                             *
121                         </Import-Package>
122                     </instructions>
123                 </configuration>
124             </plugin>
125
126             <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
127             <plugin>
128                 <groupId>com.jakewharton.twirl</groupId>
129                 <artifactId>twirl-maven-plugin</artifactId>
130                 <version>1.1.0</version>
131                 <executions>
132                     <execution>
133                         <id>twirl-to-scala-first</id>
134                         <phase>generate-sources</phase>
135                         <goals>
136                             <goal>compile</goal>
137                         </goals>
138                     </execution>
139                 </executions>
140             </plugin>
141
142             <!-- Scala -> compile Scala files generated from Twirl -->
143             <plugin>
144                 <groupId>net.alchim31.maven</groupId>
145                 <artifactId>scala-maven-plugin</artifactId>
146                 <version>3.3.1</version>
147                 <executions>
148                     <execution>
149                         <id>scala-compile-second</id>
150                         <phase>process-resources</phase>
151                         <goals>
152                             <goal>add-source</goal>
153                             <goal>compile</goal>
154                         </goals>
155                     </execution>
156                 </executions>
157             </plugin>
158
159         </plugins>
160     </build>
161 </project>