Download testng-5.0.jar file

Introduction

You can download testng-5.0.jar in this page.

License

Apache License, Version 2.0

Type List

testng-5.0.jar file has the following types.

META-INF/LICENSE.txt
META-INF/MANIFEST.MF
META-INF/maven/org.testng/testng/pom.properties
META-INF/maven/org.testng/testng/pom.xml
bsh.BSHAllocationExpression.class
bsh.BSHAmbiguousName.class
bsh.BSHArguments.class
bsh.BSHArrayDimensions.class
bsh.BSHArrayInitializer.class
bsh.BSHAssignment.class
bsh.BSHBinaryExpression.class
bsh.BSHBlock.class
bsh.BSHCastExpression.class
bsh.BSHClassDeclaration.class
bsh.BSHEnhancedForStatement.class
bsh.BSHForStatement.class
bsh.BSHFormalComment.class
bsh.BSHFormalParameter.class
bsh.BSHFormalParameters.class
bsh.BSHIfStatement.class
bsh.BSHImportDeclaration.class
bsh.BSHLiteral.class
bsh.BSHMethodDeclaration.class
bsh.BSHMethodInvocation.class
bsh.BSHPackageDeclaration.class
bsh.BSHPrimaryExpression.class
bsh.BSHPrimarySuffix.class
bsh.BSHPrimitiveType.class
bsh.BSHReturnStatement.class
bsh.BSHReturnType.class
bsh.BSHStatementExpressionList.class
bsh.BSHSwitchLabel.class
bsh.BSHSwitchStatement.class
bsh.BSHTernaryExpression.class
bsh.BSHThrowStatement.class
bsh.BSHTryStatement.class
bsh.BSHType.class
bsh.BSHTypedVariableDeclaration.class
bsh.BSHUnaryExpression.class
bsh.BSHVariableDeclarator.class
bsh.BSHWhileStatement.class
bsh.BlockNameSpace.class
bsh.BshClassManager.class
bsh.BshIterator.class
bsh.BshMethod.class
bsh.CallStack.class
bsh.Capabilities.class
bsh.ClassGenerator.class
bsh.ClassGeneratorImpl.class
bsh.ClassGeneratorUtil.class
bsh.ClassIdentifier.class
bsh.ClassPathException.class
bsh.CollectionManager.class
bsh.CommandLineReader.class
bsh.Console.class
bsh.ConsoleInterface.class
bsh.DelayedEvalBshMethod.class
bsh.EvalError.class
bsh.Interpreter.class
bsh.InterpreterError.class
bsh.JJTParserState.class
bsh.JavaCharStream.class
bsh.LHS.class
bsh.Modifiers.class
bsh.Name.class
bsh.NameSource.class
bsh.NameSpace.class
bsh.Node.class
bsh.ParseException.class
bsh.Parser.class
bsh.ParserConstants.class
bsh.ParserTokenManager.class
bsh.ParserTreeConstants.class
bsh.Primitive.class
bsh.Reflect.class
bsh.ReflectError.class
bsh.ReflectManager.class
bsh.Remote.class
bsh.ReturnControl.class
bsh.SimpleNode.class
bsh.StringUtil.class
bsh.TargetError.class
bsh.This.class
bsh.Token.class
bsh.TokenMgrError.class
bsh.Types.class
bsh.UtilEvalError.class
bsh.UtilTargetError.class
bsh.Variable.class
bsh.XThis.class
bsh.classpath.BshClassLoader.class
bsh.classpath.BshClassPath.class
bsh.classpath.ClassManagerImpl.class
bsh.classpath.ClassPathListener.class
bsh.classpath.DiscreteFilesClassLoader.class
bsh.collection.CollectionIterator.class
bsh.collection.CollectionManagerImpl.class
bsh.commands.dir.class
bsh.org.objectweb.asm.ByteVector.class
bsh.org.objectweb.asm.ClassVisitor.class
bsh.org.objectweb.asm.ClassWriter.class
bsh.org.objectweb.asm.CodeVisitor.class
bsh.org.objectweb.asm.CodeWriter.class
bsh.org.objectweb.asm.Constants.class
bsh.org.objectweb.asm.Edge.class
bsh.org.objectweb.asm.Item.class
bsh.org.objectweb.asm.Label.class
bsh.org.objectweb.asm.Type.class
bsh.reflect.ReflectManagerImpl.class
bsh.servlet.BshServlet.class
bsh.servlet.SimpleTemplate.class
bsh.util.AWTConsole.class
bsh.util.AWTDemoApplet.class
bsh.util.AWTRemoteApplet.class
bsh.util.BeanShellBSFEngine.class
bsh.util.BshCanvas.class
bsh.util.ClassBrowser.class
bsh.util.GUIConsoleInterface.class
bsh.util.Httpd.class
bsh.util.HttpdConnection.class
bsh.util.JConsole.class
bsh.util.JDemoApplet.class
bsh.util.JRemoteApplet.class
bsh.util.NameCompletion.class
bsh.util.NameCompletionTable.class
bsh.util.Sessiond.class
bsh.util.SessiondConnection.class
bsh.util.Util.class
bsh/commands/addClassPath.bsh
bsh/commands/bg.bsh
bsh/commands/bind.bsh
bsh/commands/browseClass.bsh
bsh/commands/cat.bsh
bsh/commands/cd.bsh
bsh/commands/classBrowser.bsh
bsh/commands/clear.bsh
bsh/commands/cp.bsh
bsh/commands/debug.bsh
bsh/commands/desktop.bsh
bsh/commands/dirname.bsh
bsh/commands/editor.bsh
bsh/commands/error.bsh
bsh/commands/eval.bsh
bsh/commands/exec.bsh
bsh/commands/exit.bsh
bsh/commands/extend.bsh
bsh/commands/fontMenu.bsh
bsh/commands/frame.bsh
bsh/commands/getBshPrompt.bsh
bsh/commands/getClass.bsh
bsh/commands/getClassPath.bsh
bsh/commands/getResource.bsh
bsh/commands/getSourceFileInfo.bsh
bsh/commands/importCommands.bsh
bsh/commands/importObject.bsh
bsh/commands/javap.bsh
bsh/commands/load.bsh
bsh/commands/makeWorkspace.bsh
bsh/commands/mv.bsh
bsh/commands/object.bsh
bsh/commands/pathToFile.bsh
bsh/commands/print.bsh
bsh/commands/printBanner.bsh
bsh/commands/pwd.bsh
bsh/commands/reloadClasses.bsh
bsh/commands/rm.bsh
bsh/commands/run.bsh
bsh/commands/save.bsh
bsh/commands/server.bsh
bsh/commands/setAccessibility.bsh
bsh/commands/setClassPath.bsh
bsh/commands/setFont.bsh
bsh/commands/setNameCompletion.bsh
bsh/commands/setNameSpace.bsh
bsh/commands/setStrictJava.bsh
bsh/commands/show.bsh
bsh/commands/source.bsh
bsh/commands/sourceRelative.bsh
bsh/commands/thinBorder.bsh
bsh/commands/unset.bsh
bsh/commands/which.bsh
bsh/commands/workspaceEditor.bsh
bsh/servlet/error.template
bsh/servlet/getVersion.bsh
bsh/servlet/page.template
bsh/servlet/result.template
bsh/util/lib/.cvswrappers
bsh/util/lib/awtconsole.html
bsh/util/lib/eye.jpg
bsh/util/lib/icon.gif
bsh/util/lib/jconsole.html
bsh/util/lib/remote.html
bsh/util/lib/script.gif
bsh/util/lib/small_bean_shell.gif
bsh/util/lib/splash.gif
bsh/util/lib/workspace.gif
com.beust.testng.TestNG.class
com.beust.testng.TestNGAntTask.class
com.thoughtworks.qdox.JavaDocBuilder.class
com.thoughtworks.qdox.Searcher.class
com.thoughtworks.qdox.ant.AbstractQdoxTask.class
com.thoughtworks.qdox.directorywalker.DirectoryScanner.class
com.thoughtworks.qdox.directorywalker.FileVisitor.class
com.thoughtworks.qdox.directorywalker.Filter.class
com.thoughtworks.qdox.directorywalker.SuffixFilter.class
com.thoughtworks.qdox.junit.APITestCase.class
com.thoughtworks.qdox.model.AbstractInheritableJavaEntity.class
com.thoughtworks.qdox.model.AbstractJavaEntity.class
com.thoughtworks.qdox.model.BeanProperty.class
com.thoughtworks.qdox.model.ClassLibrary.class
com.thoughtworks.qdox.model.DefaultDocletTag.class
com.thoughtworks.qdox.model.DefaultDocletTagFactory.class
com.thoughtworks.qdox.model.DocletTag.class
com.thoughtworks.qdox.model.DocletTagFactory.class
com.thoughtworks.qdox.model.IndentBuffer.class
com.thoughtworks.qdox.model.JavaClass.class
com.thoughtworks.qdox.model.JavaClassCache.class
com.thoughtworks.qdox.model.JavaClassParent.class
com.thoughtworks.qdox.model.JavaField.class
com.thoughtworks.qdox.model.JavaMethod.class
com.thoughtworks.qdox.model.JavaParameter.class
com.thoughtworks.qdox.model.JavaSource.class
com.thoughtworks.qdox.model.Member.class
com.thoughtworks.qdox.model.ModelBuilder.class
com.thoughtworks.qdox.model.Type.class
com.thoughtworks.qdox.model.util.TagParser.class
com.thoughtworks.qdox.parser.Builder.class
com.thoughtworks.qdox.parser.Lexer.class
com.thoughtworks.qdox.parser.ParseException.class
com.thoughtworks.qdox.parser.impl.JFlexLexer.class
com.thoughtworks.qdox.parser.impl.Parser.class
com.thoughtworks.qdox.parser.structs.ClassDef.class
com.thoughtworks.qdox.parser.structs.FieldDef.class
com.thoughtworks.qdox.parser.structs.LocatedDef.class
com.thoughtworks.qdox.parser.structs.MethodDef.class
com.thoughtworks.qdox.parser.structs.TagDef.class
com.thoughtworks.qdox.parser.structs.TypeDef.class
edu.emory.mathcs.util.AbstractQueue.class
edu.emory.mathcs.util.PriorityQueue.class
edu.emory.mathcs.util.Queue.class
edu.emory.mathcs.util.concurrent.AbstractExecutorService.class
edu.emory.mathcs.util.concurrent.ArrayBlockingQueue.class
edu.emory.mathcs.util.concurrent.BlockingQueue.class
edu.emory.mathcs.util.concurrent.BrokenBarrierException.class
edu.emory.mathcs.util.concurrent.Callable.class
edu.emory.mathcs.util.concurrent.CancellationException.class
edu.emory.mathcs.util.concurrent.CompletionService.class
edu.emory.mathcs.util.concurrent.ConcurrentHashMap.class
edu.emory.mathcs.util.concurrent.ConcurrentMap.class
edu.emory.mathcs.util.concurrent.CopyOnWriteArrayList.class
edu.emory.mathcs.util.concurrent.CopyOnWriteArraySet.class
edu.emory.mathcs.util.concurrent.CountDownLatch.class
edu.emory.mathcs.util.concurrent.CyclicBarrier.class
edu.emory.mathcs.util.concurrent.DelayQueue.class
edu.emory.mathcs.util.concurrent.Delayed.class
edu.emory.mathcs.util.concurrent.Exchanger.class
edu.emory.mathcs.util.concurrent.ExecutionException.class
edu.emory.mathcs.util.concurrent.Executor.class
edu.emory.mathcs.util.concurrent.ExecutorCompletionService.class
edu.emory.mathcs.util.concurrent.ExecutorService.class
edu.emory.mathcs.util.concurrent.Executors.class
edu.emory.mathcs.util.concurrent.Future.class
edu.emory.mathcs.util.concurrent.FutureTask.class
edu.emory.mathcs.util.concurrent.LinkedBlockingQueue.class
edu.emory.mathcs.util.concurrent.PriorityBlockingQueue.class
edu.emory.mathcs.util.concurrent.RejectedExecutionException.class
edu.emory.mathcs.util.concurrent.RejectedExecutionHandler.class
edu.emory.mathcs.util.concurrent.ScheduledExecutorService.class
edu.emory.mathcs.util.concurrent.ScheduledFuture.class
edu.emory.mathcs.util.concurrent.ScheduledThreadPoolExecutor.class
edu.emory.mathcs.util.concurrent.Semaphore.class
edu.emory.mathcs.util.concurrent.SynchronousQueue.class
edu.emory.mathcs.util.concurrent.ThreadFactory.class
edu.emory.mathcs.util.concurrent.ThreadPoolExecutor.class
edu.emory.mathcs.util.concurrent.TimeUnit.class
edu.emory.mathcs.util.concurrent.TimeoutException.class
edu.emory.mathcs.util.concurrent.atomic.AtomicBoolean.class
edu.emory.mathcs.util.concurrent.atomic.AtomicInteger.class
edu.emory.mathcs.util.concurrent.atomic.AtomicIntegerArray.class
edu.emory.mathcs.util.concurrent.atomic.AtomicLong.class
edu.emory.mathcs.util.concurrent.atomic.AtomicLongArray.class
edu.emory.mathcs.util.concurrent.atomic.AtomicMarkableReference.class
edu.emory.mathcs.util.concurrent.atomic.AtomicReference.class
edu.emory.mathcs.util.concurrent.atomic.AtomicReferenceArray.class
edu.emory.mathcs.util.concurrent.atomic.AtomicStampedReference.class
edu.emory.mathcs.util.concurrent.helpers.FIFOWaitQueue.class
edu.emory.mathcs.util.concurrent.helpers.Utils.class
edu.emory.mathcs.util.concurrent.helpers.WaitQueue.class
edu.emory.mathcs.util.concurrent.locks.CondVar.class
edu.emory.mathcs.util.concurrent.locks.Condition.class
edu.emory.mathcs.util.concurrent.locks.Lock.class
edu.emory.mathcs.util.concurrent.locks.ReadWriteLock.class
edu.emory.mathcs.util.concurrent.locks.ReentrantLock.class
edu.emory.mathcs.util.concurrent.locks.ReentrantReadWriteLock.class
org.testng.Assert.class
org.testng.AssertJUnit.class
org.testng.ClassMethodMap.class
org.testng.IClass.class
org.testng.IExtraOutput.class
org.testng.IHookCallBack.class
org.testng.IHookable.class
org.testng.IInstanceInfo.class
org.testng.IMethodSelector.class
org.testng.IReporter.class
org.testng.IResultMap.class
org.testng.ISuite.class
org.testng.ISuiteListener.class
org.testng.ISuiteResult.class
org.testng.ITest.class
org.testng.ITestClass.class
org.testng.ITestClassFinder.class
org.testng.ITestContext.class
org.testng.ITestListener.class
org.testng.ITestMethodFinder.class
org.testng.ITestNGMethod.class
org.testng.ITestResult.class
org.testng.ITestRunnerFactory.class
org.testng.JUnitConverter.class
org.testng.JUnitConverterTask.class
org.testng.Reporter.class
org.testng.SuiteResult.class
org.testng.SuiteRunner.class
org.testng.TestClass.class
org.testng.TestException.class
org.testng.TestListenerAdapter.class
org.testng.TestNG.class
org.testng.TestNGAntTask.class
org.testng.TestNGCommandLineArgs.class
org.testng.TestNGException.class
org.testng.TestRunner.class
org.testng.annotations.AfterClass.class
org.testng.annotations.AfterGroups.class
org.testng.annotations.AfterMethod.class
org.testng.annotations.AfterSuite.class
org.testng.annotations.AfterTest.class
org.testng.annotations.BeforeClass.class
org.testng.annotations.BeforeGroups.class
org.testng.annotations.BeforeMethod.class
org.testng.annotations.BeforeSuite.class
org.testng.annotations.BeforeTest.class
org.testng.annotations.Configuration.class
org.testng.annotations.DataProvider.class
org.testng.annotations.ExpectedExceptions.class
org.testng.annotations.Factory.class
org.testng.annotations.Parameters.class
org.testng.annotations.Test.class
org.testng.internal.ArrayIterator.class
org.testng.internal.BaseClassFinder.class
org.testng.internal.BaseTestMethod.class
org.testng.internal.ClassHelper.class
org.testng.internal.ClassImpl.class
org.testng.internal.ConfigurationGroupMethods.class
org.testng.internal.ConfigurationMethod.class
org.testng.internal.Constants.class
org.testng.internal.ExtraOutput.class
org.testng.internal.FactoryMethod.class
org.testng.internal.Graph.class
org.testng.internal.HostFile.class
org.testng.internal.IInvoker.class
org.testng.internal.ITestResultNotifier.class
org.testng.internal.InstanceInfo.class
org.testng.internal.InvokeMethodRunnable.class
org.testng.internal.InvokedMethod.class
org.testng.internal.Invoker.class
org.testng.internal.JUnitUtils.class
org.testng.internal.MethodHelper.class
org.testng.internal.MethodInheritance.class
org.testng.internal.MethodSelectorDescriptor.class
org.testng.internal.PackageUtils.class
org.testng.internal.Parameters.class
org.testng.internal.ResultMap.class
org.testng.internal.RunInfo.class
org.testng.internal.TestMethodWorker.class
org.testng.internal.TestNGClassFinder.class
org.testng.internal.TestNGMethod.class
org.testng.internal.TestNGMethodFinder.class
org.testng.internal.TestNGProperty.class
org.testng.internal.TestResult.class
org.testng.internal.Utils.class
org.testng.internal.XmlMethodSelector.class
org.testng.internal.annotations.AfterSuiteAnnotation.class
org.testng.internal.annotations.AnnotationConfiguration.class
org.testng.internal.annotations.AnnotationHelper.class
org.testng.internal.annotations.BaseBeforeAfter.class
org.testng.internal.annotations.BeforeSuiteAnnotation.class
org.testng.internal.annotations.ConfigurationAnnotation.class
org.testng.internal.annotations.Converter.class
org.testng.internal.annotations.DataProviderAnnotation.class
org.testng.internal.annotations.ExpectedExceptionsAnnotation.class
org.testng.internal.annotations.FactoryAnnotation.class
org.testng.internal.annotations.IAfterClass.class
org.testng.internal.annotations.IAfterGroups.class
org.testng.internal.annotations.IAfterMethod.class
org.testng.internal.annotations.IAfterSuite.class
org.testng.internal.annotations.IAfterTest.class
org.testng.internal.annotations.IAfterTests.class
org.testng.internal.annotations.IAnnotation.class
org.testng.internal.annotations.IAnnotationFinder.class
org.testng.internal.annotations.IBaseBeforeAfter.class
org.testng.internal.annotations.IBeforeClass.class
org.testng.internal.annotations.IBeforeGroups.class
org.testng.internal.annotations.IBeforeMethod.class
org.testng.internal.annotations.IBeforeSuite.class
org.testng.internal.annotations.IBeforeTest.class
org.testng.internal.annotations.IConfiguration.class
org.testng.internal.annotations.IDataProvider.class
org.testng.internal.annotations.IExpectedExceptions.class
org.testng.internal.annotations.IFactory.class
org.testng.internal.annotations.IParameterizable.class
org.testng.internal.annotations.IParameters.class
org.testng.internal.annotations.ITest.class
org.testng.internal.annotations.ITestOrConfiguration.class
org.testng.internal.annotations.JDK14AnnotationFinder.class
org.testng.internal.annotations.JDK14TagFactory.class
org.testng.internal.annotations.JDK15AnnotationFinder.class
org.testng.internal.annotations.JDK15TagFactory.class
org.testng.internal.annotations.ParametersAnnotation.class
org.testng.internal.annotations.TestAnnotation.class
org.testng.internal.annotations.TestOrConfiguration.class
org.testng.internal.remote.SlavePool.class
org.testng.internal.thread.CountDownAdapter.class
org.testng.internal.thread.ExecutorAdapter.class
org.testng.internal.thread.FutureResultAdapter.class
org.testng.internal.thread.ICountDown.class
org.testng.internal.thread.IExecutor.class
org.testng.internal.thread.IFutureResult.class
org.testng.internal.thread.IPooledExecutor.class
org.testng.internal.thread.IThreadFactory.class
org.testng.internal.thread.PooledExecutorAdapter.class
org.testng.internal.thread.TestNGThread.class
org.testng.internal.thread.ThreadExecutionException.class
org.testng.internal.thread.ThreadTimeoutException.class
org.testng.internal.thread.ThreadUtil.class
org.testng.internal.thread.port.CountDownAdapter.class
org.testng.internal.thread.port.ExecutorAdapter.class
org.testng.internal.thread.port.FutureResultAdapter.class
org.testng.internal.thread.port.PooledExecutorAdapter.class
org.testng.junit.INameFilter.class
org.testng.junit.JUnitClassFinder.class
org.testng.junit.JUnitDirectoryConverter.class
org.testng.junit.JUnitMethodFinder.class
org.testng.junit.JUnitTestConverter.class
org.testng.log.TextFormatter.class
org.testng.log4testng.Logger.class
org.testng.remote.ConnectionInfo.class
org.testng.remote.RemoteSuiteWorker.class
org.testng.remote.RemoteTestWorker.class
org.testng.remote.RemoteWorker.class
org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.class
org.testng.remote.strprotocol.GenericMessage.class
org.testng.remote.strprotocol.IMessage.class
org.testng.remote.strprotocol.IRemoteSuiteListener.class
org.testng.remote.strprotocol.IRemoteTestListener.class
org.testng.remote.strprotocol.IStringMessage.class
org.testng.remote.strprotocol.MessageHelper.class
org.testng.remote.strprotocol.RemoteMessageSenderTestListener.class
org.testng.remote.strprotocol.StringMessageSenderHelper.class
org.testng.remote.strprotocol.SuiteMessage.class
org.testng.remote.strprotocol.TestMessage.class
org.testng.remote.strprotocol.TestResultMessage.class
org.testng.reporters.DotTestListener.class
org.testng.reporters.ExitCodeListener.class
org.testng.reporters.FailedReporter.class
org.testng.reporters.HtmlHelper.class
org.testng.reporters.JUnitXMLReporter.class
org.testng.reporters.SuiteHTMLReporter.class
org.testng.reporters.Tag.class
org.testng.reporters.TestHTMLReporter.class
org.testng.reporters.TextReporter.class
org.testng.reporters.XMLConstants.class
org.testng.reporters.XMLReporter.class
org.testng.reporters.XMLStringBuffer.class
org.testng.reporters.XMLUtils.class
org.testng.xml.ClassSuite.class
org.testng.xml.LaunchSuite.class
org.testng.xml.Parser.class
org.testng.xml.SuiteGenerator.class
org.testng.xml.TestNGContentHandler.class
org.testng.xml.XmlClass.class
org.testng.xml.XmlMethodSelector.class
org.testng.xml.XmlPackage.class
org.testng.xml.XmlSuite.class
org.testng.xml.XmlTest.class

