[hibernate-dev] missing ANTLR dependency from gradle built pom.xml

Steve Ebersole steve at hibernate.org
Sat Jan 15 12:40:43 EST 2011


Pretty sure I checked this previously.  The part you ask about configures
the antlr plugin that generates the parsers from the grammar files.  Pretty
positive that also used to add antlr to the project's set or exported
deps.   That is where I think something changed.  Let me ask about this on
the gradle channels.
On Jan 14, 2011 12:39 PM, "Sanne Grinovero" <sanne.grinovero at gmail.com>
wrote:
> Hello,
> It seems that ANTLR is missing from the pom.xml generated by the new
> gradle build of Hibernate Core.
>
> The following patch seems to fix it but I couldn't find any
> information on the "antlr( libraries.antlr )" line, from the
> documentation is seems it's only being used to choose the ANTLR
> version to use to generate the parser code, but I couldn't find an
> option to also include it as dependency so I added an additional line.
>
> Could anybody confirm this change is right? (It seems to work).
>
> diff --git a/hibernate-core/hibernate-core.gradle
> b/hibernate-core/hibernate-core.gradle
> index 59f80aa..4f28e93 100644
> --- a/hibernate-core/hibernate-core.gradle
> +++ b/hibernate-core/hibernate-core.gradle
> @@ -12,6 +12,7 @@ dependencies {
> compile( libraries.commons_annotations )
> compile( libraries.jpa )
> antlr( libraries.antlr )
> + compile( libraries.antlr )
> provided( libraries.javassist )
> provided( libraries.cglib ) {
> transitive = true
>
> thanks,
> Sanne
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list