Bumping versions by x.y.(z+1) for next dev cycle
[mdsal.git] / binding2 / mdsal-binding2-maven-api-gen-plugin / 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.mdsal</groupId>
14         <artifactId>mdsal-binding2</artifactId>
15         <version>0.9.4-SNAPSHOT</version>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <artifactId>mdsal-binding2-maven-api-gen-plugin</artifactId>
20
21     <dependencies>
22         <dependency>
23             <groupId>org.opendaylight.yangtools</groupId>
24             <artifactId>yang-maven-plugin-spi</artifactId>
25         </dependency>
26         <dependency>
27             <groupId>org.opendaylight.mdsal</groupId>
28             <artifactId>mdsal-binding2-generator-api</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.mdsal</groupId>
32             <artifactId>mdsal-binding2-generator-impl</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.mdsal</groupId>
36             <artifactId>mdsal-binding2-java-api-generator</artifactId>
37         </dependency>
38
39         <dependency>
40             <groupId>org.opendaylight.yangtools</groupId>
41             <artifactId>yang-data-api</artifactId>
42         </dependency>
43
44         <dependency>
45             <groupId>org.apache.maven</groupId>
46             <artifactId>maven-core</artifactId>
47             <scope>provided</scope>
48         </dependency>
49         <dependency>
50             <groupId>org.sonatype.plexus</groupId>
51             <artifactId>plexus-build-api</artifactId>
52             <scope>provided</scope>
53         </dependency>
54
55         <dependency>
56             <groupId>junit</groupId>
57             <artifactId>junit</artifactId>
58             <scope>test</scope>
59         </dependency>
60     </dependencies>
61
62     <build>
63         <plugins>
64             <plugin>
65                 <artifactId>maven-jar-plugin</artifactId>
66                 <configuration>
67                     <archive>
68                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
69                     </archive>
70                 </configuration>
71             </plugin>
72             <plugin>
73                 <groupId>org.apache.felix</groupId>
74                 <artifactId>maven-bundle-plugin</artifactId>
75                 <extensions>true</extensions>
76                 <configuration>
77                     <instructions>
78                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
79                         <Import-Package>
80                             !org.apache.maven.plugin.logging,
81                             !org.apache.maven.project
82                             *
83                         </Import-Package>
84                     </instructions>
85                 </configuration>
86             </plugin>
87
88             <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
89             <plugin>
90                 <groupId>com.jakewharton.twirl</groupId>
91                 <artifactId>twirl-maven-plugin</artifactId>
92                 <version>1.0.4</version>
93                 <executions>
94                     <execution>
95                         <id>twirl-to-scala-first</id>
96                         <phase>generate-sources</phase>
97                         <goals>
98                             <goal>compile</goal>
99                         </goals>
100                     </execution>
101                 </executions>
102             </plugin>
103
104             <!-- Scala -> compile Scala files, in this example generated from Twirl -->
105             <plugin>
106                 <groupId>net.alchim31.maven</groupId>
107                 <artifactId>scala-maven-plugin</artifactId>
108                 <version>3.2.2</version>
109                 <executions>
110                     <execution>
111                         <id>scala-compile-second</id>
112                         <phase>process-resources</phase>
113                         <goals>
114                             <goal>add-source</goal>
115                             <goal>compile</goal>
116                         </goals>
117                     </execution>
118                 </executions>
119             </plugin>
120         </plugins>
121     </build>
122
123
124   <!--
125       Maven Site Configuration
126
127       The following configuration is necessary for maven-site-plugin to
128       correctly identify the correct deployment path for OpenDaylight Maven
129       sites.
130   -->
131   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
132
133   <distributionManagement>
134     <site>
135       <id>opendaylight-site</id>
136       <url>${nexus.site.url}/${project.artifactId}/</url>
137     </site>
138   </distributionManagement>
139
140 </project>