Package Details: java-testng 7.10.2-1

Git Clone URL: https://aur.archlinux.org/java-testng.git (read-only, click to copy)
Package Base: java-testng
Description: A testing framework inspired by JUnit and NUnit
Upstream URL: https://testng.org
Licenses: Apache-2.0
Submitter: alucryd
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 24
Popularity: 0.000000
First Submitted: 2011-12-29 14:17 (UTC)
Last Updated: 2024-05-01 21:13 (UTC)

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

eolianoe commented on 2016-03-10 08:48 (UTC)

@MadPhysicist: changes done, thanks

MadPhysicist commented on 2016-03-10 04:17 (UTC)

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 (UTC)

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 (UTC)

@fusion809 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 (UTC)

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 testng-6.9.4.zip ==> Validating source files with md5sums... testng-6.9.4.zip ... Passed ==> Extracting sources... -> Extracting testng-6.9.4.zip 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] ------------------------------------------------------------------------ [INFO] Building TestNG 6.9.4 [INFO] ------------------------------------------------------------------------ [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] [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] [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] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [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] BUILD FAILURE [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] [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] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build java-testng.

eolianoe commented on 2015-05-27 20:13 (UTC)

The makedepend line disappeared from the uploaded PKGBUILD. The build requires maven.

Xwang commented on 2015-05-27 18:42 (UTC)

I have the following error: /home/andreak/tmp/yaourt-tmp-andreak/aur-java-testng/./PKGBUILD: riga 18: mvn: comando non trovato ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... ==> ERRORE: Makepkg non è riuscito a compilare java-testng.

grimsock commented on 2015-05-27 11:35 (UTC)

Thanks! Fixed. I disowned package.

Ramon commented on 2015-05-27 08:07 (UTC)

Thanks eolianoe! Your PKGBUILD works (for me).

eolianoe commented on 2015-05-26 21:36 (UTC)

Here is an updated and working (but not fully tested) PKGBUILD [1]. The same kind of modifications need to be applied to the java-testng-doc package [2]. @grimsock: if you do not care about the package, could you disown it ? [1] http://pastebin.com/X2sWv4n4 [2] https://aur.archlinux.org/packages/java-testng-doc/