antlr specific task. The implementation forks a java process, therefore the antlr jar file is only needed at runtime.
Here is the list of declaration for ant-antlr. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-antlr</artifactId> <version>1.8.1</version> </dependency>
If you think this Maven repository POM file listing for ant-antlr is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The ant-antlr-1.8.1 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Build | ant 1.8.1 Apache Ant | 83 |
The following table lists the most popular artifacts which are depending on ant-antlr-1.8.1. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Groovy | groovy 1.7.5 Groovy: A powerful, dynamic language for the JVM | 27 |
Groovy | groovy-all 1.7.4 Groovy: A powerful, dynamic language for the JVM | 6 |
Groovy | groovy 1.7.3 Groovy: A powerful, dynamic language for the JVM | 7 |
The following plugins are used in the ant-antlr-1.8.1.jar
The following packages are defined in the ant-antlr-1.8.1.jar
org.apache.tools.ant.taskdefs.optional
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- This POM has been created manually by the Ant Development Team. Please contact us if you are not satisfied with the data contained in this POM. URL : http://ant.apache.org --> <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"> <parent> <groupId>org.apache.ant</groupId> <artifactId>ant-parent</artifactId> <relativePath>../pom.xml</relativePath> <version>1.8.1</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ant</groupId> <artifactId>ant-antlr</artifactId> <version>1.8.1</version> <description>antlr specific task. The implementation forks a java process, therefore the antlr jar file is only needed at runtime</description> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.8.1</version> <optional>true</optional> <scope>compile</scope> </dependency> <dependency> <!-- add a dependency with antlr 2.7.2 consistent with libraries.properties antlr 2.7.6 is also available on ibiblio--> <groupId>antlr</groupId> <artifactId>antlr</artifactId> <version>2.7.2</version> <optional>true</optional> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.4</source> <target>1.4</target> <includes> <include>org/apache/tools/ant/taskdefs/optional/ANTLR*</include> </includes> </configuration> </plugin> </plugins> <sourceDirectory>../../../../src/main</sourceDirectory> <testSourceDirectory>../../../../src/testcases</testSourceDirectory> <outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory> <testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory> <directory>../../../../target/${project.artifactId}</directory> </build> </project>