Querydsl JDO fails to build if JDO2 API not in Maven repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Vesa Marttila |
Bug Description
The following error is thrown when JDO2 API is not in the repository.
[INFO] -------
[ERROR] BUILD ERROR
[INFO] -------
[INFO] Failed to resolve artifact.
Missing:
----------
1) javax.jdo:
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.jdo -DartifactId=
Path to dependency:
1) org.datanucleus
2) javax.jdo:
----------
1 required artifact is missing.
for artifact:
org.datanucle
from the specified remote repositories:
central (http://
DN_M2_Repo (http://
datanucleus (http://
For some reason maven-datanucle
For more information check http://
Fixed by adding the following as a dependency for JDO2- API.