[osmosis-dev] [PATCH] Remove changing="true" from fixed-revision Ivy dependencies
Brett Henderson
brett at bretth.com
Sun Mar 18 03:37:02 GMT 2012
Hi Richard,
Thanks for the patch. It's applied in Git.
Cheers,
Brett
On 11 March 2012 10:59, Richard Hansen <rhansen at bbn.com> wrote:
> In ivy.xml, the setting 'changing="true"' tells Ivy that the
> dependency's jar might change despite its version not changing. This
> causes Ivy to always query the repository, even if the jar is
> available in the local cache. This setting is often used to express a
> dependency on the latest snapshot (e.g., nightly build) of a 3rd party
> project.
>
> Unfortunately, this setting will cause offline builds to fail if the
> dependency comes from a non-local repository, even if the dependency
> is available in the local cache. Thus, it should be avoided for
> fixed-revision dependencies.
>
> The versions of the osmpbf and netty dependencies do not represent
> snapshots that could change over time, so this change removes
> 'changing="true" from the dependency declarations.
> ---
> pbf/ivy.xml | 2 +-
> replication-http/ivy.xml | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/pbf/ivy.xml b/pbf/ivy.xml
> index 6f6a0af..cebf4bf 100644
> --- a/pbf/ivy.xml
> +++ b/pbf/ivy.xml
> @@ -27,7 +27,7 @@
> <dependency org="org.openstreetmap.**osmosis" name="osmosis-core"
> rev="${project.version}" conf="compile->default" changing="true"/>
>
> <dependency org="com.google.protobuf" name="protobuf-java"
> rev="${dependency.version.**protobuf}" conf="compile->default"/>
> - <dependency org="crosby" name="osmpbf" rev="${dependency.version.*
> *osmpbf}" conf="compile->default" changing="true"/>
> + <dependency org="crosby" name="osmpbf" rev="${dependency.version.*
> *osmpbf}" conf="compile->default"/>
>
> <dependency org="org.openstreetmap.**osmosis" name="osmosis-xml"
> rev="${project.version}" conf="test->default" changing="true"/>
> <dependency org="org.openstreetmap.**osmosis"
> name="osmosis-testutil" rev="${project.version}" conf="test->default"
> changing="true"/>
> diff --git a/replication-http/ivy.xml b/replication-http/ivy.xml
> index 885275a..8844c6d 100644
> --- a/replication-http/ivy.xml
> +++ b/replication-http/ivy.xml
> @@ -28,7 +28,7 @@
> <dependency org="org.openstreetmap.**osmosis"
> name="osmosis-replication" rev="${project.version}" conf="compile->default"
> changing="true"/>
> <dependency org="org.openstreetmap.**osmosis" name="osmosis-xml"
> rev="${project.version}" conf="compile->default" changing="true"/>
>
> - <dependency org="org.jboss.netty" name="netty"
> rev="${dependency.version.**netty}" conf="compile->default"
> changing="true"/>
> + <dependency org="org.jboss.netty" name="netty"
> rev="${dependency.version.**netty}" conf="compile->default"/>
>
> <dependency org="org.openstreetmap.**osmosis"
> name="osmosis-testutil" rev="${project.version}" conf="test->default"
> changing="true"/>
> <dependency org="junit" name="junit" rev="${dependency.version.**junit}"
> conf="test->default"/>
> --
> 1.7.9.2
>
>
>
> ______________________________**_________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.**org/listinfo/osmosis-dev<http://lists.openstreetmap.org/listinfo/osmosis-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120318/e2592274/attachment.html>
More information about the osmosis-dev
mailing list