{"id":56500,"library":"ant-junit","title":"Apache Ant JUnit Tasks","description":"Contains Ant tasks for running JUnit tests and generating reports.","status":"active","version":"1.10.17","language":"java","source_language":null,"source_url":"https://gitbox.apache.org/repos/asf/ant.git","tags":["ant","junit","testing","build"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.ant</groupId>\n  <artifactId>ant-junit</artifactId>\n  <version>1.10.17</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.ant:ant-junit:1.10.17'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"JUnitTask","correct":"org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"}],"quickstart":{"code":"import org.apache.tools.ant.taskdefs.optional.junit.JUnitTask;\nimport org.apache.tools.ant.BuildException;\n\nJUnitTask task = new JUnitTask();\ntask.setHaltonfailure(true);\ntask.execute();","lang":"java","description":"Execute JUnit tests via Ant task."},"warnings":[{"fix":"Use the junitlauncher task for JUnit 5 or migrate to Maven/Gradle.","message":"Ant JUnit tasks require JUnit 3 or 4; not compatible with JUnit 5.","severity":"breaking","affected_versions":">=1.10.0"}],"env_vars":null,"search_vec":"'ant':2,6,15 'apach':1 'build':18 'contain':5 'generat':13 'junit':3,10,16 'report':14 'run':9 'task':4,7 'test':11,17","created_at":"2026-06-15T10:38:43.359176+00:00","updated_at":"2026-06-15T10:38:43.359176+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://ant.apache.org/","github":null,"docs":"https://appdoc.app/artifact/org.apache.ant/ant-junit/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}