Quantcast

Maven diagnostic commands

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Maven diagnostic commands

Grzegorz Grzybek
Hello

I have a plan to add some maven related commands to Karaf codebase. These
commands would rely not on pax-url-aether services
(org.ops4j.pax.url.mvn.MavenResolver), but rather on
`org.ops4j.pax.url.mvn` PID only.

I want to show/print the list of used default/local/remote repositories,
with some status (availability?, ping time?, ...?). We could add whatever
we need.

But my problem is - where to add such commands in Karaf source tree?

best regards
Grzegorz Grzybek
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

jbonofre
Hi,

so basically, kind of "filter" of config:list/config:property-list
commands or more than that ?

What scope would you propose ? mvn: (like mvn:repositories) ?
If so, I would propose mvn sub-module.

Regards
JB

On 03/06/2017 10:09 AM, Grzegorz Grzybek wrote:

> Hello
>
> I have a plan to add some maven related commands to Karaf codebase. These
> commands would rely not on pax-url-aether services
> (org.ops4j.pax.url.mvn.MavenResolver), but rather on
> `org.ops4j.pax.url.mvn` PID only.
>
> I want to show/print the list of used default/local/remote repositories,
> with some status (availability?, ping time?, ...?). We could add whatever
> we need.
>
> But my problem is - where to add such commands in Karaf source tree?
>
> best regards
> Grzegorz Grzybek
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

Guillaume Nodet-2
In reply to this post by Grzegorz Grzybek
What about creating a module named "maven" in the root ? We have jdbc, jms,
jndi already.

2017-03-06 10:09 GMT+01:00 Grzegorz Grzybek <[hidden email]>:

> Hello
>
> I have a plan to add some maven related commands to Karaf codebase. These
> commands would rely not on pax-url-aether services
> (org.ops4j.pax.url.mvn.MavenResolver), but rather on
> `org.ops4j.pax.url.mvn` PID only.
>
> I want to show/print the list of used default/local/remote repositories,
> with some status (availability?, ping time?, ...?). We could add whatever
> we need.
>
> But my problem is - where to add such commands in Karaf source tree?
>
> best regards
> Grzegorz Grzybek
>



--
------------------------
Guillaume Nodet
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

Grzegorz Grzybek
Hi


> so basically, kind of "filter" of config:list/config:property-list
> commands or more than that ?


Rather more than that - not just print what's already there in
org.ops4j.pax.url.mvn PID, but check if:
* there are http(s):// repositories among _default repositories_ which is
irrational
* local repository is fine (accessible? ...)
* _remote repositories_ are accessible (connection refused? timeout?
authentication?)

regards
Grzegorz
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

jbonofre
Great.

As said, I think a mvn module makes sense.

Regards
JB

On 03/06/2017 10:33 AM, Grzegorz Grzybek wrote:

> Hi
>
>
>> so basically, kind of "filter" of config:list/config:property-list
>> commands or more than that ?
>
>
> Rather more than that - not just print what's already there in
> org.ops4j.pax.url.mvn PID, but check if:
> * there are http(s):// repositories among _default repositories_ which is
> irrational
> * local repository is fine (accessible? ...)
> * _remote repositories_ are accessible (connection refused? timeout?
> authentication?)
>
> regards
> Grzegorz
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

Grzegorz Grzybek
Thanks - I'll work on it.

~Grzegorz

2017-03-06 10:36 GMT+01:00 Jean-Baptiste Onofré <[hidden email]>:

> Great.
>
> As said, I think a mvn module makes sense.
>
> Regards
> JB
>
>
> On 03/06/2017 10:33 AM, Grzegorz Grzybek wrote:
>
>> Hi
>>
>>
>> so basically, kind of "filter" of config:list/config:property-list
>>> commands or more than that ?
>>>
>>
>>
>> Rather more than that - not just print what's already there in
>> org.ops4j.pax.url.mvn PID, but check if:
>> * there are http(s):// repositories among _default repositories_ which is
>> irrational
>> * local repository is fine (accessible? ...)
>> * _remote repositories_ are accessible (connection refused? timeout?
>> authentication?)
>>
>> regards
>> Grzegorz
>>
>>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

jbonofre
Awesome. Thanks !

Let me know if you need anything.

Regards
JB

On 03/06/2017 10:46 AM, Grzegorz Grzybek wrote:

> Thanks - I'll work on it.
>
> ~Grzegorz
>
> 2017-03-06 10:36 GMT+01:00 Jean-Baptiste Onofré <[hidden email]>:
>
>> Great.
>>
>> As said, I think a mvn module makes sense.
>>
>> Regards
>> JB
>>
>>
>> On 03/06/2017 10:33 AM, Grzegorz Grzybek wrote:
>>
>>> Hi
>>>
>>>
>>> so basically, kind of "filter" of config:list/config:property-list
>>>> commands or more than that ?
>>>>
>>>
>>>
>>> Rather more than that - not just print what's already there in
>>> org.ops4j.pax.url.mvn PID, but check if:
>>> * there are http(s):// repositories among _default repositories_ which is
>>> irrational
>>> * local repository is fine (accessible? ...)
>>> * _remote repositories_ are accessible (connection refused? timeout?
>>> authentication?)
>>>
>>> regards
>>> Grzegorz
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Maven diagnostic commands

Grzegorz Grzybek
Sure - track the issue here:
https://issues.apache.org/jira/browse/KARAF-5008

regards
Grzegorz

2017-03-06 10:53 GMT+01:00 Jean-Baptiste Onofré <[hidden email]>:

> Awesome. Thanks !
>
> Let me know if you need anything.
>
> Regards
> JB
>
>
> On 03/06/2017 10:46 AM, Grzegorz Grzybek wrote:
>
>> Thanks - I'll work on it.
>>
>> ~Grzegorz
>>
>> 2017-03-06 10:36 GMT+01:00 Jean-Baptiste Onofré <[hidden email]>:
>>
>> Great.
>>>
>>> As said, I think a mvn module makes sense.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 03/06/2017 10:33 AM, Grzegorz Grzybek wrote:
>>>
>>> Hi
>>>>
>>>>
>>>> so basically, kind of "filter" of config:list/config:property-list
>>>>
>>>>> commands or more than that ?
>>>>>
>>>>>
>>>>
>>>> Rather more than that - not just print what's already there in
>>>> org.ops4j.pax.url.mvn PID, but check if:
>>>> * there are http(s):// repositories among _default repositories_ which
>>>> is
>>>> irrational
>>>> * local repository is fine (accessible? ...)
>>>> * _remote repositories_ are accessible (connection refused? timeout?
>>>> authentication?)
>>>>
>>>> regards
>>>> Grzegorz
>>>>
>>>>
>>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Loading...