[
http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201629#action_201629
]
Tamás Cservenák commented on MNG-4368:
--------------------------------------
Brett, for now, I believe that having separate settings.xml (with separate
local repo path) will solve my problem. Will be PITA, but can live with it.
Paul, I do have separate checkouts. This is about local repository
(~/.m2/repository), not having files installed properly. Even with my example
above, where I did wrote "svn switch", you can do following instead to
reproduce it:
checkout _all_ (checkout repo root, if you have /trunk, /tags, etc in root) and
simply do this instead of switch:
cd trunk
do build
cd ../branches/branchX
cd build
cd ../../trunk
do build
Same problem (if the branchX has newer POM than trunk, as I wrote above). And
my cmd was always "mvn clean install" (so did clean target dirs). And T0, T1
and T2 builds were running sequentially, one by one.
> DefaultArtifactInstaller should only overwrite files if timestamp has changed
> -----------------------------------------------------------------------------
>
> Key: MNG-4368
> URL: http://jira.codehaus.org/browse/MNG-4368
> Project: Maven 2
> Issue Type: Improvement
> Environment: Linux, JDK 1.5
> Reporter: Johannes Martin
> Fix For: 2.2.2, 3.0-alpha-3
>
>
> install:install (from maven-install-plugin) by default uses
> DefaultArtifactInstaller to install artifacts. DefaultArtifactInstaller in
> turn uses FileUtils.copyFile(), thereby overwriting destination files even if
> they are unchanged. It would be helpful if DefaultArtifactInstaller used
> FileUtils.copyFileIfModified() instead, at least as an option, to speed up
> the build process.
--
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