I looked into why the repository definition was there originally and
decided to update the examples root pom to just disable looking at the
snapshots repo for release artifacts, which it should never be doing:
https://github.com/apache/activemq-artemis/commit/065bfe14f532858f2c2a20b0afb1a226b08ce013

For a released example, like you are building, just deleting the
repositories definition entirely is also equivalent to that since it
will have no snapshots in use.

On Thu, 8 Sept 2022 at 15:00, Robbie Gemmell <robbie.gemm...@gmail.com> wrote:
>
> That is trying to download release artifacts from the snapshots
> repository which it shouldnt be doing. Seems like the examples are
> incorrectly [and unnecessarily] adding a repo definition that is
> letting it do that. Yep, the root examples/pom.xml has some
> repositories defined...delete them.
>
> Them being there shouldnt really cause it to get 'stuck', but changing
> it may help regardless if the issue is repo-specific since it then
> wouldnt be looking there for the thigns it is getting stuck on.
>
> On Thu, 8 Sept 2022 at 12:06, Benny K <ben...@gmx.net> wrote:
> >
> > Hi there,
> >
> > hope your doing fine.
> >
> > unfortunaltey no one is answering in slack
> >
> > just trying to have a look at the examples
> >
> > cd 
> > /opt/apache-artemis-2.24.0/examples/features/ha/client-side-failoverlistener
> > sudo mvn verify
> >
> > its always stuck on some downloads...
> >
> > [INFO] Scanning for projects...
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/org/apache/felix/maven-bundle-plugin/5.1.6/maven-bundle-plugin-5.1.6.jar
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/biz/aQute/bnd/biz.aQute.bndlib/6.2.0/biz.aQute.bndlib-6.2.0.jar
> >
> > If i restart its always stuck on another download...
> >
> > ...
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar
> >
> > or
> >
> > ...
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/org/apache/maven/shared/maven-dependency-tree/3.0/maven-dependency-tree-3.0.jar
> >
> >
> > or
> >
> > ...
> > Downloading from apache.snapshots: 
> > https://repository.apache.org/content/repositories/snapshots/org/jdom/jdom/1.1/jdom-1.1.jar
> >
> >
> >
> > Whats cooking here? Internet-Connection works fine so far, no problems in 
> > "daily business"  ...
> > Thanks for help :-)
> >
> > Best Regards
> > Benjamin
> >
> >

Reply via email to