Bug#771260: testng: misses a build depend on ant

Hector Oron zumbi at debian.org
Fri Nov 28 01:07:02 UTC 2014


Package: testng
Version: 6.8.8-3
Severity: important

Hello,

  While trying to compile testng, I encountered the following build failure:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building TestNG
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.ant:ant:jar:debian

  Try downloading the file manually from the project website.

    Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant -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.ant -DartifactId=ant -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency: 
      1) org.testng:testng:jar:6.8.8
      2) org.apache.ant:ant:jar:debian

   ----------
1 required artifact is missing.



Adding a build dependency on ant, solved the issue for me.

Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.14-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list