Pe 06.03.2012 08:51, Stack a scris:
On Mon, Mar 5, 2012 at 3:47 PM, Arvind Prabhakar<[email protected]>  wrote:
On Mon, Mar 5, 2012 at 2:40 PM, Stack<[email protected]>  wrote:

On Mon, Mar 5, 2012 at 2:29 PM, Arvind Prabhakar<[email protected]>
wrote:
If this succeeds, you would have staged the tests artifacts successfully.
Then you can close and release from the staging repository.


Are you thinking the above will succeed though there is already a
0.92.0 release?  Are you expecting that this deploy will be merged w/
what is already released?


Yes - I think so, although I have not tried it myself before. That said, If
you absolutely do not want to take any chances, then you could stage both
the main artifact as well as the test artifact before closing the staging
repository. In the worst case it will be an overwrite of existing bits with
the same binaries as before.


Let me give it a go Arvind.  Will report back.
St.Ack

I believe you can generate the test jar with:

mvn jar:test-jar [1].

And then deploy how Arvin mentioned. More details here [2], Section 7b: Stage Existing Artifacts.


Regards,

[1] http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
[2] https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
--
Ioan Eugen Stan
http://ieugen.blogspot.com

Reply via email to