1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8
9   - Redistributions of source code must retain the above copyright
10     notice, this list of conditions and the following disclaimer.
11
12   - Redistributions in binary form must reproduce the above copyright
13     notice, this list of conditions and the following disclaimer in the
14     documentation and/or other materials provided with the distribution.
15
16   - Neither the name of Oracle nor the names of its
17     contributors may be used to endorse or promote products derived
18     from this software without specific prior written permission.
19
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31-->
32
33<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">
34    <modelVersion>4.0.0</modelVersion>
35    <parent>
36        <artifactId>IdealGraphVisualizer-parent</artifactId>
37        <groupId>com.sun.hotspot.igv</groupId>
38        <version>1.0-SNAPSHOT</version>
39    </parent>
40    <groupId>com.sun.hotspot.igv</groupId>
41    <artifactId>Util</artifactId>
42    <version>1.0-SNAPSHOT</version>
43    <packaging>nbm</packaging>
44    <name>Util</name>
45    <properties>
46        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47    </properties>
48    <dependencies>
49        <dependency>
50            <groupId>com.sun.hotspot.igv</groupId>
51            <artifactId>Data</artifactId>
52            <version>${project.version}</version>
53        </dependency>
54        <dependency>
55            <groupId>org.netbeans.api</groupId>
56            <artifactId>org-openide-util</artifactId>
57            <version>${netbeans.version}</version>
58        </dependency>
59        <dependency>
60            <groupId>org.netbeans.api</groupId>
61            <artifactId>org-openide-actions</artifactId>
62            <version>${netbeans.version}</version>
63        </dependency>
64        <dependency>
65            <groupId>org.netbeans.api</groupId>
66            <artifactId>org-netbeans-api-visual</artifactId>
67            <version>${netbeans.version}</version>
68        </dependency>
69        <dependency>
70            <groupId>org.netbeans.api</groupId>
71            <artifactId>org-openide-util-lookup</artifactId>
72            <version>${netbeans.version}</version>
73        </dependency>
74        <dependency>
75            <groupId>org.netbeans.api</groupId>
76            <artifactId>org-openide-nodes</artifactId>
77            <version>${netbeans.version}</version>
78        </dependency>
79        <dependency>
80            <groupId>org.netbeans.api</groupId>
81            <artifactId>org-openide-util-ui</artifactId>
82            <version>${netbeans.version}</version>
83        </dependency>
84    </dependencies>
85    <build>
86        <plugins>
87            <plugin>
88                <groupId>org.apache.netbeans.utilities</groupId>
89                <artifactId>nbm-maven-plugin</artifactId>
90                <version>${nbmmvnplugin.version}</version>
91                <extensions>true</extensions>
92                <configuration>
93                    <publicPackages>
94                        <publicPackage>com.sun.hotspot.igv.util</publicPackage>
95                    </publicPackages>
96                </configuration>
97            </plugin>
98            <plugin>
99                <groupId>org.apache.maven.plugins</groupId>
100                <artifactId>maven-compiler-plugin</artifactId>
101                <version>${mvncompilerplugin.version}</version>
102                <configuration>
103                    <source>1.8</source>
104                    <target>1.8</target>
105                </configuration>
106            </plugin>
107            <plugin>
108                <groupId>org.apache.maven.plugins</groupId>
109                <artifactId>maven-jar-plugin</artifactId>
110                <version>${mvnjarplugin.version}</version>
111                <configuration>
112                    <!-- to have the jar plugin pickup the nbm generated manifest -->
113                    <archive>
114                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
115                    </archive>
116                </configuration>
117            </plugin>
118        </plugins>
119    </build>
120</project>
121