Bug#592238: libhibernate3-java: FTBFS: maven error
Daniel Schepler
dschepler at gmail.com
Sun Aug 8 15:45:27 UTC 2010
Source: libhibernate3-java
Version: 3.5.4.Final-2
Severity: serious
From my pbuilder build log:
...
debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/maven-debian-helper/copy-repo.sh /tmp/buildd/libhibernate3-java-3.5.4.Final/debian
skip faking of existing dom4j:dom4j::debian
skip faking of existing javax.ejb:ejb-api::debian
skip faking of existing jaxen:jaxen::debian
mh_patchpoms -plibhibernate3-java --debian-build --keep-pom-version --maven-repo=/tmp/buildd/libhibernate3-java-3.5.4.Final/debian/maven-repo
touch debian/stamp-poms-patched
# before-build target may be used to unpatch the pom files, so we need to check if
# patching the pom files is needed here, normally not
if [ ! -f pom.xml.save ]; then \
/usr/bin/make -f debian/rules patch-poms; \
fi
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/libhibernate3-java-3.5.4.Final/debian/maven.properties -
Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/libhibernate3-java-3.5.4.Final/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 Core Parent POM
[INFO] Hibernate Core
[INFO] Hibernate Testing
[INFO] Hibernate Testsuite
[INFO] Hibernate Ehcache Integration
[INFO] Hibernate OSCache Integration
[INFO] Hibernate SwarmCache Integration
[INFO] Hibernate C3P0 ConnectionProvider
[INFO] Hibernate Proxool ConnectionProvider
[INFO] Hibernate Annotations
[INFO] Hibernate JMX Module
[INFO] Hibernate JDBC3-JdbcSupport Testing
[INFO] Hibernate Entity Manager
[INFO] Hibernate JDBC4-JdbcSupport Testing
[INFO] Hibernate Core Aggregator
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Core Parent POM
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Core
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.geronimo.specs:geronimo-jacc_1.1_spec:jar:debian
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.geronimo.specs -DartifactId=geronimo-jacc_1.1_spec -Dversion=debian -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.apache.geronimo.specs -DartifactId=geronimo-jacc_1.1_spec -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-core:jar:3.5.2-Final
2) org.apache.geronimo.specs:geronimo-jacc_1.1_spec:jar:debian
----------
1 required artifact is missing.
for artifact:
org.hibernate:hibernate-core:jar:3.5.2-Final
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: 9 seconds
[INFO] Finished at: Sun Aug 08 15:42:53 UTC 2010
[INFO] Final Memory: 24M/342M
[INFO] ------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the pkg-java-maintainers
mailing list