Skip to content

Fixes #2005. Bump to ivy 2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc…#2075

Merged
eed3si9n merged 1 commit into0.13from
fix/2005
Jun 26, 2015
Merged

Fixes #2005. Bump to ivy 2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc…#2075
eed3si9n merged 1 commit into0.13from
fix/2005

Conversation

@eed3si9n
Copy link
Member

Fixes #2005, #679
Ref sbt/ivy#13

This PR is pending on https://bintray.com/sbt/maven-releases/ivy/2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93/view getting on Maven Central. Currently waiting on Bintray request to push it into JCenter.

I discovered that Ivy has been
checking if the repository layout pattern ends with M2_PATTERN to use
maven-metadata.xml, which for sbt would return false since we customize
the pattern -
https://github.com/apache/ant-ivy/blob/2.3.0/src/java/org/apache/ivy/plugins/resolver/IBiblioResolver.java#L497-L499

/review @dwijnand, @jsuereth

…51ec93

When I went digging into Ivy's code base I discovered that it's been
checking if the repository layout pattern ends with M2_PATTERN to use
maven-metadata.xml, which for sbt would return false since we customize
the mattern -
https://github.com/apache/ant-ivy/blob/2.3.0/src/java/org/apache/ivy/plu
gins/resolver/IBiblioResolver.java#L497-L499
@dwijnand
Copy link
Member

LGTM mod Travis

@eed3si9n
Copy link
Member Author

Patched Ivy is synced to Sonatype - https://oss.sonatype.org/content/repositories/public/org/scala-sbt/ivy/ivy/2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93/
Travis is passing (push passed), so I'm merging this in.

eed3si9n added a commit that referenced this pull request Jun 26, 2015
Fixes #2005. Bump to ivy 2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc…
@eed3si9n eed3si9n merged commit 3833c0a into 0.13 Jun 26, 2015
@eed3si9n eed3si9n deleted the fix/2005 branch June 26, 2015 18:43
eed3si9n added a commit that referenced this pull request Jun 27, 2015
eed3si9n added a commit that referenced this pull request Jun 27, 2015
eed3si9n added a commit that referenced this pull request Dec 14, 2015
#1520 originally fixed #1514 by reimplementing part of chain resolver
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that #2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
Duhemm pushed a commit to Duhemm/sbt that referenced this pull request Feb 1, 2016
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
eed3si9n added a commit to eed3si9n/sbt that referenced this pull request Feb 26, 2016
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
eed3si9n added a commit to eed3si9n/sbt that referenced this pull request Feb 26, 2016
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
eed3si9n added a commit to eed3si9n/sbt that referenced this pull request Feb 27, 2016
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
eed3si9n added a commit to eed3si9n/sbt that referenced this pull request Mar 18, 2016
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
adpi2 pushed a commit to adpi2/sbt that referenced this pull request Oct 9, 2024
to check all resolvers to find the latest snapshot artifacts.
This behavior did not work well with Maven repositories where sbt was
failing to calculate the correct publication dates.
Now that sbt#2075 fixes the Maven integration issue we should enable this
flag back again.

The build user can opt out by:

    updateOptions := updateOptions.value.withLatestSnapshots(false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants