Release Nitrogen
[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>2.0.7</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.11.3</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.3.3</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.2.3</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                             {local-packages},
110                             org.opendaylight.mdsal.binding2.generator.impl,
111                             ;-split-package:=error
112                         </Export-Package>
113                     </instructions>
114                 </configuration>
115             </plugin>
116
117             <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
118             <plugin>
119                 <groupId>com.jakewharton.twirl</groupId>
120                 <artifactId>twirl-maven-plugin</artifactId>
121                 <version>1.0.5</version>
122                 <executions>
123                     <execution>
124                         <id>twirl-to-scala-first</id>
125                         <phase>generate-sources</phase>
126                         <goals>
127                             <goal>compile</goal>
128                         </goals>
129                     </execution>
130                 </executions>
131             </plugin>
132
133             <!-- Scala -> compile Scala files generated from Twirl -->
134             <plugin>
135                 <groupId>net.alchim31.maven</groupId>
136                 <artifactId>scala-maven-plugin</artifactId>
137                 <version>3.2.2</version>
138                 <executions>
139                     <execution>
140                         <id>scala-compile-second</id>
141                         <phase>process-resources</phase>
142                         <goals>
143                             <goal>add-source</goal>
144                             <goal>compile</goal>
145                         </goals>
146                     </execution>
147                 </executions>
148             </plugin>
149
150         </plugins>
151     </build>
152
153
154   <!--
155       Maven Site Configuration
156
157       The following configuration is necessary for maven-site-plugin to
158       correctly identify the correct deployment path for OpenDaylight Maven
159       sites.
160   -->
161   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
162
163   <distributionManagement>
164     <site>
165       <id>opendaylight-site</id>
166       <url>${nexus.site.url}/${project.artifactId}/</url>
167     </site>
168   </distributionManagement>
169
170 </project>