Querydsl JDO fails to build if JDO2 API not in Maven repository

Bug #672925 reported by Vesa Marttila on 2010-11-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Vesa Marttila

Bug Description

The following error is thrown when JDO2 API is not in the repository.

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

1) javax.jdo:jdo2-api:jar:2.3-ec

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.jdo -DartifactId=jdo2-api -Dversion=2.3-ec -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=javax.jdo -DartifactId=jdo2-api -Dversion=2.3-ec -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.datanucleus:maven-datanucleus-plugin:maven-plugin:2.0.1
   2) javax.jdo:jdo2-api:jar:2.3-ec

1 required artifact is missing.

for artifact:

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  DN_M2_Repo (http://www.datanucleus.org/downloads/maven2/),
  datanucleus (http://www.datanucleus.org/downloads/maven2)

For some reason maven-datanucleus-plugin requires JDO2 API as an explicit dependency.
For more information check http://stackoverflow.com/questions/2571619/maven-building-for-googleappengine-forced-to-include-jdo-libraries.

Vesa Marttila (ponzao) wrote :

Fixed by adding the following as a dependency for JDO2- API.


Changed in querydsl:
assignee: nobody → Vesa Marttila (ponzao)
importance: Undecided → Medium
status: New → In Progress
status: In Progress → Fix Committed

Released in 2.0.4

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers