{"id":28395099,"url":"https://github.com/webfx-project/webfx-maven-plugin","last_synced_at":"2025-06-28T14:33:40.688Z","repository":{"id":160431716,"uuid":"470192355","full_name":"webfx-project/webfx-maven-plugin","owner":"webfx-project","description":"The WebFX Maven plugin","archived":false,"fork":false,"pushed_at":"2024-06-21T11:19:18.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T06:52:17.639Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webfx-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T14:18:23.000Z","updated_at":"2024-06-21T11:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"61ea4cc6-fd7c-4a8f-aceb-795f8cb6082a","html_url":"https://github.com/webfx-project/webfx-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webfx-project/webfx-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfx-project%2Fwebfx-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfx-project%2Fwebfx-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfx-project%2Fwebfx-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfx-project%2Fwebfx-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webfx-project","download_url":"https://codeload.github.com/webfx-project/webfx-maven-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfx-project%2Fwebfx-maven-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172358,"owners_count":23269990,"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-05-31T19:39:00.825Z","updated_at":"2025-06-27T01:31:13.209Z","avatar_url":"https://github.com/webfx-project.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebFX Maven Plugin\n\nThe WebFX Maven plugin allows WebFX Export command to be called from within Maven build for updating configuration files.\n\n## How it works\n\nThe Maven project pom.xml file is updated to add the webfx-maven-plugin\nand is then bound to a build phase such as pre-package.\n\n## Building\n\nThe plugin can be built and installed locally using Maven command:\n\n```\n    mvn clean install\n```\n\n## Trying out\n\nThe plugin can be run (once installed see above) using the following Maven command:\n\n```\n    mvn -DprojectDirectory=\"/project/path\" -DtargetDirectory=\"/target/path\"  dev.webfx:webfx-maven-plugin:export\n```\n\n## Configuration\n\nConfiguration consists of calling the export goal of the webfx-maven-plugin\nduring the pre-package phase of the Maven build lifecycle as illustrated in\nthe example below:\n\n```\n  \u003cbuild\u003e\n      \u003cpluginManagement\u003e\n          \u003cplugins\u003e\n              \u003cplugin\u003e\n                  \u003cgroupId\u003edev.webfx\u003c/groupId\u003e\n                  \u003cartifactId\u003ewebfx-maven-plugin\u003c/artifactId\u003e\n                  \u003cversion\u003e0.1.0-SNAPSHOT\u003c/version\u003e\n              \u003c/plugin\u003e\n          \u003c/plugins\u003e\n          \u003c/pluginManagement\u003e  \n          \u003cplugins\u003e\n              \u003cplugin\u003e\n                  \u003cgroupId\u003edev.webfx\u003c/groupId\u003e\n                  \u003cartifactId\u003ewebfx-maven-plugin\u003c/artifactId\u003e\n                  \u003cexecutions\u003e\n                      \u003cexecution\u003e\n                          \u003cphase\u003epre-package\u003c/phase\u003e\n                          \u003cgoals\u003e\n                              \u003cgoal\u003eexport\u003c/goal\u003e\n                          \u003c/goals\u003e\n                      \u003c/execution\u003e\n                  \u003c/executions\u003e\n                  \u003cconfiguration\u003e\n                      \u003cprojectDirectory\u003e${basedir}\u003c/projectDirectory\u003e                \n                      \u003ctargetDirectory\u003e${project.build.directory}\u003c/targetDirectory\u003e\n                      \u003cfailOnError\u003etrue\u003c/failOnError\u003e\n                 \u003c/configuration\u003e\n            \u003c/plugin\u003e\n        \u003c/plugins\u003e\n    \u003c/build\u003e\n```\n\nThe failOnError XML element can be set true to fail the build if\nthe return code from the export command is not 0, or set to false\nto continue building.\n\nNote: Configuration parameters can be omitted for Maven defaults \nand are illustrated above for completeness.\n\n## License\n\nThe WebFX Maven Plugin is a free, open-source software licensed under the [Apache License 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfx-project%2Fwebfx-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfx-project%2Fwebfx-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfx-project%2Fwebfx-maven-plugin/lists"}