|
[
Permalink
| « Hide
]
Brett Porter added a comment - 19/Aug/05 12:54 AM
why is this a problem? deploy should install first, so the local copy is up to date.
Bret,
I've done some tests. I've started a snapshot build with targets multiproject:clean multiproject:deploy. I let the clean do his job. I stop my build right after the end of the build of my first project, at build:end. Before starting my build, in my local repo, I have: After stopping my build, I'll check to see why my artifact is not installed in my local repo. my mistake, :deploy doesn't install.
You should be able to run :clean :install :deploy in sequence to get what you want. Hum...
In our case, it won't work. We have around 50 subprojects, each project is set to snapshot. It happens sometime that a subproject needs changes from a component previously build in the same multiproject:deploy. I've made patch to always resolve a dependency if it is a snapshot version. One thing is sure, Maven 1.1 behave differently than 1.0 with this revision (179556). Pascal I'll have a look at it for the RC1
|
||||||||||||||||||||||||||||||||||||||||||