Package Details: java-testng 7.1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: java-testng
Description: A testing framework inspired by JUnit and NUnit
Upstream URL:
Licenses: Apache
Submitter: alucryd
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 24
Popularity: 0.001721
First Submitted: 2011-12-29 14:17
Last Updated: 2020-05-09 13:43

Latest Comments

1 2 Next › Last »

luccacondratiuk commented on 2020-08-24 14:34

gradle not working with Java 14... Need to change default java runtime to Java 8, at least in order to install it properly.

eolianoe commented on 2016-12-14 12:44

@Thah: fixed in 6.10-2
@MadPhysicist: this source easily provides .jar files that seems to be linked to the github of the author. If you have a more reliable way to create the jar files, I'll be happy to change the PKGBUILD

Thah commented on 2016-12-13 19:45

The sha256sum of the file downloaded from doesn't match the sha256sum in the PKGBUILD.

MadPhysicist commented on 2016-12-13 17:32

Just out of curiosity, what is The testng page there appears to be owned and maintained by Cedric himself, but I have not seen any reference to it in any of the testng documentation.

MadPhysicist commented on 2016-09-23 02:36

Looks like one of your sha256sums is not up to date

eolianoe commented on 2016-03-10 08:48

@MadPhysicist: changes done, thanks

MadPhysicist commented on 2016-03-10 04:17

Also, could you please change `export JAVA_HOME=/usr/lib/jvm/java-7-openjdk` to `export JAVA_HOME=/usr/lib/jvm/default` in `build()`? I tested with jdk8/jre8 and it works fine.

MadPhysicist commented on 2016-03-10 03:59

Could you please make the dependencies on java-runtime and java-environment be >=7 instead of =7?

cedlabulle commented on 2016-02-21 09:15


Typesetting the following line before installing fixed the issue for me :

export PATH=/usr/lib/jvm/java-7-openjdk/jre/bin/:$PATH

Good luck !

fusion809 commented on 2016-02-05 17:18

Building this package is returning this error:

==> Building and installing package
==> Making package: java-testng 6.9.4-3 (Sat Feb 6 03:15:12 AEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found
==> Validating source files with md5sums... ... Passed
==> Extracting sources...
-> Extracting with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
which: no javac in (/home/fusion809/perl5/bin:/home/fusion809/bin:/usr/local/bin:/home/fusion809/perl5/bin:/home/fusion809/bin:/usr/local/bin:/home/fusion809/perl5/bin:/home/fusion809/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/jvm/java-8-openjdk/bin/:/home/fusion809/bin:/usr/lib/go/bin:/root/.gem/ruby/2.3.0/bin:/home/fusion809/.gem/ruby/2.3.0/bin:/usr/lib/jvm/java-8-openjdk/bin/:/home/fusion809/bin:/usr/lib/go/bin:/root/.gem/ruby/2.3.0/bin:/home/fusion809/.gem/ruby/2.3.0/bin:/usr/lib/jvm/java-8-openjdk/bin/:/home/fusion809/bin:/usr/lib/go/bin:/root/.gem/ruby/2.3.0/bin:/home/fusion809/.gem/ruby/2.3.0/bin)
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building TestNG 6.9.4
[INFO] ------------------------------------------------------------------------
[INFO] --- build-helper-maven-plugin:1.9.1:add-source (default) @ testng ---
[INFO] Source directory: /tmp/yaourt-tmp-fusion809/aur-java-testng/src/testng-testng-6.9.4/target/generated-sources/version added.
[INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to /tmp/yaourt-tmp-fusion809/aur-java-testng/src/testng-testng-6.9.4/target/generated-sources/version
[INFO] Copying 14 resources
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ testng ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 373 source files to /tmp/yaourt-tmp-fusion809/aur-java-testng/src/testng-testng-6.9.4/target/classes
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.305 s
[INFO] Finished at: 2016-02-06T03:15:15+10:00
[INFO] Final Memory: 12M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project testng: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build java-testng.