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>
|
||||
<groupId>antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>2.7.6</version>
|
||||
<version>${antlr.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-collections</groupId>
|
||||
|
@ -35,6 +35,7 @@
|
|||
<version>1.6.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- YUCK, YUCK, YUCK!!!! -->
|
||||
<groupId>javax.transaction</groupId>
|
||||
<artifactId>jta</artifactId>
|
||||
<version>1.1</version>
|
||||
|
@ -82,18 +83,16 @@
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antlr-plugin</artifactId>
|
||||
<!--
|
||||
This is how we should define dep on antlr...
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>antlr-maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>2.7.6</version>
|
||||
<version>${antlr.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
-->
|
||||
<configuration>
|
||||
<grammars>hql.g,hql-sql.g,sql-gen.g</grammars>
|
||||
</configuration>
|
||||
|
@ -111,8 +110,9 @@
|
|||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antlr-plugin</artifactId>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>antlr-maven-plugin</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<configuration>
|
||||
<!-- eventually should be based on the second phase grammar -->
|
||||
<grammars>hql.g</grammars>
|
||||
|
@ -149,4 +149,8 @@
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<properties>
|
||||
<antlr.version>2.7.6</antlr.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue