antlr version override for antlr-maven-plugin (broken in maven <= 2.0.7)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@13984 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
9e08a9b134
commit
e95686015d
22
core/pom.xml
22
core/pom.xml
|
@ -22,7 +22,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>antlr</groupId>
|
<groupId>antlr</groupId>
|
||||||
<artifactId>antlr</artifactId>
|
<artifactId>antlr</artifactId>
|
||||||
<version>2.7.6</version>
|
<version>${antlr.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-collections</groupId>
|
<groupId>commons-collections</groupId>
|
||||||
|
@ -35,6 +35,7 @@
|
||||||
<version>1.6.1</version>
|
<version>1.6.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
<!-- YUCK, YUCK, YUCK!!!! -->
|
||||||
<groupId>javax.transaction</groupId>
|
<groupId>javax.transaction</groupId>
|
||||||
<artifactId>jta</artifactId>
|
<artifactId>jta</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
|
@ -82,18 +83,16 @@
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>maven-antlr-plugin</artifactId>
|
<artifactId>antlr-maven-plugin</artifactId>
|
||||||
<!--
|
<version>2.0-SNAPSHOT</version>
|
||||||
This is how we should define dep on antlr...
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>antlr</groupId>
|
<groupId>antlr</groupId>
|
||||||
<artifactId>antlr</artifactId>
|
<artifactId>antlr</artifactId>
|
||||||
<version>2.7.6</version>
|
<version>${antlr.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
-->
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<grammars>hql.g,hql-sql.g,sql-gen.g</grammars>
|
<grammars>hql.g,hql-sql.g,sql-gen.g</grammars>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -111,8 +110,9 @@
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>maven-antlr-plugin</artifactId>
|
<artifactId>antlr-maven-plugin</artifactId>
|
||||||
|
<version>2.0-SNAPSHOT</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- eventually should be based on the second phase grammar -->
|
<!-- eventually should be based on the second phase grammar -->
|
||||||
<grammars>hql.g</grammars>
|
<grammars>hql.g</grammars>
|
||||||
|
@ -149,4 +149,8 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<antlr.version>2.7.6</antlr.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue