{"id":76673,"library":"exec-maven-plugin","title":"Exec Maven Plugin","description":"Maven plugin to execute system and Java programs during the build lifecycle, useful for running scripts or applications.","status":"active","version":"3.6.3","language":"java","source_language":null,"source_url":"https://github.com/mojohaus/exec-maven-plugin","tags":["maven","plugin","execution","build"],"install":[{"cmd":"<dependency>\n  <groupId>org.codehaus.mojo</groupId>\n  <artifactId>exec-maven-plugin</artifactId>\n  <version>3.6.3</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.codehaus.mojo:exec-maven-plugin:3.6.3'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ExecMojo","correct":"org.codehaus.mojo.exec.ExecMojo"}],"quickstart":{"code":"import org.codehaus.mojo.exec.ExecMojo;\n\npublic class Example {\n    public static void main(String[] args) {\n        // Typically configured in pom.xml, not used directly in code\n        System.out.println(\"ExecMojo available for Maven builds\");\n    }\n}","lang":"java","description":"Demonstrate availability of the ExecMojo class."},"warnings":[{"fix":"Use exec:exec to run in a separate process.","message":"The exec:java goal runs in the same JVM as Maven, which may cause classpath conflicts.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'applic':21 'build':14,25 'exec':1 'execut':7,24 'java':10 'lifecycl':15 'maven':2,4,22 'plugin':3,5,23 'program':11 'run':18 'script':19 'system':8 'use':16","created_at":"2026-06-17T19:35:15.590180+00:00","updated_at":"2026-06-17T19:35:15.590180+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://www.mojohaus.org/exec-maven-plugin","github":"https://github.com/mojohaus/exec-maven-plugin","docs":"https://appdoc.app/artifact/org.codehaus.mojo/exec-maven-plugin/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}