Pom

testng-5.0.pom file content.

<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!-- 
 ~ Generously contributed by Brett Porter of maven, brett.porter@gmail.com.
 ~
 ~ The build instructions given were:
 ~ 
 ~ POM for test NG. Usage:
 ~
 ~ mvn clean install -P jdk14
 ~ mvn clean install -P jdk15
 ~ 
 ~ gotchas:
 ~
 ~    * can't build them both in one go. This would be done by having a -core, -jdk14 and -jdk15 library instead
 ~    * you end up with a testng-$version.jar as well as the per-jdk versions
 ~    * doesn't run tests
 ~    * the backport library is not a version that I can find anywhere on the web.
 ~
 ~ There are certainly better ways to do this (especially if restructuring is an option), but this 
 ~ was teh most expedient to get things in the local repo.
 -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.testng</groupId>
  <artifactId>testng</artifactId>
  <name>TestNG</name>
  <version>5.0</version>
  <description>TestNG is a unit testing framework.</description>
  <url>http://testng.org</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  
  <scm>
    <connection>scm:cvs:cvs.dev.java.net:/cvs/testng</connection>
    <url>https://testng.dev.java.net/source/browse/testng</url>
  </scm>
  
  <profiles>
    <profile>
      <id>jdk14</id>
      <activation>
        <jdk>1.4</jdk>
      </activation>
      <dependencies>
        <dependency>
          <groupId>backport-util-concurrent</groupId>
          <artifactId>backport-util-concurrent</artifactId>
          <version>1.0</version>
          <!-- I can't find where this version really came from -->
          <systemPath>${basedir}/3rdparty/util-concurrent.jar</systemPath>
          <scope>system</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <configuration>
              <sources>
                <source>src/jdk14</source>
              </sources>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>add-source</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <executions>
              <execution>
                <configuration>
                  <classifier>jdk14</classifier>
                </configuration>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
