pom.xml 5.15 KB
Newer Older
Peter's avatar
Peter committed
1 2
<?xml version="1.0" encoding="UTF-8"?>
<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">
Peter's avatar
Peter committed
3 4 5
	<modelVersion>4.0.0</modelVersion>
	<groupId>hk.quantr</groupId>
	<artifactId>netbeans-quick-outline</artifactId>
Peter's avatar
Peter committed
6
	<version>1.1</version>
Peter's avatar
Peter committed
7 8 9 10 11 12 13 14 15 16
	<packaging>nbm</packaging>
	<name>Netbeans Quick Outline</name>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	<build>
		<plugins>
			<plugin>
				<groupId>org.antlr</groupId>
				<artifactId>antlr4-maven-plugin</artifactId>
Peter's avatar
Peter committed
17
				<version>4.5</version>
Peter's avatar
Peter committed
18 19 20 21 22 23 24 25 26 27 28
				<executions>
					<execution>
						<id>antlr</id>
						<goals>
							<goal>antlr4</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<sourceDirectory>${basedir}/src/main/java/hk/quantr/netbeansquickoutline/antlr</sourceDirectory>
					<outputDirectory>${project.build.directory}/generated-sources/antlr4/hk/quantr/netbeansquickoutline/antlr</outputDirectory>
Peter's avatar
Peter committed
29 30 31 32 33 34
					<includes>
						<include>ANTLRv3.g4</include>
						<include>ANTLRv4Lexer.g4</include>
						<include>ANTLRv4Parser.g4</include>
						<include>C.g4</include>
						<include>CPP14.g4</include>
Peter's avatar
Peter committed
35 36
						<include>JavaLexer.g4</include>
						<include>JavaParser.g4</include>
Peter's avatar
Peter committed
37 38 39
						<include>JavaScriptLexer.g4</include>
						<include>JavaScriptParser.g4</include>
					</includes>		
Peter's avatar
Peter committed
40 41 42 43 44 45
					<arguments>
						<argument>-package</argument>
						<argument>hk.quantr.netbeansquickoutline.antlr</argument>
					</arguments>
					<listener>true</listener>
				</configuration>
Peter's avatar
Peter committed
46
			</plugin>	
Peter's avatar
Peter committed
47 48 49 50 51
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>nbm-maven-plugin</artifactId>
				<version>3.13</version>
				<extensions>true</extensions>
Peter's avatar
Peter committed
52 53
				<configuration>
					<!--
Peter's avatar
Peter committed
54 55 56 57 58 59 60
					<useOSGiDependencies>false</useOSGiDependencies>
					<moduleDependencies>
						<dependency>
							<id>org.netbeans.api:org-netbeans-modules-editor</id>
							<type>impl</type>
						</dependency>
					</moduleDependencies>
Peter's avatar
Peter committed
61 62 63 64 65 66 67 68
					-->
					<author>Peter (peter@quantr.hk)</author>
					<homePageUrl>https://gitlab.com/mcheung63/netbeans-quick-outline</homePageUrl>
					<keystore>keystore</keystore>
					<keystorealias>netbeans-quick-outline</keystorealias>
					<licenseName>Apache License Version 2.0</licenseName>
					<licenseFile>LICENSE.txt</licenseFile>
				</configuration>
Peter's avatar
Peter committed
69 70 71 72 73 74
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
Peter's avatar
Peter committed
75 76
					<source>1.8</source>
					<target>1.8</target>
Peter's avatar
Peter committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<useDefaultManifestFile>true</useDefaultManifestFile>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<repositories>
		<repository>
			<id>netbeans</id>
			<name>Repository hosting NetBeans modules</name>
			<url>http://bits.netbeans.org/nexus/content/groups/netbeans</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>
	<dependencies>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-netbeans-api-annotations-common</artifactId>
			<version>RELEASE82</version>
		</dependency>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-openide-util</artifactId>
			<version>RELEASE82</version>
		</dependency>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-openide-awt</artifactId>
			<version>RELEASE82</version>
		</dependency>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-openide-text</artifactId>
			<version>RELEASE82</version>
		</dependency>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-netbeans-api-io</artifactId>
			<version>RELEASE82</version>
			<type>jar</type>
		</dependency>
Peter's avatar
Peter committed
126 127 128 129 130
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-netbeans-modules-editor</artifactId>
			<version>RELEASE82</version>
		</dependency>
Peter's avatar
Peter committed
131 132 133 134 135 136 137 138 139 140
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-netbeans-modules-editor-lib2</artifactId>
			<version>RELEASE82</version>
		</dependency>
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-netbeans-libs-antlr4-runtime</artifactId>
			<version>RELEASE82</version>
		</dependency>
Peter's avatar
Peter committed
141 142 143 144 145
		<dependency>
			<groupId>org.netbeans.api</groupId>
			<artifactId>org-openide-filesystems</artifactId>
			<version>RELEASE82</version>
		</dependency>
Peter's avatar
Peter committed
146 147 148
		<dependency>
			<groupId>org.antlr</groupId>
			<artifactId>antlr4</artifactId>
Peter's avatar
Peter committed
149
			<version>4.5.3</version>
Peter's avatar
Peter committed
150
		</dependency>
Peter's avatar
Peter committed
151 152 153
		<dependency>
			<groupId>com.github.mcheung63</groupId>
			<artifactId>peter-swing</artifactId>
Peter's avatar
Peter committed
154
			<version>20180730</version>
Peter's avatar
Peter committed
155
		</dependency>
Peter's avatar
Peter committed
156 157 158 159 160 161 162 163 164 165 166 167
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.5</version>
			<scope>test</scope>
		</dependency>
Peter's avatar
Peter committed
168
	</dependencies>
Peter's avatar
Peter committed
169
</project>