You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raffaele <r....@prismasw.it> on 2007/09/14 15:49:48 UTC
Question about restoring project dependencies
Hi all,
I really need a little help to understand a issue:
Imagine this scenario:
- Two projects (A and B).
- B depends on A.
- Both projects are SNAPSHOT versions.
- I add a method in a class of project A, then I do mvn install of this
project.
- I modify project B to use new method of project A.
- At this point, I have discovered a problem with last build of project A
then I would like to restore project B referencing it to the previous build
of project A.
How should I accomplish this task with Maven?
Thanks, best regards.
Raffaele
--
View this message in context: http://www.nabble.com/Question-about-restoring-project-dependencies-tf4442659s177.html#a12675802
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Question about restoring project dependencies
Posted by Nick Stolwijk <ni...@planet.nl>.
WIth only a mvn install this isn't possible because your local
repository has no notion of different snapshot versions. If you did a
deploy to a remote repository you could add a timestamp to the
dependency and it will resolve to the older version.
Hth,
Nick Stolwijk
Raffaele wrote:
> Hi all,
> I really need a little help to understand a issue:
>
> Imagine this scenario:
> - Two projects (A and B).
> - B depends on A.
> - Both projects are SNAPSHOT versions.
> - I add a method in a class of project A, then I do mvn install of this
> project.
> - I modify project B to use new method of project A.
> - At this point, I have discovered a problem with last build of project A
> then I would like to restore project B referencing it to the previous build
> of project A.
>
> How should I accomplish this task with Maven?
>
> Thanks, best regards.
> Raffaele
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org