开发者

Different snapshot version of artifacts from one deployment cycle

开发者 https://www.devze.com 2023-03-07 19:26 出处:网络
I\'m deploying 6 artifacts from an ANT based project. So that they are deployed one after another. Problem is, that the snapshot version differs for all of them. It just shares the artifact version,

I'm deploying 6 artifacts from an ANT based project. So that they are deployed one after another.

Problem is, that the snapshot version differs for all of them. It just shares the artifact version, the timestamp, but the last number is different.

6.1.0-20110331.121641-1

The problem that this causes is that I can't create this property:

<program.version>6.1.0-20110331.121641-1</program.version> 

And I have to specify the exact version n开发者_运维技巧umber for each of those 6 artifact if I want to go back to or test an older snapshot version.

Is there any workaround for this ?

EDITED: the point is - I need to use an older version of a snapshot artifacts ... so that as it is now, I would have to manually change versions of all 6 artifacts


If I understand correctly, you are talking about the SNAPSHOT versions, right?

So you should have 6.1.0-SNAPSHOT-20110331.121641-1. Right?

So you need to depend on 6.1.0-SNAPSHOT version, without the timestamp.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号