You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Benny K <Be...@gmx.net> on 2022/09/08 11:06:42 UTC

maven stuck

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



Aw: Re: maven stuck

Posted by Benny K <Be...@gmx.net>.
Hi Domenico.

thank you for your answer.
ping IPv4 and IPv6 seems to be ok: 

$ ping repository.apache.org
PING repository.apache.org(2a01:4f8:171:1513::2 (2a01:4f8:171:1513::2)) 56 data bytes
64 bytes from 2a01:4f8:171:1513::2 (2a01:4f8:171:1513::2): icmp_seq=1 ttl=56 time=23.8 ms
64 bytes from 2a01:4f8:171:1513::2 (2a01:4f8:171:1513::2): icmp_seq=2 ttl=56 time=39.7 ms
64 bytes from 2a01:4f8:171:1513::2 (2a01:4f8:171:1513::2): icmp_seq=3 ttl=56 time=22.0 ms

--- repository.apache.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 5ms
rtt min/avg/max/mdev = 22.034/28.533/39.721/7.947 ms

$ ping -4 repository.apache.org
PING repository.apache.org (136.243.146.148) 56(84) bytes of data.
64 bytes from static.148.146.243.136.clients.your-server.de (136.243.146.148): icmp_seq=1 ttl=57 time=21.8 ms
64 bytes from static.148.146.243.136.clients.your-server.de (136.243.146.148): icmp_seq=2 ttl=57 time=25.3 ms
64 bytes from static.148.146.243.136.clients.your-server.de (136.243.146.148): icmp_seq=3 ttl=57 time=24.5 ms

--- repository.apache.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 5ms
rtt min/avg/max/mdev = 21.755/23.833/25.262/1.508 ms

 
Best Regards
Benjamin 

 

Gesendet: Donnerstag, 08. September 2022 um 13:19 Uhr
Von: "Domenico Francesco Bruscino" <br...@gmail.com>
An: users@activemq.apache.org
Betreff: Re: maven stuck
Hi Benjamin,

maybe your IP is banned, check if your IP is banned, pinging
repository.apache.org, if your IP isn't banned you should get:
$ ping repository.apache.org
PING repository.apache.org (136.243.146.148) 56(84) bytes of data.
64 bytes from static.148.146.243.136.clients.your-server.de
(136.243.146.148): icmp_seq=1 ttl=55 time=49.7 ms

If your IP is banned try adding `127.0.0.1 repository.apache.org` in
your /etc/hosts file, then you should get:
$ ping repository.apache.org
PING repository.apache.org (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.021 ms

Regards,
Domenico

On Thu, 8 Sept 2022 at 13:07, Benny K <Be...@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[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[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[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[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[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
>
>
>

Re: maven stuck

Posted by Domenico Francesco Bruscino <br...@gmail.com>.
Hi Benjamin,

maybe your IP is banned, check if your IP is banned, pinging
repository.apache.org, if your IP isn't banned you should get:
$ ping repository.apache.org
PING repository.apache.org (136.243.146.148) 56(84) bytes of data.
64 bytes from static.148.146.243.136.clients.your-server.de
(136.243.146.148): icmp_seq=1 ttl=55 time=49.7 ms

If your IP is banned try adding `127.0.0.1       repository.apache.org` in
your /etc/hosts file, then you should get:
$ ping repository.apache.org
PING repository.apache.org (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.021 ms

Regards,
Domenico

On Thu, 8 Sept 2022 at 13:07, Benny K <Be...@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
>
>
>

Re: maven stuck

Posted by Robbie Gemmell <ro...@gmail.com>.
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 <ro...@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 <Be...@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
> >
> >

Re: maven stuck

Posted by Robbie Gemmell <ro...@gmail.com>.
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 <Be...@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
>
>