1 <?xml version="1.0" encoding="UTF-8"?> 2 <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"> 3 <parent> 4 <artifactId>antlr4-master</artifactId> 5 <groupId>org.antlr</groupId> 6 <version>4.5.3</version> 7 <relativePath>../../pom.xml</relativePath> 8 </parent> 9 <modelVersion>4.0.0</modelVersion> 10 <artifactId>antlr4</artifactId> 11 <name>ANTLR 4 Tool</name> 12 <description>The ANTLR 4 grammar compiler.</description> 13 <build> 14 <sourceDirectory>src</sourceDirectory> 15 <testSourceDirectory>test</testSourceDirectory> 16 <testResources> 17 <testResource> 18 <directory>test</directory> 19 </testResource> 20 </testResources> 21 <plugins> 22 <plugin> 23 <artifactId>maven-jar-plugin</artifactId> 24 <version>2.6</version> 25 <executions> 26 <execution> 27 <goals> 28 <goal>test-jar</goal> 29 </goals> 30 </execution> 31 </executions> 32 </plugin> 33 <plugin> 34 <groupId>org.antlr</groupId> 35 <artifactId>antlr3-maven-plugin</artifactId> 36 <version>3.5.2</version> 37 <executions> 38 <execution> 39 <goals> 40 <goal>antlr</goal> 41 </goals> 42 </execution> 43 </executions> 44 <configuration> 45 <sourceDirectory>src</sourceDirectory> 46 <verbose>true</verbose> 47 </configuration> 48 </plugin> 49 <plugin> 50 <artifactId>maven-shade-plugin</artifactId> 51 <version>2.3</version> 52 <executions> 53 <execution> 54 <phase>package</phase> 55 <goals> 56 <goal>shade</goal> 57 </goals> 58 <configuration> 59 <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> 60 <transformers> 61 <transformer> 62 <manifestEntries> 63 <Main-Class>org.antlr.v4.Tool</Main-Class> 64 </manifestEntries> 65 </transformer> 66 </transformers> 67 </configuration> 68 </execution> 69 </executions> 70 </plugin> 71 </plugins> 72 </build> 73 <dependencies> 74 <dependency> 75 <groupId>junit</groupId> 76 <artifactId>junit</artifactId> 77 <version>4.11</version> 78 <scope>test</scope> 79 <exclusions> 80 <exclusion> 81 <artifactId>hamcrest-core</artifactId> 82 <groupId>org.hamcrest</groupId> 83 </exclusion> 84 </exclusions> 85 </dependency> 86 <dependency> 87 <groupId>org.seleniumhq.selenium</groupId> 88 <artifactId>selenium-java</artifactId> 89 <version>2.44.0</version> 90 <scope>test</scope> 91 <exclusions> 92 <exclusion> 93 <artifactId>selenium-chrome-driver</artifactId> 94 <groupId>org.seleniumhq.selenium</groupId> 95 </exclusion> 96 <exclusion> 97 <artifactId>selenium-htmlunit-driver</artifactId> 98 <groupId>org.seleniumhq.selenium</groupId> 99 </exclusion> 100 <exclusion> 101 <artifactId>selenium-firefox-driver</artifactId> 102 <groupId>org.seleniumhq.selenium</groupId> 103 </exclusion> 104 <exclusion> 105 <artifactId>selenium-ie-driver</artifactId> 106 <groupId>org.seleniumhq.selenium</groupId> 107 </exclusion> 108 <exclusion> 109 <artifactId>selenium-safari-driver</artifactId> 110 <groupId>org.seleniumhq.selenium</groupId> 111 </exclusion> 112 <exclusion> 113 <artifactId>selenium-support</artifactId> 114 <groupId>org.seleniumhq.selenium</groupId> 115 </exclusion> 116 <exclusion> 117 <artifactId>webbit</artifactId> 118 <groupId>org.webbitserver</groupId> 119 </exclusion> 120 </exclusions> 121 </dependency> 122 <dependency> 123 <groupId>org.eclipse.jetty</groupId> 124 <artifactId>jetty-server</artifactId> 125 <version>8.1.16.v20140903</version> 126 <scope>test</scope> 127 <exclusions> 128 <exclusion> 129 <artifactId>javax.servlet</artifactId> 130 <groupId>org.eclipse.jetty.orbit</groupId> 131 </exclusion> 132 <exclusion> 133 <artifactId>jetty-continuation</artifactId> 134 <groupId>org.eclipse.jetty</groupId> 135 </exclusion> 136 <exclusion> 137 <artifactId>jetty-http</artifactId> 138 <groupId>org.eclipse.jetty</groupId> 139 </exclusion> 140 </exclusions> 141 </dependency> 142 </dependencies> 143 </project> 144 145