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