Bug#655774: libhibernate-validator-java: FTBFS: Missing Build-Depends on testng
Daniel Schepler
dschepler at gmail.com
Sat Jan 14 03:26:05 UTC 2012
Source: libhibernate-validator-java
Version: 4.0.2.GA-5
Severity: serious
From my pbuilder build log:
...
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/tmp/buildd/libhibernate-validator-
java-4.0.2.GA/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/libhibernate-validator-
java-4.0.2.GA/debian/maven-repo package
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Hibernate Validator Parent
[INFO] Hibernate Validator
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Validator Parent
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Validator
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO] Copying 2 resources to META-INF
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 92 source files to /tmp/buildd/libhibernate-validator-java-4.0.2.GA/hibernate-validator/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 9 resources
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.testng:testng:jar:jdk15:debian
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.testng -DartifactId=testng -Dversion=debian -Dclassifier=jdk15 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.testng -DartifactId=testng -Dversion=debian -Dclassifier=jdk15 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-validator:jar:4.0.2.GA
2) org.testng:testng:jar:jdk15:debian
----------
1 required artifact is missing.
for artifact:
org.hibernate:hibernate-validator:jar:4.0.2.GA
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Thu Jan 12 21:39:00 UTC 2012
[INFO] Final Memory: 11M/101M
[INFO] ------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list