{"id":26121571,"url":"https://github.com/fizzed/maven-plugins","last_synced_at":"2025-04-13T12:51:16.703Z","repository":{"id":22896363,"uuid":"26244782","full_name":"fizzed/maven-plugins","owner":"fizzed","description":"Collection of Maven plugins useful for gettin 'er done","archived":false,"fork":false,"pushed_at":"2023-11-30T00:35:34.000Z","size":41,"stargazers_count":59,"open_issues_count":5,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T03:51:22.098Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fizzed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-05T23:32:54.000Z","updated_at":"2025-02-14T19:15:55.000Z","dependencies_parsed_at":"2022-08-21T05:10:09.396Z","dependency_job_id":null,"html_url":"https://github.com/fizzed/maven-plugins","commit_stats":null,"previous_names":["fizzed/java-maven-plugins"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fmaven-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fmaven-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fmaven-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizzed%2Fmaven-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fizzed","download_url":"https://codeload.github.com/fizzed/maven-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717252,"owners_count":21150388,"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","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":"2025-03-10T14:23:59.023Z","updated_at":"2025-04-13T12:51:16.683Z","avatar_url":"https://github.com/fizzed.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maven Plugins by Fizzed\n\n[![Build Status](https://travis-ci.org/fizzed/maven-plugins.svg)](https://travis-ci.org/fizzed/java-maven-plugins)\n\n## Overview\n\nCollection of Maven plugins for various tasks.\n\n## Sponsorship \u0026 Support\n\n![](https://cdn.fizzed.com/github/fizzed-logo-100.png)\n\nProject by [Fizzed, Inc.](http://fizzed.com) (Follow on Twitter: [@fizzed_inc](http://twitter.com/fizzed_inc))\n\n**Developing and maintaining opensource projects requires significant time.** If you find this project useful or need\ncommercial support, we'd love to chat. Drop us an email at [ping@fizzed.com](mailto:ping@fizzed.com)\n\nProject sponsors may include the following benefits:\n\n- Priority support (outside of Github)\n- Feature development \u0026 roadmap\n- Priority bug fixes\n- Privately hosted continuous integration tests for their unique edge or use cases\n\n## Watcher (fizzed-watcher-maven-plugin)\n\nEver wish Maven could run a specific command if any files in your project change? Some IDEs\nhave their own features to do X if a file changes, but they usually don't take your full Maven\nproject file into account. Problem finally solved with the Watcher Plugin for Maven. Add to your\nMaven project file and fire it up in a new shell. Maven will continuously and recursively\nwatch any number of configured directories and then execute a series of goals if a file change\nis detected. Just like if you typed it on the command-line! We use it at Fizzed across a bunch\nof projects, but mainly our web projects -- where we want a full compile run any time our Java\ncode, resources, or templates change. Works especially well from a project parent to watch any\nof your sub modules too.\n\nTo assist in using this plugin to trigger other workflow/plugins, v1.0.6 added\na feature to \"touch\" a file upon successful execution of the maven goal(s).\n\nTo use add the following to your POM:\n\n```xml\n\u003cbuild\u003e\n    \u003cplugins\u003e\n        ...\n        \u003cplugin\u003e\n            \u003cgroupId\u003ecom.fizzed\u003c/groupId\u003e\n            \u003cartifactId\u003efizzed-watcher-maven-plugin\u003c/artifactId\u003e\n            \u003cversion\u003e1.0.6\u003c/version\u003e\n            \u003cconfiguration\u003e\n                \u003ctouchFile\u003etarget/classes/watcher.txt\u003c/touchFile\u003e\n                \u003cwatches\u003e\n                    \u003cwatch\u003e\n                        \u003cdirectory\u003ecore/src/main/java\u003c/directory\u003e\n                    \u003c/watch\u003e\n                    \u003cwatch\u003e\n                        \u003cdirectory\u003eninja/src/main/java\u003c/directory\u003e\n                    \u003c/watch\u003e\n                \u003c/watches\u003e\n                \u003cgoals\u003e\n                    \u003cgoal\u003ecompile\u003c/goal\u003e\n                    \u003cgoal\u003eprocess-classes\u003c/goal\u003e\n                \u003c/goals\u003e\n                \u003cprofiles\u003e\n                    \u003cprofile\u003eoptional-profile-to-activate\u003c/profile\u003e\n                \u003c/profiles\u003e\n            \u003c/configuration\u003e\n        \u003c/plugin\u003e\n        ...\n    \u003c/plugins\u003e\n\u003c/build\u003e\n```\n\nEach watch entry may also contain include and exclude properties as well as\nenabling/disabling of recursively watching a directory.  Here is an example of\nwatching a directory, but excluding files with a suffix of *.html.\n\n```xml\n\u003cwatch\u003e\n    \u003cdirectory\u003esrc/main/java\u003c/directory\u003e\n    \u003cexclude\u003e*.html\u003c/exclude\u003e\n\u003c/watch\u003e\n```\n\nYou may add any number of exclude and include entries.  The recursive property\ncan be set to true/false to disable/enable recursively watching a directory.\n\nBy default this maven plugin does NOT attach to a lifecycle -- since it is \nessentially a daemon that runs forever.  Usually, you'll run this in a separate\nshell and run via:\n\n```bash\nmvn fizzed-watcher:run\n```\n\n## Versionizer (fizzed-versionizer-maven-plugin)\n\nMaven plugin that generates a Java source file containing artifact\nversion info. This is compiled and included with the final artifact.\nAn alternative to using Jar manifest files for extracting version info\nfrom a library. The directory the file is output to is also added to your\nproject as a directory containing Java sources (and will be automatically\npicked up during the compile phase).\n\nTo use add the following to your POM:\n\n```xml\n\u003cbuild\u003e\n    \u003cplugins\u003e\n        ...\n        \u003cplugin\u003e\n            \u003cgroupId\u003ecom.fizzed\u003c/groupId\u003e\n            \u003cartifactId\u003efizzed-versionizer-maven-plugin\u003c/artifactId\u003e\n            \u003cversion\u003e1.0.6\u003c/version\u003e\n            \u003cexecutions\u003e\n                \u003cexecution\u003e\n                    \u003cid\u003egenerate-version-class\u003c/id\u003e\n                    \u003cgoals\u003e\n                        \u003cgoal\u003egenerate\u003c/goal\u003e\n                    \u003c/goals\u003e\n                    \u003cconfiguration\u003e\n                        \u003cjavaPackage\u003ecom.fizzed.examples.helloworld\u003c/javaPackage\u003e\n                    \u003c/configuration\u003e\n                \u003c/execution\u003e\n            \u003c/executions\u003e \n        \u003c/plugin\u003e\n        ...\n    \u003c/plugins\u003e\n\u003c/build\u003e\n```\n\nBy default this will generate a Version.java source file in:\n\n    ${project.build.directory}/generated-sources/versionizer\n\n\n## Play (fizzed-play-maven-plugin)\n\nMaven plugin that does a best-effort compile of PlayFramework 2.x templates\n(file.scala.html) into a Java source file.  This plugin is primarily a hack\nto make Netbeans function to code complete PlayFramework projects using a pom.xml\nfile.\n\nTemplates are generated to ${project.build.directory}/generated-sources/play-templates\n\nTo use add the following to your POM:\n\n```xml\n\u003cbuild\u003e\n    \u003cplugins\u003e\n        ...\n        \u003cplugin\u003e\n            \u003cgroupId\u003ecom.fizzed\u003c/groupId\u003e\n            \u003cartifactId\u003efizzed-play-maven-plugin\u003c/artifactId\u003e\n            \u003cversion\u003e1.0.6\u003c/version\u003e\n            \u003cexecutions\u003e\n                \u003cexecution\u003e\n                    \u003cid\u003ebest-effort-play-template-compiler\u003c/id\u003e\n                    \u003cphase\u003egenerate-sources\u003c/phase\u003e\n                    \u003cgoals\u003e\n                        \u003cgoal\u003etemplate-compile\u003c/goal\u003e\n                    \u003c/goals\u003e\n                \u003c/execution\u003e\n            \u003c/executions\u003e\n        \u003c/plugin\u003e\n        ...\n    \u003c/plugins\u003e\n\u003c/build\u003e\n```\n\n## License\n\nCopyright (C) 2015 Fizzed, Inc.\n\nThis work is licensed under the Apache License, Version 2.0. See LICENSE for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzed%2Fmaven-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffizzed%2Fmaven-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzed%2Fmaven-plugins/lists"}