Re: [sbt] artifactory and snapshot builds, customizing artifacts publishing order

277 views
Skip to first unread message

Mark Harrah

unread,
Oct 22, 2012, 9:21:56 AM10/22/12
to simple-b...@googlegroups.com
On Wed, 17 Oct 2012 12:46:13 -0700 (PDT)
Paolo Gentili <gentil...@gmail.com> wrote:

> Hi all,
> As describe here
> http://forums.jfrog.org/Snapshot-versioning-td7480017.html
> publishing snapshots to artifactory requires to do a reload before each
> publish
> I'm trying to get rid of this limitation without success so far.
>
> A possible solution would be publishing the pom after all the other
> artifacts.
> is there a way to do this?

The relevant part that would need to be changed is here:

https://github.com/harrah/xsbt/blob/0.13/ivy/IvyActions.scala#L258

The simplest fix is probably to move Artifacts with type pom to the front. The artifacts get passed as a Map earlier, so there isn't an easy workaround from a build definition.

-Mark

>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/QGvU0630gDkJ.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>

Reply all
Reply to author
Forward
0 new messages