Sure no problem.
On Fri, Oct 19, 2012 at 6:02 PM, Jeremie BOUSQUET
<jeremie.bousquet(a)gmail.com> wrote:
I will, but we'll have to wait next
monday...
Le 19 oct. 2012 17:04, "Thomas Mortagne" <thomas.mortagne(a)xwiki.com> a
écrit :
> Could you enable debug log on class
> org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager
> to get the actual maven related error.
>
> On Fri, Oct 19, 2012 at 3:13 PM, Jeremie BOUSQUET
> <jeremie.bousquet(a)gmail.com> wrote:
> > Hi,
> >
> > Sorry for long delay, but I could just re-check that, and it's still
> > failing, but with slightly different message though:
> >
> > Non cached request
> > DefaultHttpRequest(chunked: false)
> > GET
>
/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-extension-repository-xwiki-server-api/4.1.4/xwiki-platform-extension-repository-xwiki-server-api-4.1.4.pom
> > HTTP/1.1
> > Host:
nexus.xwiki.org
> > Pragma: no-cache
> > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> > Accept-Encoding: gzip
> > Connection: keep-alive
> > User-Agent: XWikiExtensionManager
> >
> > using Channel
> > [id: 0x0022b9d7]
> >
> > Could not find extension dependency
> >
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> > in repository [maven-xwiki
> > (
http://nexus.xwiki.org/nexus/content/groups/public)]
> >
> > Could not find extension dependency
> >
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> >
> > class org.xwiki.extension.InstallException: Failed to resolve extension
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:664)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244)
> > at
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
> > at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
> > at
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
> > at java.lang.Thread.run(Thread.java:619)
> > Caused by: class org.xwiki.extension.InstallException: Failed to
> > resolve extension dependency
> >
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:714)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244)
> > at
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
> > at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
> > at
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
> > at java.lang.Thread.run(Thread.java:619)
> > Caused by: class org.xwiki.extension.ResolveException: Could not find
> > extension dependency
> >
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> > at
>
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:177)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333)
> > at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:244)
> > at
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
> > at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
> > at
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
> > at java.lang.Thread.run(Thread.java:619)
> >
> > 2012/10/18 Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>om>:
> >> I'll test that tomorrow and keep you updated,
> >>
> >> Jeremie
> >>
> >> 2012/10/18 Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
> >>> Would be great if you could test the last version of
> >>>
>
http://maven.xwiki.org/snapshots/org/xwiki/commons/xwiki-commons-extension-…
> >>> and tell me if it's any better.
> >>>
> >>> On Thu, Oct 18, 2012 at 11:37 AM, Jeremie BOUSQUET
> >>> <jeremie.bousquet(a)gmail.com> wrote:
> >>>> Thanks Thomas, that's what I realized also. I'll have to
install it
> >>>> from home meanwhile ;-)
> >>>>
> >>>> 2012/10/18 Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
> >>>>> Created
https://jira.xwiki.org/browse/XCOMMONS-280
> >>>>>
> >>>>> AETHER does not take into account default JAVA proxy so I need
to
> find
> >>>>> a way to convert it to AETHER Proxy.
> >>>>>
> >>>>> On Wed, Oct 17, 2012 at 6:05 PM, Thomas Mortagne
> >>>>> <thomas.mortagne(a)xwiki.com> wrote:
> >>>>>> Well both are HTTP repositories so it should be exactly the
same
> thing.
> >>>>>>
> >>>>>> Maybe there is a bug in AETHER that does not really go
through the
> >>>>>> standard proxy.
> >>>>>>
> >>>>>> Trying to look at how they connect to HTTP.
> >>>>>>
> >>>>>> On Wed, Oct 17, 2012 at 5:45 PM, Jeremie BOUSQUET
> >>>>>> <jeremie.bousquet(a)gmail.com> wrote:
> >>>>>>> Could there be a distinct way of specifying network
proxy
> depending on
> >>>>>>> extension repository (nexus/aether or xwiki) ?
> >>>>>>> I've set it both as http_proxy env variable and in
JAVA_OPTS...
> From
> >>>>>>> the logs it's clear that it goes through proxy for
connections to
> >>>>>>> xwiki repo, for nexus I don't know.
> >>>>>>>
> >>>>>>> 2012/10/17 Thomas Mortagne
<thomas.mortagne(a)xwiki.com>om>:
> >>>>>>>> Forget that actually the 404 on
extensions.xwiki.org
is
> perfectly normal indeed.
> >>>>>>>>
> >>>>>>>> Now I don't see why you get an error from nexus
repository, I
> >>>>>>>> installed the same extension on
xwiki.org 1h ago.
> >>>>>>>>
> >>>>>>>> On Wed, Oct 17, 2012 at 5:21 PM, Thomas Mortagne
> >>>>>>>> <thomas.mortagne(a)xwiki.com> wrote:
> >>>>>>>>> The last version on
extensions.xwiki.org is 4.2
now so you
> should not
> >>>>>>>>> get an error about 4.1.4.
> >>>>>>>>>
> >>>>>>>>> On Wed, Oct 17, 2012 at 5:17 PM, Jeremie
BOUSQUET
> >>>>>>>>> <jeremie.bousquet(a)gmail.com> wrote:
> >>>>>>>>>> Just retried, but got same result ...
> >>>>>>>>>>
> >>>>>>>>>> 2012/10/17 Thomas Mortagne
<thomas.mortagne(a)xwiki.com>om>:
> >>>>>>>>>>> You just picked a bad timing, should be
OK now.
> >>>>>>>>>>>
> >>>>>>>>>>> But note that there is a less visible
bug after you installed
> the
> >>>>>>>>>>> repository with EM, see
>
http://jira.xwiki.org/browse/XWIKI-8329 for
> >>>>>>>>>>> details.
> >>>>>>>>>>>
> >>>>>>>>>>> On Wed, Oct 17, 2012 at 5:00 PM, Jeremie
BOUSQUET
> >>>>>>>>>>> <jeremie.bousquet(a)gmail.com>
wrote:
> >>>>>>>>>>>> Hello,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I'm trying to install the
Extension Repository Application in
> my wiki,
> >>>>>>>>>>>> in order to test importing,
updating, and installation of my
> own
> >>>>>>>>>>>> extension (before pushing it to
xwiki.org)
> >>>>>>>>>>>> I'm on xwiki 4.1.4.
> >>>>>>>>>>>>
> >>>>>>>>>>>> When trying to install the ExRApp
from extension manager, it
> fails to
> >>>>>>>>>>>> find a dependency
> >>>>>>>>>>>>
(xwiki-platform-extension-repository-xwiki-server-api):
> >>>>>>>>>>>>
> >>>>>>>>>>>> From the install plan logs, the
following returns 404:
> >>>>>>>>>>>> "GET
>
http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.plat…
> >>>>>>>>>>>> HTTP/1.1[\r][\n]"
> >>>>>>>>>>>>
> >>>>>>>>>>>> That seems normal since it's not
published to the extension
> repository
> >>>>>>>>>>>> on
xwiki.org.
> >>>>>>>>>>>> After that I suppose it tries the
next configured repository
> (xwiki
> >>>>>>>>>>>> nexus) but that also fails:
> >>>>>>>>>>>>
> >>>>>>>>>>>> Could not find extension dependency
> >>>>>>>>>>>>
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> >>>>>>>>>>>> in repository [maven-xwiki
> >>>>>>>>>>>>
(
http://nexus.xwiki.org/nexus/content/groups/public)]
> >>>>>>>>>>>>
> >>>>>>>>>>>> class
org.xwiki.extension.ResolveException: Failed to resolve
> >>>>>>>>>>>> extension
> [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
> >>>>>>>>>>>> descriptor
> >>>>>>>>>>>> at
>
org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:317)
> >>>>>>>>>>>> at
>
org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:168)
> >>>>>>>>>>>> at
>
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:168)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333)
> >>>>>>>>>>>> at
>
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:236)
> >>>>>>>>>>>> at
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
> >>>>>>>>>>>> at
org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
> >>>>>>>>>>>> at
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
> >>>>>>>>>>>> at
java.lang.Thread.run(Thread.java:619)
> >>>>>>>>>>>> Caused by: $throwable.class: null
> >>>>>>>>>>>>
> >>>>>>>>>>>> Surprising, because it's there
on
http://nexus.xwiki.org ...
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks for help,
> >>>>>>>>>>>> Jeremie
> >>>>>>>>>>>>
> >>>>>>>>>>>> Side Note: I was a bit surprised to
see that updating
> logback.xml to
> >>>>>>>>>>>> have most logs at "debug"
level, impacts the install plan
> displayed by
> >>>>>>>>>>>> the extension manager. For example
now it dumps all details of
> >>>>>>>>>>>> performed http requests, and I'm
pretty sure it didn't with
> untouched
> >>>>>>>>>>>> logback.xml. Not sure if I find it
nice or not, but I
> wondered if this
> >>>>>>>>>>>> is expected... I suppose it's
because extension manager
> captures part
> >>>>>>>>>>>> of the logs.
> >>>>>>>>>>>>
_______________________________________________
> >>>>>>>>>>>> users mailing list
> >>>>>>>>>>>> users(a)xwiki.org
> >>>>>>>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> --
> >>>>>>>>>>> Thomas Mortagne
> >>>>>>>>>>>
_______________________________________________
> >>>>>>>>>>> users mailing list
> >>>>>>>>>>> users(a)xwiki.org
> >>>>>>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>>>>>
_______________________________________________
> >>>>>>>>>> users mailing list
> >>>>>>>>>> users(a)xwiki.org
> >>>>>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Thomas Mortagne
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Thomas Mortagne
> >>>>>>>> _______________________________________________
> >>>>>>>> users mailing list
> >>>>>>>> users(a)xwiki.org
> >>>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>> _______________________________________________
> >>>>>>> users mailing list
> >>>>>>> users(a)xwiki.org
> >>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Thomas Mortagne
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Thomas Mortagne
> >>>>> _______________________________________________
> >>>>> users mailing list
> >>>>> users(a)xwiki.org
> >>>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>> _______________________________________________
> >>>> users mailing list
> >>>> users(a)xwiki.org
> >>>>
http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >>>
> >>> --
> >>> Thomas Mortagne
> >>> _______________________________________________
> >>> users mailing list
> >>> users(a)xwiki.org
> >>>
http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> >
http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org