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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to