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.