<!-- Won't work, it's not the right dep
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>dependency-maven-plugin</artifactId>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>backport-util-concurrent</groupId>
                  <artifactId>backport-util-concurrent</artifactId>
                  <version>1.0</version>
                </artifactItem>
              </artifactItems>
            </configuration>
          </plugin>
-->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <phase>process-sources</phase>
                <configuration>
                  <tasks>
                    <unzip dest="target/classes" src="3rdparty/util-concurrent.jar" />
                  </tasks>
                </configuration>
                <goals>
                  <goal>run</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>jdk15</id>
      <activation>
        <jdk>!1.4</jdk>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <executions>
              <execution>
                <configuration>
                  <classifier>jdk15</classifier>
                </configuration>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <configuration>
              <sources>
                <source>src/jdk15</source>
              </sources>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>add-source</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>default-tools.jar</id>
      <activation>
        <property>
          <name>java.vendor</name>
          <value>Sun Microsystems Inc.</value>
        </property>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <optional>true</optional>
          <systemPath>${java.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.6.5</version>
      <optional>provided</optional>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
    </dependency>
    <dependency>
      <groupId>qdox</groupId>
      <artifactId>qdox</artifactId>
      <version>1.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>bsh</groupId>
      <artifactId>bsh</artifactId>
      <version>2.0b1</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>src/main</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>dependency-maven-plugin</artifactId>
        <configuration>
          <outputDirectory>${project.build.outputDirectory}</outputDirectory>
          <artifactItems>
            <artifactItem>
              <groupId>qdox</groupId>
              <artifactId>qdox</artifactId>
              <version>1.5</version>
            </artifactItem>
            <artifactItem>
              <groupId>bsh</groupId>
              <artifactId>bsh</artifactId>
              <version>2.0b1</version>
            </artifactItem>
          </artifactItems>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>unpack</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>org.testng.TestNG</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <distributionManagement>
    <snapshotRepository>
      <id>snapshots</id>
      <url>scp://beaver.codehaus.org/home/projects/maven/repository-staging/snapshots/maven2</url>
    </snapshotRepository>
  </distributionManagement>
</project>

POM Entry

<dependency>
   <groupId>org.testng</groupId>
   <artifactId>testng</artifactId>
   <version>5.0</version>
</dependency>

Download

If you think the following testng-5.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download testng-5.0.jar file




PreviousNext

Related