Add bootstrap sources
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
e4328e1827
commit
7513dc4580
Binary file not shown.
|
@ -0,0 +1,329 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>7</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!--
|
||||
The version number defined here in the version tag indicates how the
|
||||
jar is named and released. When it ends with SNAPSHOT, it will be stored
|
||||
in your local repository (~/m2 on UNIX) as stringtemplate-X.Y-SNAPSHOT, but
|
||||
will be deplyed to the ANTLR snapshot repository at antlr.org with the word
|
||||
SNAPSHOT replaced with the the data, time and unique number.
|
||||
-->
|
||||
|
||||
<version>4.0.7</version>
|
||||
|
||||
<!--
|
||||
The name of the project as seen by IDEs and release documentation etc.
|
||||
-->
|
||||
|
||||
<name>StringTemplate 4</name>
|
||||
<description>StringTemplate is a java template engine for generating source code,
|
||||
web pages, emails, or any other formatted text output.
|
||||
|
||||
StringTemplate is particularly good at multi-targeted code generators,
|
||||
multiple site skins, and internationalization/localization.
|
||||
|
||||
It evolved over years of effort developing jGuru.com.
|
||||
|
||||
StringTemplate also generates the stringtemplate website: http://www.stringtemplate.org
|
||||
and powers the ANTLR v3 code generator. Its distinguishing characteristic
|
||||
is that unlike other engines, it strictly enforces model-view separation.
|
||||
|
||||
Strict separation makes websites and code generators more flexible
|
||||
and maintainable; it also provides an excellent defense against malicious
|
||||
template authors.
|
||||
|
||||
There are currently about 600 StringTemplate source downloads a month.
|
||||
</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java5.home>${env.JAVA5_HOME}</java5.home>
|
||||
<java6.home>${env.JAVA6_HOME}</java6.home>
|
||||
<bootclasspath.java5>${java5.home}/lib/rt.jar</bootclasspath.java5>
|
||||
<bootclasspath.java6>${java6.home}/lib/rt.jar</bootclasspath.java6>
|
||||
<bootclasspath.compile>${bootclasspath.java5}</bootclasspath.compile>
|
||||
<bootclasspath.testCompile>${bootclasspath.java6}</bootclasspath.testCompile>
|
||||
</properties>
|
||||
|
||||
<!--
|
||||
The URL of the base project
|
||||
-->
|
||||
|
||||
<url>http://www.stringtemplate.org</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<organization>USFCA</organization>
|
||||
<organizationUrl>http://www.cs.usfca.edu</organizationUrl>
|
||||
<email>parrt@antlr.org</email>
|
||||
<roles>
|
||||
<role>Project Leader</role>
|
||||
<role>Developer - Java Target</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Sam Harwell</name>
|
||||
<organization>Tunnel Vision Laboratories, LLC</organization>
|
||||
<organizationUrl>http://tunnelvisionlabs.com</organizationUrl>
|
||||
<email>sam@tunnelvisionlabs.com</email>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
<timezone>CST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<organization>Temporal Wave LLC</organization>
|
||||
<organizationUrl>http://www.temporal-wave.com</organizationUrl>
|
||||
<email>jimi@temporal-wave.com</email>
|
||||
<roles>
|
||||
<role>Developer - Maven stuff</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD licence</name>
|
||||
<url>http://antlr.org/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/antlr/stringtemplate4/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<scm>
|
||||
<url>git://github.com/antlr/stringtemplate4.git</url>
|
||||
<connection>scm:git:git://github.com/antlr/stringtemplate4.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:antlr/stringtemplate4.git</developerConnection>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.10</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>3.5</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<defaultGoal>install</defaultGoal>
|
||||
|
||||
<!--
|
||||
The root of the source code for StringTemplate
|
||||
-->
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
|
||||
<!--
|
||||
The root of the test source code for StringTemplate.
|
||||
-->
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
|
||||
<!--
|
||||
All the resources that should be on the classpath, when
|
||||
the junit tests are run. Here we need to include the test
|
||||
source code directory as the .st files loaded dynamically
|
||||
by the tests, are located underneath this tree.
|
||||
-->
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<createSourcesJar>true</createSourcesJar>
|
||||
<shadeSourcesContent>true</shadeSourcesContent>
|
||||
<shadedClassifierName>complete</shadedClassifierName>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.antlr</pattern>
|
||||
<shadedPattern>st4hidden.org.antlr</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr3-maven-plugin</artifactId>
|
||||
<version>3.5</version>
|
||||
<configuration>
|
||||
<libDirectory>src/org/stringtemplate/v4/compiler</libDirectory>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<verbose>true</verbose>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>antlr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.0</version>
|
||||
<configuration>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
<compilerArgument>-Xlint:-serial</compilerArgument>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.compile}</bootclasspath>
|
||||
<Xlint/>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<compilerArgument>-Xlint:-serial</compilerArgument>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
|
||||
<Xlint/>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.12.4</version>
|
||||
<configuration>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/src</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<configuration>
|
||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<quiet>true</quiet>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
Binary file not shown.
|
@ -0,0 +1,344 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>9</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!--
|
||||
The version number defined here in the version tag indicates how the
|
||||
jar is named and released. When it ends with SNAPSHOT, it will be stored
|
||||
in your local repository (~/m2 on UNIX) as stringtemplate-X.Y-SNAPSHOT, but
|
||||
will be deplyed to the ANTLR snapshot repository at antlr.org with the word
|
||||
SNAPSHOT replaced with the the data, time and unique number.
|
||||
-->
|
||||
|
||||
<version>4.0.8</version>
|
||||
|
||||
<!--
|
||||
The name of the project as seen by IDEs and release documentation etc.
|
||||
-->
|
||||
|
||||
<name>StringTemplate 4</name>
|
||||
<description>StringTemplate is a java template engine for generating source code,
|
||||
web pages, emails, or any other formatted text output.
|
||||
|
||||
StringTemplate is particularly good at multi-targeted code generators,
|
||||
multiple site skins, and internationalization/localization.
|
||||
|
||||
It evolved over years of effort developing jGuru.com.
|
||||
|
||||
StringTemplate also generates the stringtemplate website: http://www.stringtemplate.org
|
||||
and powers the ANTLR v3 code generator. Its distinguishing characteristic
|
||||
is that unlike other engines, it strictly enforces model-view separation.
|
||||
|
||||
Strict separation makes websites and code generators more flexible
|
||||
and maintainable; it also provides an excellent defense against malicious
|
||||
template authors.
|
||||
|
||||
There are currently about 600 StringTemplate source downloads a month.
|
||||
</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java5.home>${env.JAVA5_HOME}</java5.home>
|
||||
<java6.home>${env.JAVA6_HOME}</java6.home>
|
||||
<bootclasspath.java5>${java5.home}/lib/rt.jar</bootclasspath.java5>
|
||||
<bootclasspath.java6>${java6.home}/lib/rt.jar</bootclasspath.java6>
|
||||
<bootclasspath.compile>${bootclasspath.java5}</bootclasspath.compile>
|
||||
<bootclasspath.testCompile>${bootclasspath.java6}</bootclasspath.testCompile>
|
||||
</properties>
|
||||
|
||||
<!--
|
||||
The URL of the base project
|
||||
-->
|
||||
|
||||
<url>http://www.stringtemplate.org</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<organization>USFCA</organization>
|
||||
<organizationUrl>http://www.cs.usfca.edu</organizationUrl>
|
||||
<email>parrt@antlr.org</email>
|
||||
<roles>
|
||||
<role>Project Leader</role>
|
||||
<role>Developer - Java Target</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Sam Harwell</name>
|
||||
<organization>Tunnel Vision Laboratories, LLC</organization>
|
||||
<organizationUrl>http://tunnelvisionlabs.com</organizationUrl>
|
||||
<email>sam@tunnelvisionlabs.com</email>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
<timezone>CST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<organization>Temporal Wave LLC</organization>
|
||||
<organizationUrl>http://www.temporal-wave.com</organizationUrl>
|
||||
<email>jimi@temporal-wave.com</email>
|
||||
<roles>
|
||||
<role>Developer - Maven stuff</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD licence</name>
|
||||
<url>http://antlr.org/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/antlr/stringtemplate4/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<scm>
|
||||
<url>git://github.com/antlr/stringtemplate4.git</url>
|
||||
<connection>scm:git:git://github.com/antlr/stringtemplate4.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:antlr/stringtemplate4.git</developerConnection>
|
||||
<tag>4.0.8</tag>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.10</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>3.5.2</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>sonatype-oss-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.compile}</bootclasspath>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<createSourcesJar>true</createSourcesJar>
|
||||
<shadeSourcesContent>true</shadeSourcesContent>
|
||||
<shadedClassifierName>complete</shadedClassifierName>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.antlr</pattern>
|
||||
<shadedPattern>st4hidden.org.antlr</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<defaultGoal>install</defaultGoal>
|
||||
|
||||
<!--
|
||||
The root of the source code for StringTemplate
|
||||
-->
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
|
||||
<!--
|
||||
The root of the test source code for StringTemplate.
|
||||
-->
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
|
||||
<!--
|
||||
All the resources that should be on the classpath, when
|
||||
the junit tests are run. Here we need to include the test
|
||||
source code directory as the .st files loaded dynamically
|
||||
by the tests, are located underneath this tree.
|
||||
-->
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr3-maven-plugin</artifactId>
|
||||
<version>3.5.2</version>
|
||||
<configuration>
|
||||
<libDirectory>src/org/stringtemplate/v4/compiler</libDirectory>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<verbose>true</verbose>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>antlr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint</arg>
|
||||
<arg>-Xlint:-serial</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<!-- override the version inherited from the parent -->
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<arguments>-Psonatype-oss-release ${release.arguments}</arguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.17</version>
|
||||
<configuration>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/src</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<configuration>
|
||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<!-- override the version inherited from the parent -->
|
||||
<version>2.2.1</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<!-- override the version inherited from the parent -->
|
||||
<version>2.9.1</version>
|
||||
<configuration>
|
||||
<quiet>true</quiet>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<!-- override the version inherited from the parent -->
|
||||
<version>1.5</version>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
Binary file not shown.
|
@ -0,0 +1,22 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.7.7</version>
|
||||
<name>AntLR Parser Generator</name>
|
||||
<description>
|
||||
A framework for constructing recognizers, compilers,
|
||||
and translators from grammatical descriptions containing
|
||||
Java, C#, C++, or Python actions.
|
||||
</description>
|
||||
<url>http://www.antlr.org/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD License</name>
|
||||
<url>http://www.antlr.org/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<dependencies/>
|
||||
</project>
|
Binary file not shown.
|
@ -0,0 +1,81 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>antlr</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>ANTLR 3 Tool</name>
|
||||
<description>The ANTLR 3 tool.</description>
|
||||
|
||||
<!--
|
||||
|
||||
Inherit from the ANTLR master pom, which tells us what
|
||||
version we are and allows us to inherit dependencies
|
||||
and so on.
|
||||
|
||||
-->
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-master</artifactId>
|
||||
<version>3.5</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<!--
|
||||
|
||||
Tell Maven which other artifacts we need in order to
|
||||
build, run and test the ANTLR Tool. The ANTLR Tool uses earlier versions
|
||||
of ANTLR at runtime (for the moment), uses the current
|
||||
released version of ANTLR String template, but obviously is
|
||||
reliant on the latest snapshot of the runtime, which will either be
|
||||
taken from the antlr-snapshot repository, or your local .m2
|
||||
repository if you built and installed that locally.
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr3-maven-plugin</artifactId>
|
||||
<version>3.5-rc-2</version>
|
||||
<configuration>
|
||||
<libDirectory>target/generated-sources/antlr/org/antlr/grammar/v3</libDirectory>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>antlr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,295 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>7</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-master</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>3.5</version>
|
||||
<name>ANTLR 3 Master build control POM</name>
|
||||
<description>Master build POM for ANTLR 3</description>
|
||||
<url>http://antlr.org</url>
|
||||
<inceptionYear>1992</inceptionYear>
|
||||
<organization>
|
||||
<name>ANTLR</name>
|
||||
<url>http://www.antlr.org</url>
|
||||
</organization>
|
||||
|
||||
<!--
|
||||
What version of ANTLR are we building? This sets the
|
||||
the version number for all other things that are built
|
||||
as part of an ANTLR release, unless they override or
|
||||
ignore it. We do this via a properites file for this
|
||||
pom.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This is the master pom for building the ANTLR
|
||||
toolset and runtime (Java) at the specific level
|
||||
defined above. Hence we specify here the modules that
|
||||
this pom will build when we build this pom
|
||||
-->
|
||||
|
||||
<modules>
|
||||
<module>runtime/Java</module>
|
||||
<module>tool</module>
|
||||
<module>antlr3-maven-plugin</module>
|
||||
<module>gunit</module>
|
||||
<module>gunit-maven-plugin</module>
|
||||
<module>antlr3-maven-archetype</module>
|
||||
<module>antlr-complete</module>
|
||||
</modules>
|
||||
|
||||
<!--
|
||||
Make sure that the build is not platform dependent (I.E show that
|
||||
all the files in the source tree are in UTF-8 format.
|
||||
-->
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java5.home>${env.JAVA5_HOME}</java5.home>
|
||||
<java6.home>${env.JAVA6_HOME}</java6.home>
|
||||
<bootclasspath.java5>${java5.home}/lib/rt.jar</bootclasspath.java5>
|
||||
<bootclasspath.java6>${java6.home}/lib/rt.jar</bootclasspath.java6>
|
||||
<bootclasspath.compile>${bootclasspath.java5}</bootclasspath.compile>
|
||||
<bootclasspath.testCompile>${bootclasspath.java6}</bootclasspath.testCompile>
|
||||
</properties>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD licence</name>
|
||||
<url>http://antlr.org/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/antlr/antlr3/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>antlr-discussion</name>
|
||||
<archive>https://groups.google.com/forum/?fromgroups#!forum/antlr-discussion</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/antlr/antlr3/tree/master</url>
|
||||
<connection>scm:git:git://github.com/antlr/antlr3.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:antlr/antlr3.git</developerConnection>
|
||||
</scm>
|
||||
<!--
|
||||
|
||||
Tell Maven which other artifacts we need in order to
|
||||
build, run and test the ANTLR jars.
|
||||
This is the master pom, and so it only contains those
|
||||
dependencies that are common to all the modules below
|
||||
or are just included for test
|
||||
-->
|
||||
<dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>2.7.7</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<version>4.0.7</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
|
||||
<defaultGoal>install</defaultGoal>
|
||||
|
||||
<!--
|
||||
The following filter definition means that both the master
|
||||
project and the sub projects will read in a file in the same
|
||||
directory as the pom.xml is located and set any properties
|
||||
that are defined there in the standard x=y format. These
|
||||
properties can then be referenced via ${x} in any resource
|
||||
file specified in any pom. So, there is a master antlr.config
|
||||
file in the same location as this pom.xml file and here you can
|
||||
define anything that is relevant to all the modules that we
|
||||
build here. However each module also has an antlr.config file
|
||||
where you can override property values from the master file or
|
||||
define things that are only relevant to that module.
|
||||
-->
|
||||
<filters>
|
||||
<filter>antlr.config</filter>
|
||||
</filters>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.0</version>
|
||||
<configuration>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
<compilerArgument>-Xlint:-serial</compilerArgument>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.compile}</bootclasspath>
|
||||
<Xlint/>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<compilerArgument>-Xlint:-serial</compilerArgument>
|
||||
<compilerArguments>
|
||||
<bootclasspath>${bootclasspath.testCompile}</bootclasspath>
|
||||
<Xlint/>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.12.4</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<configuration>
|
||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<quiet>true</quiet>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
</project>
|
Binary file not shown.
|
@ -0,0 +1,66 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!--
|
||||
|
||||
Inherit from the ANTLR master pom, which tells us what
|
||||
version we are and allows us to inherit dependencies
|
||||
and so on.
|
||||
|
||||
-->
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-master</artifactId>
|
||||
<version>3.5</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>ANTLR 3 Runtime</name>
|
||||
|
||||
<description>A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions.</description>
|
||||
<url>http://www.antlr.org</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<organization>USFCA</organization>
|
||||
<organizationUrl>http://www.cs.usfca.edu</organizationUrl>
|
||||
<email>parrt@antlr.org</email>
|
||||
<roles>
|
||||
<role>Project Leader</role>
|
||||
<role>Developer - Java Target</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<organization>Temporal Wave LLC</organization>
|
||||
<organizationUrl>http://www.temporal-wave.com</organizationUrl>
|
||||
<email>jimi@temporal-wave.com</email>
|
||||
<roles>
|
||||
<role>Developer - Maven stuff</role>
|
||||
<role>Developer - C Target</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
Binary file not shown.
|
@ -0,0 +1,234 @@
|
|||
<!--
|
||||
|
||||
[The "BSD license"]
|
||||
|
||||
ANTLR - Copyright (c) 2005-2010 Terence Parr
|
||||
Maven Plugin - Copyright (c) 2009 Jim Idle
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. The name of the author may not be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-->
|
||||
|
||||
|
||||
|
||||
<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">
|
||||
|
||||
<!-- Maven model we are inheriting from
|
||||
-->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<!--
|
||||
|
||||
Now that the ANTLR project has adopted Maven with a vengence,
|
||||
all ANTLR tools will be grouped under org.antlr and will be
|
||||
controlled by a project member.
|
||||
-->
|
||||
<groupId>org.antlr</groupId>
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
This is the ANTLR plugin for ANTLR version 3.1.3 and above. It might
|
||||
have been best to change the name of the plugin as the 3.1.2 plugins
|
||||
behave a little differently, however for the sake of one transitional
|
||||
phase to a much better plugin, it was decided that the name should
|
||||
remain the same.
|
||||
-->
|
||||
<artifactId>antlr3-maven-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-master</artifactId>
|
||||
<version>3.5</version>
|
||||
</parent>
|
||||
|
||||
<name>ANTLR 3 Maven plugin</name>
|
||||
<prerequisites>
|
||||
<maven>2.0</maven>
|
||||
</prerequisites>
|
||||
|
||||
<!--
|
||||
Where does our actual project live on the interwebs.
|
||||
-->
|
||||
<url>http://antlr.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<description>
|
||||
|
||||
This is the brand new, re-written from scratch plugin for ANTLR v3.
|
||||
|
||||
Previous valiant efforts all suffered from being unable to modify the ANTLR Tool
|
||||
itself to provide support not just for Maven oriented things but any other tool
|
||||
that might wish to invoke ANTLR without resorting to the command line interface.
|
||||
|
||||
Rather than try to shoe-horn new code into the existing Mojo (in fact I think that
|
||||
by incorporating a patch supplied by someone I ended up with tow versions of the
|
||||
Mojo, I elected to rewrite everything from scratch, including the documentation, so
|
||||
that we might end up with a perfect Mojo that can do everything that ANTLR v3 supports
|
||||
such as imported grammar processing, proper support for library directories and
|
||||
locating token files from generated sources, and so on.
|
||||
|
||||
In the end I decided to also change the the ANTLR Tool.java code so that it
|
||||
would be the provider of all the things that a build tool needs, rather than
|
||||
delegating things to 5 different tools. So, things like dependencies, dependency
|
||||
sorting, option tracking, generating sources and so on are all folded back
|
||||
in to ANTLR's Tool.java code, where they belong, and they now provide a
|
||||
public interface to anyone that might want to interface with them.
|
||||
|
||||
One other goal of this rewrite was to completely document the whole thing
|
||||
to death. Hence even this pom has more comments than funcitonal elements,
|
||||
in case I get run over by a bus or fall off a cliff while skiing.
|
||||
|
||||
Jim Idle - March 2009
|
||||
|
||||
</description>
|
||||
|
||||
<developers>
|
||||
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<url>http://www.temporal-wave.com</url>
|
||||
<roles>
|
||||
<role>Originator, version 3.1.3</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<url>http://antlr.org/wiki/display/~admin/Home</url>
|
||||
<roles>
|
||||
<role>Project lead - ANTLR</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>David Holroyd</name>
|
||||
<url>http://david.holroyd.me.uk/</url>
|
||||
<roles>
|
||||
<role>Originator - prior version</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>Kenny MacDermid</name>
|
||||
<url>mailto:kenny "at" kmdconsulting.ca</url>
|
||||
<roles>
|
||||
<role>Contributor - prior versions</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
</developers>
|
||||
|
||||
<!-- ============================================================================= -->
|
||||
|
||||
<!--
|
||||
|
||||
What are we depedent on for the Mojos to execute? We need the
|
||||
plugin API itself and of course we need the ANTLR Tool and runtime
|
||||
and any of their dependencies, which we inherit. The Tool itself provides
|
||||
us with all the dependencies, so we need only name it here.
|
||||
-->
|
||||
<dependencies>
|
||||
|
||||
<!--
|
||||
The things we need to build the target language recognizer
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-plugin-api</artifactId>
|
||||
<version>2.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-project</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-compiler-api</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--
|
||||
The version of ANTLR tool that this version of the plugin controls.
|
||||
We have decided that this should be in lockstep with ANTLR itself, other
|
||||
than -1 -2 -3 etc patch releases.
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.shared</groupId>
|
||||
<artifactId>maven-plugin-testing-harness</artifactId>
|
||||
<version>1.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.2</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<configuration>
|
||||
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-plugin-plugin</artifactId>
|
||||
<version>3.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</project>
|
Binary file not shown.
|
@ -0,0 +1,197 @@
|
|||
<?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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!--
|
||||
The version number defined here in the version tag indicates how the
|
||||
jar is named and released. When it ends with SNAPSHOT, it will be stored
|
||||
in your local repository (~/m2 on UNIX) as stringtemplate-X.Y-SNAPSHOT, but
|
||||
will be deplyed to the ANTLR snapshot repository at antlr.org with the word
|
||||
SNAPSHOT replaced with the the data, time and unique number.
|
||||
-->
|
||||
<version>3.2.1</version>
|
||||
|
||||
<!--
|
||||
The name of the project as seen by IDEs and release documentation etc.
|
||||
-->
|
||||
<name>ANTLR StringTemplate</name>
|
||||
|
||||
<description>StringTemplate is a java template engine for generating source code,
|
||||
web pages, emails, or any other formatted text output.
|
||||
|
||||
StringTemplate is particularly good at multi-targeted code generators,
|
||||
multiple site skins, and internationalization/localization.
|
||||
|
||||
It evolved over years of effort developing jGuru.com.
|
||||
|
||||
StringTemplate also generates the stringtemplate website: http://www.stringtemplate.org
|
||||
and powers the ANTLR v3 code generator. Its distinguishing characteristic
|
||||
is that unlike other engines, it strictly enforces model-view separation.
|
||||
|
||||
Strict separation makes websites and code generators more flexible
|
||||
and maintainable; it also provides an excellent defense against malicious
|
||||
template authors.
|
||||
|
||||
There are currently about 600 StringTemplate source downloads a month.
|
||||
</description>
|
||||
|
||||
<!--
|
||||
The URL of the ANTLR base project
|
||||
-->
|
||||
<url>http://www.stringtemplate.org</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<organization>USFCA</organization>
|
||||
<organizationUrl>http://www.cs.usfca.edu</organizationUrl>
|
||||
<email>parrt@antlr.org</email>
|
||||
<roles>
|
||||
<role>Project Leader</role>
|
||||
<role>Developer - Java Target</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<organization>Temporal Wave LLC</organization>
|
||||
<organizationUrl>http://www.temporal-wave.com</organizationUrl>
|
||||
<email>jimi@temporal-wave.com</email>
|
||||
<roles>
|
||||
<role>Developer - Maven stuff</role>
|
||||
</roles>
|
||||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>BSD licence</name>
|
||||
<url>http://antlr.org/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<url>http://fisheye2.cenqua.com/browse/stringtemplate</url>
|
||||
<connection>http://fisheye2.cenqua.com/browse/stringtemplate</connection>
|
||||
</scm>
|
||||
|
||||
<!--
|
||||
Definition of the ANTLR repositories. Note that you can only deploy
|
||||
to the repositories via scp, and so the server must already know about
|
||||
your public key. ONly ANTLR developers are allowed to deploy to the
|
||||
release and snapshot repositories, which are synced with the Maven central
|
||||
repository.
|
||||
-->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>antlr-repo</id>
|
||||
<name>ANTLR Testing repository</name>
|
||||
<url>scpexe://antlr.org/home/mavensync/antlr-repo</url>
|
||||
</repository>
|
||||
|
||||
<snapshotRepository>
|
||||
<id>antlr-snapshot</id>
|
||||
<name>ANTLR Testing Snapshot Repository</name>
|
||||
<url>scpexe://antlr.org/home/mavensync/antlr-snapshot</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>2.7.7</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<defaultGoal>install</defaultGoal>
|
||||
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-ssh-external</artifactId>
|
||||
<version>1.0-beta-2</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
|
||||
|
||||
<!--
|
||||
The root of the source code for StringTemplate
|
||||
-->
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
|
||||
<!--
|
||||
The root of the test source code for StringTemplate.
|
||||
-->
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
|
||||
<!--
|
||||
All the resources that should be on the classpath, when
|
||||
the junit tests are run. Here we need to include the test
|
||||
source code directory as the .st files loaded dynamically
|
||||
by the tests, are located underneath this tree.
|
||||
-->
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>antlr-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<sourceDirectory>src/org/antlr/stringtemplate/language</sourceDirectory>
|
||||
<grammars>template.g, angle.bracket.template.g, action.g, eval.g, group.g, interface.g</grammars>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.4</source>
|
||||
<target>jsr14</target>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/src</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Loading…
Reference in New Issue