87 lines
3.1 KiB
XML
87 lines
3.1 KiB
XML
<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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<groupId>de.lusiardi.maven</groupId>
|
||
<artifactId>mavenAntlrIntegration</artifactId>
|
||
<packaging>jar</packaging>
|
||
<version>0.1</version>
|
||
<name>Apache Maven – ANTLR Integration</name>
|
||
<prerequisites>
|
||
<maven>3.0</maven>
|
||
</prerequisites>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr3-maven-plugin</artifactId>
|
||
<version>3.5</version>
|
||
<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>
|
||
<source>1.5</source>
|
||
<target>1.5</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-shade-plugin</artifactId>
|
||
<version>2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>shade</goal>
|
||
</goals>
|
||
<configuration>
|
||
<transformers>
|
||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||
<mainClass>b1.Main</mainClass>
|
||
</transformer>
|
||
</transformers>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>4.11</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>jline</groupId>
|
||
<artifactId>jline</artifactId>
|
||
<version>2.11</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr-runtime</artifactId>
|
||
<version>3.5</version>
|
||
<type>jar</type>
|
||
</dependency>
|
||
</dependencies>
|
||
<repositories>
|
||
<repository>
|
||
<id>jline</id>
|
||
<name>JLine Project Repository</name>
|
||
<url>http://jline.sourceforge.net/m2repo</url>
|
||
</repository>
|
||
</repositories>
|
||
</project>
|