exclude icu4j from the final jar
This commit is contained in:
parent
2c0ef5529d
commit
cf422bb107
6
pom.xml
6
pom.xml
|
@ -1,8 +1,4 @@
|
||||||
<!--
|
<!-- ~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Use of this file is governed by the BSD 3-clause license that ~ can be found in the LICENSE.txt file in the project root. -->
|
||||||
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
|
|
||||||
~ Use of this file is governed by the BSD 3-clause license that
|
|
||||||
~ can be found in the LICENSE.txt file in the project root.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<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/maven-v4_0_0.xsd">
|
<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/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
38
tool/pom.xml
38
tool/pom.xml
|
@ -1,8 +1,4 @@
|
||||||
<!--
|
<!-- ~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. ~ Use of this file is governed by the BSD 3-clause license that ~ can be found in the LICENSE.txt file in the project root. -->
|
||||||
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
|
|
||||||
~ Use of this file is governed by the BSD 3-clause license that
|
|
||||||
~ can be found in the LICENSE.txt file in the project root.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<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/maven-v4_0_0.xsd">
|
<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/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
@ -15,7 +11,6 @@
|
||||||
<name>ANTLR 4 Tool</name>
|
<name>ANTLR 4 Tool</name>
|
||||||
<url>http://www.antlr.org</url>
|
<url>http://www.antlr.org</url>
|
||||||
<description>The ANTLR 4 grammar compiler.</description>
|
<description>The ANTLR 4 grammar compiler.</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.antlr</groupId>
|
<groupId>org.antlr</groupId>
|
||||||
|
@ -48,7 +43,6 @@
|
||||||
<version>58.2</version>
|
<version>58.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src</sourceDirectory>
|
<sourceDirectory>src</sourceDirectory>
|
||||||
<testResources>
|
<testResources>
|
||||||
|
@ -114,6 +108,11 @@
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||||
<shadedClassifierName>complete</shadedClassifierName>
|
<shadedClassifierName>complete</shadedClassifierName>
|
||||||
|
<artifactSet>
|
||||||
|
<excludes>
|
||||||
|
<exclude>com.ibm.icu:*</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
|
@ -121,27 +120,7 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- can't get this to add bundle items
|
<!-- can't get this to add bundle items <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.5.4</version> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <configuration> <instructions> <Bundle-SymbolicName>org.antlr.antlr4-tool</Bundle-SymbolicName> </instructions> </configuration> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> -->
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.felix</groupId>
|
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
|
||||||
<version>2.5.4</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>bundle-manifest</id>
|
|
||||||
<phase>process-classes</phase>
|
|
||||||
<configuration>
|
|
||||||
<instructions>
|
|
||||||
<Bundle-SymbolicName>org.antlr.antlr4-tool</Bundle-SymbolicName>
|
|
||||||
</instructions>
|
|
||||||
</configuration>
|
|
||||||
<goals>
|
|
||||||
<goal>manifest</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
-->
|
|
||||||
<plugin> <!-- this just jars up tool stuff and sets main class -->
|
<plugin> <!-- this just jars up tool stuff and sets main class -->
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
|
@ -174,8 +153,7 @@
|
||||||
<groupId>com.webguys</groupId>
|
<groupId>com.webguys</groupId>
|
||||||
<artifactId>string-template-maven-plugin</artifactId>
|
<artifactId>string-template-maven-plugin</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
<!-- this nonsense is for some reason needed to make this plugin
|
<!-- this nonsense is for some reason needed to make this plugin work with maven 3 -->
|
||||||
work with maven 3 -->
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.twdata.maven</groupId>
|
<groupId>org.twdata.maven</groupId>
|
||||||
|
|
Loading…
Reference in New Issue