Yeah, but if you do a "mvn --help" it says: Forces a check for *missing
releases* and updated snapshots on remote repositories.  Which sounds to me
like it might do more than snapshots.  As I said, I've had mixed success
with it.  I usually nuke the dependency from orbit and have Maven
re-install it.


On Thu, Oct 3, 2019 at 6:56 AM Andrus Adamchik <and...@objectstyle.org>
wrote:

> "-U" is only for refreshing SNAPSHOT dependencies. It does not affect how
> release artifacts are downloaded.
>
> Andrus
>
> > On Oct 3, 2019, at 1:08 PM, Michael Gentry <blackn...@gmail.com> wrote:
> >
> > Could also try giving Maven a -U argument. I've had mixed success with
> that
> > working.
> >
> >
> > On Thu, Oct 3, 2019 at 4:09 AM Andrus Adamchik <and...@objectstyle.org>
> > wrote:
> >
> >>> was cached in the local repository, resolution will not be reattempted
> >> until the update interval of objectstyle has elapsed or updates are
> forced.
> >>
> >> This might be the issue. I suspect the remote repo was down briefly and
> >> the failure got cached by Maven. A bit drastic way of solving it is
> >> deleting the entire local Maven repo:
> >>
> >> rm -rf ~/.m2/repository/*
> >>
> >> Or you can try deleting individual artifacts that are causing trouble.
> >>
> >> Andrus
> >>
> >>
> >>
> >>> On Oct 3, 2019, at 2:02 AM, Emerson Castañeda <eme...@gmail.com>
> wrote:
> >>>
> >>> Hi
> >>>
> >>> Working on the current version on master branch, I'm getting some
> unusual
> >>> problem/error messages
> >>>
> >>> *- *
> >>> Failure to transfer
> >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from
> >>> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps was
> >> cached
> >>> in the local repository, resolution will not be reattempted until the
> >>> update interval of objectstyle has elapsed or updates are forced.
> >> Original
> >>> error: Could not transfer artifact
> >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from/to
> >>> objectstyle (
> >> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps):
> >>> maven.objectstyle.org pom.xml /cayenne-modeler-generic line 1 Maven
> pom
> >>> Loading Problem
> >>>
> >>> *- *
> >>> Archive for required library:
> >>> '/.m2/repository/com/caucho/hessian/4.0.51/hessian-4.0.51.jar' in
> project
> >>> 'cayenne-doc' cannot be read or is not a valid ZIP file cayenne-doc
> Build
> >>> path Build Path Problem
> >>>
> >>> *- *
> >>> Failed to read artifact descriptor for org.hsqldb:hsqldb:jar:2.3.6
> >>>
> >>> It seems it could be related to my current maven configuration, any
> idea
> >>> how can I fix it?
> >>>
> >>> EmeCas
> >>
> >>
>
>

Reply via email to