Bump versions by x.y.(z+1)
[mdsal.git] / binding2 / mdsal-binding2-generator-impl / 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>1.8.3-SNAPSHOT</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.mdsal</groupId>
21     <artifactId>mdsal-binding2-generator-impl</artifactId>
22     <version>0.10.3-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.2.3-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>1.1.3-SNAPSHOT</version>
38                 <type>pom</type>
39                 <scope>import</scope>
40             </dependency>
41         </dependencies>
42     </dependencyManagement>
43
44     <dependencies>
45         <dependency>
46             <groupId>org.javassist</groupId>
47             <artifactId>javassist</artifactId>
48         </dependency>
49
50         <dependency>
51             <groupId>org.opendaylight.yangtools</groupId>
52             <artifactId>yang-parser-impl</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.yangtools</groupId>
56             <artifactId>yang-data-impl</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.yangtools</groupId>
60             <artifactId>yang-test-util</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.mdsal</groupId>
64             <artifactId>mdsal-binding2-generator-api</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.mdsal</groupId>
68             <artifactId>mdsal-binding2-generator-util</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.mdsal</groupId>
72             <artifactId>mdsal-binding2-util</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>junit</groupId>
77             <artifactId>junit</artifactId>
78         </dependency>
79         <dependency>
80           <groupId>org.mockito</groupId>
81           <artifactId>mockito-core</artifactId>
82         </dependency>
83
84         <dependency>
85             <groupId>org.apache.commons</groupId>
86             <artifactId>commons-lang3</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>com.google.guava</groupId>
90             <artifactId>guava</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>com.typesafe.play</groupId>
94             <artifactId>twirl-api_2.11</artifactId>
95             <version>1.1.1</version>
96         </dependency>
97     </dependencies>
98
99     <build>
100         <plugins>
101             <plugin>
102                 <groupId>org.apache.felix</groupId>
103                 <artifactId>maven-bundle-plugin</artifactId>
104                 <extensions>true</extensions>
105                 <configuration>
106                     <instructions>
107                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
108                         <Export-Package>
109                             play.twirl.api,
110                             play.twirl.api.utils,
111                             scala,
112                             scala.*,
113                         </Export-Package>
114                     </instructions>
115                 </configuration>
116             </plugin>
117
118             <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
119             <plugin>
120                 <groupId>com.jakewharton.twirl</groupId>
121                 <artifactId>twirl-maven-plugin</artifactId>
122                 <version>1.0.5</version>
123                 <executions>
124                     <execution>
125                         <id>twirl-to-scala-first</id>
126                         <phase>generate-sources</phase>
127                         <goals>
128                             <goal>compile</goal>
129                         </goals>
130                     </execution>
131                 </executions>
132             </plugin>
133
134             <!-- Scala -> compile Scala files generated from Twirl -->
135             <plugin>
136                 <groupId>net.alchim31.maven</groupId>
137                 <artifactId>scala-maven-plugin</artifactId>
138                 <version>3.2.2</version>
139                 <executions>
140                     <execution>
141                         <id>scala-compile-second</id>
142                         <phase>process-resources</phase>
143                         <goals>
144                             <goal>add-source</goal>
145                             <goal>compile</goal>
146                         </goals>
147                     </execution>
148                 </executions>
149             </plugin>
150
151         </plugins>
152     </build>
153
154
155   <!--
156       Maven Site Configuration
157
158       The following configuration is necessary for maven-site-plugin to
159       correctly identify the correct deployment path for OpenDaylight Maven
160       sites.
161   -->
162   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
163
164   <distributionManagement>
165     <site>
166       <id>opendaylight-site</id>
167       <url>${nexus.site.url}/${project.artifactId}/</url>
168     </site>
169   </distributionManagement>
170
171 </project>