{"id":18562401,"url":"https://github.com/born2snipe/maven-plugin-execution-watcher-extension","last_synced_at":"2025-08-10T03:09:52.803Z","repository":{"id":5639292,"uuid":"6847699","full_name":"born2snipe/maven-plugin-execution-watcher-extension","owner":"born2snipe","description":"Record the maven plugin execution times of your build for later review","archived":false,"fork":false,"pushed_at":"2013-12-12T18:07:01.000Z","size":312,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T17:50:56.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/born2snipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-25T04:59:03.000Z","updated_at":"2013-12-12T18:07:02.000Z","dependencies_parsed_at":"2022-08-24T20:20:23.551Z","dependency_job_id":null,"html_url":"https://github.com/born2snipe/maven-plugin-execution-watcher-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/born2snipe/maven-plugin-execution-watcher-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fmaven-plugin-execution-watcher-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fmaven-plugin-execution-watcher-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fmaven-plugin-execution-watcher-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fmaven-plugin-execution-watcher-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/born2snipe","download_url":"https://codeload.github.com/born2snipe/maven-plugin-execution-watcher-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born2snipe%2Fmaven-plugin-execution-watcher-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269669181,"owners_count":24456612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T22:09:29.938Z","updated_at":"2025-08-10T03:09:52.776Z","avatar_url":"https://github.com/born2snipe.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maven Plugin Execution Time Monitor Extension\r\n\r\nThis maven extension logs all plugin executions to a [H2](http://www.h2database.com/html/main.html) database. This allows for monitoring plugins over time to help determine if there is any performance decline.\r\n\r\n## Setup\r\n- Clone the repo or download the zip of the code and build the project using Maven and get the jar from the target directory\r\n- Put the jar file in your maven's `lib/ext` directory. Maven auto-magically puts these jars in the classpath.\r\n- The data is stored in a local [H2](http://www.h2database.com/html/main.html) database in `${user.home}/.m2-plugin-execution-watcher`. To view the data you just need a JDBC friendly database viewer.\r\n\r\n## FAQ\r\n- How to change the directory location of the database?\r\n    - Provide the following system property `plugin.execution.watcher.directory=${directory-you-want-the-database}`\r\n\r\n- I keep seeing the following error: `[WARNING] Failed to notify spy org.apache.maven.eventspy.PluginWatcherEventSpy: Could not get JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLException: Database may be already in use: \"Locked by another process\". Possible solutions: close all other connection(s); use the server mode [90020-168]`\r\n    - This is a limitation of the embedded [H2](http://www.h2database.com/html/main.html) database. Only one process can access the database. (ex. mvn, db viewer, etc)\r\n\r\n- Can I change out the storage mechanism?\r\n    - You just need to implement the [BuildInformationRepository][1]\r\n    - Follow the steps for using Java's [ServiceLoader](http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html) or use Netbeans [@ServiceProvider](http://bits.netbeans.org/dev/javadoc/org-openide-util-lookup/org/openide/util/lookup/ServiceProvider.html) annotation\r\n    - Put your newly created class in a jar\r\n    - Place your new jar with it's required dependencies in the `lib/ext`\r\n    - You should be good to go\r\n\r\n- Can I track some data that is specific to the build?\r\n    - You can provide the following system property `plugin.execution.watcher.build.data=${data-to-store}` and the value provided will be stored with that run of the build\r\n    - the data can be up to 1024 characters\r\n\r\n[1]: https://github.com/born2snipe/maven-plugin-execution-watcher-extension/blob/master/src/main/java/co/leantechniques/maven/BuildInformationRepository.java \"repo\"\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn2snipe%2Fmaven-plugin-execution-watcher-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborn2snipe%2Fmaven-plugin-execution-watcher-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn2snipe%2Fmaven-plugin-execution-watcher-extension/lists"}