diff options
Diffstat (limited to 'gunit-maven-plugin/pom.xml')
-rw-r--r-- | gunit-maven-plugin/pom.xml | 269 |
1 files changed, 269 insertions, 0 deletions
diff --git a/gunit-maven-plugin/pom.xml b/gunit-maven-plugin/pom.xml new file mode 100644 index 0000000..a11a50e --- /dev/null +++ b/gunit-maven-plugin/pom.xml @@ -0,0 +1,269 @@ +<!-- + + [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"> + + <!-- + The ANTLR Maven artifacts are now released via the Sonotype OSS + repository, which means that they are synced to Maven central + within a few minutes of hitting the release repo for Sonotype. + To enable this, we inherit from the Sonotype provided parent + pom. However, we must also configure our .m2/settings.xml to include + the snapshot and staging server and the sonotype password. This + means that only ANTLR developers can released the artifacts, but + anyone can build locally. + --> + <parent> + <groupId>org.sonatype.oss</groupId> + <artifactId>oss-parent</artifactId> + <version>7</version> + </parent> + + <modelVersion>4.0.0</modelVersion> + + <prerequisites> + <maven>2.0</maven> + </prerequisites> + + <groupId>org.antlr</groupId> + <artifactId>maven-gunit-plugin</artifactId> + <packaging>maven-plugin</packaging> + <version>3.4</version> + + <name>Maven plugin for gUnit ANTLR V3.4</name> + <description>A Maven plugin for incorporating gUnit testing of grammars</description> + <url>http://antlr.org</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <!-- Where do we track bugs for this project? + --> + <issueManagement> + <system>JIRA</system> + <url>http://antlr.org/jira/browse/ANTLR</url> + </issueManagement> + + <!-- Location of the license description for this project + --> + <licenses> + <license> + <distribution>repo</distribution> + <name>The BSD License</name> + <url>http://www.antlr.org/LICENSE.txt </url> + </license> + </licenses> + + <profiles> + <profile> + <id>release-sign-artifacts</id> + <activation> + <property> + <name>deploy</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.3</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + + <!-- Ancilliary information for completeness + --> + <inceptionYear>2009</inceptionYear> + + <mailingLists> + <mailingList> + <archive>http://antlr.markmail.org/</archive> + <otherArchives> + <otherArchive>http://www.antlr.org/pipermail/antlr-interest/</otherArchive> + </otherArchives> + <name>ANTLR Users</name> + <subscribe>http://www.antlr.org/mailman/listinfo/antlr-interest/</subscribe> + <unsubscribe>http://www.antlr.org/mailman/options/antlr-interest/</unsubscribe> + <post>antlr-interest@antlr.org</post> + </mailingList> + </mailingLists> + + <organization> + <name>ANTLR.org</name> + <url>http://www.antlr.org</url> + </organization> + <!-- ============================================================================= --> + + <!-- + + 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>1.5.3</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>3.4</version> + </dependency> + + <!-- + Dependency on the gUnit artifact. + --> + <dependency> + <groupId>${groupId}</groupId> + <artifactId>gunit</artifactId> + <version>3.4</version> + </dependency> + + <!-- + Testing requirements... + --> + <dependency> + + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.2</version> + <scope>test</scope> + + </dependency> + + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-plugin-testing-harness</artifactId> + <version>1.0</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + + <defaultGoal>install</defaultGoal> + <plugins> + + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0.2</version> + <configuration> + <source>1.6</source> + <target>jsr14</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.4</version> + <configuration> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.1.2</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.8</version> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + + </build> + +</project> |