[ http://jira.codehaus.org/browse/MNG-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2584. ------------------------------ Resolution: Won't Fix This is something or a shell or in CI, not the standard command line. > Rebuild on pom change > --------------------- > > Key: MNG-2584 > URL: http://jira.codehaus.org/browse/MNG-2584 > Project: Maven 2 & 3 > Issue Type: Improvement > Components: Design, Patterns & Best Practices > Reporter: Kenney Westerhof > Fix For: 3.0-alpha-8 > > > After a succesful build, all classes are compiled. > Following builds won't recompile the classes since the sources > haven't changed. > When a user changes a dependency in the pom and then mvn installs, the sources > aren't checked with the modified dependency. > I propose we save a timestamp (or the pom itself) in target/ for each build, > and let plugins that do some sort intelligent checking take this into account. > There are a few options: > - define a default location for the pom and let plugins implement timestamp > or content checking > as they please > - define some api to ask if the project has changed > - bind the clean plugin to some startup phase and let it auto-clean if the > pom (or possibly parent poms/dependent poms) > have changed. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira