[hibernate-dev] Maven build problem
Steve Ebersole
steve at hibernate.org
Mon Sep 10 12:20:45 EDT 2007
This plugin has not had any releases yet.
Unfortunately this plugin has caused me a number of issues during this maven
migration. In fact it has had two impacts:
1) the need to use this plugin (this is a migration of the
org.apache.maven.plugin:maven-antlr-plugin)
2) the need to use a maven version greater than 2.0.7. The discerning here
will notice that 2.0.7 is the latest maven release. Until 2.0.8, we will
need to use snapshots. I am currently using a 2.1 snapshot. I am assured by
the maven lead that 2.0.8 is 2-3 weeks away.
So for the time being you must get a dev snapshot of maven either 2.0 or 2.1
(I have the 2.1 snapshot locally for those interested) and you must also
checkout and build the antlr plugin snapshot (no clue when to expect a
release of the antlr-maven-plugin).
On Saturday 08 September 2007 02:22:14 pm Diego Pires Plentz wrote:
> Hi Guys,
>
> I'm trying to build hibernate core, but I'm having this problem
>
> -------------------------------------
>
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Hibernate Core
> [INFO] task-segment: [eclipse:eclipse]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Preparing eclipse:eclipse
> Downloading:
> http://repository.jboss.com/maven2/org/codehaus/mojo/antlr-maven-pl
> ugin/2.0-SNAPSHOT/antlr-maven-plugin-2.0-SNAPSHOT.pom
> Downloading:
> http://snapshots.jboss.org/maven2/org/codehaus/mojo/antlr-maven-plu
> gin/2.0-SNAPSHOT/antlr-maven-plugin-2.0-SNAPSHOT.pom
> Downloading:
> http://repository.jboss.com/maven2/org/codehaus/mojo/antlr-maven-pl
> ugin/2.0-SNAPSHOT/antlr-maven-plugin-2.0-SNAPSHOT.pom
> Downloading:
> http://snapshots.jboss.org/maven2/org/codehaus/mojo/antlr-maven-plu
> gin/2.0-SNAPSHOT/antlr-maven-plugin-2.0-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.codehaus.mojo:antlr-maven-plugin
>
> Reason: POM 'org.codehaus.mojo:antlr-maven-plugin' not found in repository:
> Unab
> le to download the artifact from any repository
>
> org.codehaus.mojo:antlr-maven-plugin:pom:2.0-SNAPSHOT
>
> from the specified remote repositories:
> jboss-snapshot (http://snapshots.jboss.org/maven2),
> jboss-snapshot-plugins (http://snapshots.jboss.org/maven2),
> jboss-plugins (http://repository.jboss.com/maven2),
> jboss (http://repository.jboss.com/maven2),
> central (http://repo1.maven.org/maven2)
> for project org.codehaus.mojo:antlr-maven-plugin
>
> -------------------------------------
>
> Does anyone have the same problem?
>
> PS: I'm already set the profiles in MAVEN_HOME\conf\settings.xml
More information about the hibernate-dev
mailing list