{"id":15009217,"url":"https://github.com/khmarbaise/uptodate-maven-plugin","last_synced_at":"2025-04-09T17:23:24.978Z","repository":{"id":15262702,"uuid":"17991831","full_name":"khmarbaise/uptodate-maven-plugin","owner":"khmarbaise","description":"uptodate-maven-plugin","archived":false,"fork":false,"pushed_at":"2018-09-05T17:31:13.000Z","size":519,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T19:22:58.635Z","etag":null,"topics":["java","maven","maven-plugin"],"latest_commit_sha":null,"homepage":"https://khmarbaise.github.io/uptodate-maven-plugin/","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/khmarbaise.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-03-21T19:34:33.000Z","updated_at":"2022-08-19T11:52:30.000Z","dependencies_parsed_at":"2022-09-11T03:31:45.648Z","dependency_job_id":null,"html_url":"https://github.com/khmarbaise/uptodate-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fuptodate-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fuptodate-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fuptodate-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khmarbaise%2Fuptodate-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khmarbaise","download_url":"https://codeload.github.com/khmarbaise/uptodate-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075380,"owners_count":21043576,"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":["java","maven","maven-plugin"],"created_at":"2024-09-24T19:23:43.407Z","updated_at":"2025-04-09T17:23:24.961Z","avatar_url":"https://github.com/khmarbaise.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"UpToDate-Maven-Plugin\n=====================\n\nLicense\n-------\n[Apache License, Version 2.0, January 2004](http://www.apache.org/licenses/)\n\n\nOverview\n--------\n\nForce the use of the most up-to-date released versions of an artifact.\n\n[The Basic idea for this plugin was born based on the discussion about the enforcer rule](https://issues.apache.org/jira/browse/MENFORCER-190).\n\nSometimes you have a situation like using a parent pom but you would like to\nforce the users in your company to use the newest version cause there had been changes\nwhich need for further development. This plugin can help in such situations.\n\nParent Check\n------------\n\nThe following pom snippet will show an example of a usual project which \nis using a parent:\n\n    \u003cparent\u003e\n      \u003cgroupId\u003ecom.soebes.maven.plugins.test.integration\u003c/groupId\u003e\n      \u003cartifactId\u003eparent\u003c/artifactId\u003e\n      \u003cversion\u003e0.2\u003c/version\u003e\n    \u003c/parent\u003e\n\n    \u003cgroupId\u003eorg.test.parent\u003c/groupId\u003e\n    \u003cartifactId\u003eroot\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0-SNAPSHOT\u003c/version\u003e\n\nSo basically no problem at all. But what happens if a new version \nof that parent is released and you want to force people to use that\nnew version? Simply you add the following definition to your project:\n\nSo every time you try to build this plugin will check if\nthe parent is the newest version. \n\n     \u003cplugin\u003e\n       \u003cgroupId\u003ecom.soebes.maven.plugins\u003c/groupId\u003e\n       \u003cartifactId\u003euptodate-maven-plugin\u003c/artifactId\u003e\n       \u003cexecutions\u003e\n         \u003cexecution\u003e\n           \u003cid\u003eforce-updrage\u003c/id\u003e\n           \u003cgoals\u003e\n             \u003cgoal\u003eparent\u003c/goal\u003e\n           \u003c/goals\u003e\n           \u003cphase\u003evalidate\u003c/phase\u003e\n         \u003c/execution\u003e\n       \u003c/executions\u003e\n     \u003c/plugin\u003e\n\nIf it is not the newest version it will break the build.\nFurtunate you can skip that breaking by using the following\nproperty on command if you really need.\n\n    mvn -Duptodate.skip=true ...\n\nDependency Check\n----------------\n\nDefault\n  checking all dependencies of the current module if they are up-to-date.\n\n\nLets assume you have the following dependency in your pom:\n\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.xyz.test\u003c/groupId\u003e  \n      \u003cartifactId\u003ethe-artifact\u003c/artifact\u003e\n      \u003cversion\u003e1.3\u003c/version\u003e\n    \u003c/dependency\u003e\n\nSometime you must be sure to use always the newest version which is available.\n\nUsing the uptodate-maven-plugin will exactly check this situation.\n\n\nIf you need to check the parent of a parent to be always uptodate you\ncould use the parent goal:\n\n\n\t \u003cplugins\u003e\n\t   \u003cplugin\u003e\n\t     \u003cgroupId\u003ecom.soebes.maven.plugins\u003c/groupId\u003e\n\t     \u003cartifactId\u003euptodate-maven-plugin\u003c/artifactId\u003e\n\t     \u003cexecutions\u003e\n\t       \u003cexecution\u003e\n\t         \u003cid\u003echeck-dependencies\u003c/id\u003e\n\t         \u003cgoals\u003e\n\t           \u003cgoal\u003edependency\u003c/goal\u003e\n\t         \u003c/goals\u003e\n\t         \u003cphase\u003evalidate\u003c/phase\u003e\n\t       \u003c/execution\u003e\n\t     \u003c/executions\u003e\n\t   \u003c/plugin\u003e\n\t   ..\n\t \u003c/plugins\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhmarbaise%2Fuptodate-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhmarbaise%2Fuptodate-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhmarbaise%2Fuptodate-maven-plugin/lists"}