pom.xml revision 9b39d676
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright (c) 2017 Cisco and/or its affiliates.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at:
8  ~
9  ~     http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21    <modelVersion>4.0.0</modelVersion>
22
23    <groupId>io.fd.honeycomb.scripts</groupId>
24    <artifactId>scripts-parent</artifactId>
25    <version>1.18.07-SNAPSHOT</version>
26    <packaging>pom</packaging>
27    <name>${project.artifactId}</name>
28
29    <properties>
30        <!-- groovy -->
31        <maven.groovy.version>2.0</maven.groovy.version>
32        <groovy.version>2.4.7</groovy.version>
33        <groovy.eclipse.compiler.version>2.9.2-01</groovy.eclipse.compiler.version>
34        <groovy.eclipse.batch.version>2.4.3-01</groovy.eclipse.batch.version>
35        <odl.yang-binding.version>0.12.1</odl.yang-binding.version>
36    </properties>
37
38    <dependencyManagement>
39        <dependencies>
40            <dependency>
41                <groupId>org.codehaus.groovy</groupId>
42                <artifactId>groovy-all</artifactId>
43                <version>${groovy.version}</version>
44            </dependency>
45            <dependency>
46                <groupId>org.opendaylight.mdsal</groupId>
47                <artifactId>yang-binding</artifactId>
48                <version>${odl.yang-binding.version}</version>
49            </dependency>
50        </dependencies>
51    </dependencyManagement>
52
53    <build>
54        <pluginManagement>
55            <plugins>
56                <plugin>
57                    <groupId>org.apache.maven.plugins</groupId>
58                    <artifactId>maven-site-plugin</artifactId>
59                    <configuration>
60                        <skip>true</skip>
61                        <skipDeploy>true</skipDeploy>
62                    </configuration>
63                </plugin>
64            </plugins>
65        </pluginManagement>
66        <plugins>
67            <plugin>
68                <groupId>org.codehaus.groovy</groupId>
69                <artifactId>groovy-eclipse-compiler</artifactId>
70                <version>${groovy.eclipse.compiler.version}</version>
71                <extensions>true</extensions>
72            </plugin>
73            <plugin>
74                <artifactId>maven-compiler-plugin</artifactId>
75                <!-- 2.8.0-01 and later require maven-compiler-plugin 3.1 or higher -->
76                <configuration>
77                    <compilerId>groovy-eclipse-compiler</compilerId>
78                </configuration>
79                <dependencies>
80                    <dependency>
81                        <groupId>org.codehaus.groovy</groupId>
82                        <artifactId>groovy-eclipse-compiler</artifactId>
83                        <version>${groovy.eclipse.compiler.version}</version>
84                    </dependency>
85                    <!-- for 2.8.0-01 and later you must have an explicit dependency on groovy-eclipse-batch -->
86                    <dependency>
87                        <groupId>org.codehaus.groovy</groupId>
88                        <artifactId>groovy-eclipse-batch</artifactId>
89                        <version>${groovy.eclipse.batch.version}</version>
90                    </dependency>
91                </dependencies>
92            </plugin>
93        </plugins>
94    </build>
95</project>