Remove unneeded dependencies
[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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.mdsal</groupId>
14         <artifactId>dom-parent</artifactId>
15         <version>3.0.1-SNAPSHOT</version>
16         <relativePath>../../dom/dom-parent</relativePath>
17     </parent>
18
19     <artifactId>mdsal-binding2-java-api-generator</artifactId>
20     <version>0.15.1-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22
23     <dependencies>
24         <dependency>
25             <groupId>org.opendaylight.mdsal</groupId>
26             <artifactId>mdsal-binding2-generator-impl</artifactId>
27             <scope>test</scope>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.mdsal</groupId>
31             <artifactId>mdsal-binding2-generator-util</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.mdsal</groupId>
35             <artifactId>mdsal-binding2-util</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.yangtools</groupId>
39             <artifactId>yang-model-export</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>yang-test-util</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>com.typesafe.play</groupId>
47             <artifactId>twirl-api_2.12</artifactId>
48             <version>1.3.15</version>
49         </dependency>
50         <dependency>
51             <groupId>org.apache.commons</groupId>
52             <artifactId>commons-text</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>com.google.guava</groupId>
56             <artifactId>guava</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.sonatype.plexus</groupId>
60             <artifactId>plexus-build-api</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.codehaus.plexus</groupId>
64             <artifactId>plexus-container-default</artifactId>
65             <version>1.6</version>
66             <scope>provided</scope>
67             <exclusions>
68                 <!-- plexus-build-api pulls in version 1.5.8, while this pulls in 3.0.20.
69                      Dependency convergence would break if we did not specify this. -->
70                 <exclusion>
71                     <groupId>org.codehaus.plexus</groupId>
72                     <artifactId>plexus-utils</artifactId>
73                 </exclusion>
74             </exclusions>
75         </dependency>
76     </dependencies>
77
78     <build>
79         <plugins>
80             <plugin>
81                 <groupId>org.apache.felix</groupId>
82                 <artifactId>maven-bundle-plugin</artifactId>
83                 <extensions>true</extensions>
84                 <configuration>
85                     <instructions>
86                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
87                         <Import-Package>
88                             !org.sonatype.plexus.build.incremental,
89                             *
90                         </Import-Package>
91                     </instructions>
92                 </configuration>
93             </plugin>
94
95             <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
96             <plugin>
97                 <groupId>com.jakewharton.twirl</groupId>
98                 <artifactId>twirl-maven-plugin</artifactId>
99                 <version>1.1.0</version>
100                 <executions>
101                     <execution>
102                         <id>twirl-to-scala-first</id>
103                         <phase>generate-sources</phase>
104                         <goals>
105                             <goal>compile</goal>
106                         </goals>
107                     </execution>
108                 </executions>
109             </plugin>
110
111             <!-- Scala -> compile Scala files generated from Twirl -->
112             <plugin>
113                 <groupId>net.alchim31.maven</groupId>
114                 <artifactId>scala-maven-plugin</artifactId>
115                 <version>3.3.1</version>
116                 <executions>
117                     <execution>
118                         <id>scala-compile-second</id>
119                         <phase>process-resources</phase>
120                         <goals>
121                             <goal>add-source</goal>
122                             <goal>compile</goal>
123                         </goals>
124                     </execution>
125                 </executions>
126             </plugin>
127
128             <plugin>
129                 <groupId>org.apache.maven.plugins</groupId>
130                 <artifactId>maven-checkstyle-plugin</artifactId>
131                 <configuration>
132                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
133                 </configuration>
134             </plugin>
135
136         </plugins>
137     </build>
138 </project>