Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
7.1.1
-
None
-
Unknown
-
Description
Steps to reproduce:
- go to http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+Application
- click to "view source", you get a wrong URL:
https://github.com/xwiki-contrib/application-nestedpagesmigrator/application-nestedpagesmigrator-ui - FTR, the URL is described in the parent module's pom.xml: https://github.com/xwiki-contrib/application-nestedpagesmigrator/blob/master/pom.xml#L54
- If you manually change the URL in the extension page and then re-import the extension from the maven repository, the wrong URL is going back.
I suppose the URL is computed from the parent module, adding "/submodule-name" to the URL, which is wrong.
Maybe the solution is to put a <scm> tag with an <url> content inside the submodule's pom.xml.
However, I think the current behavior is wrong, and it does not even work.
In my example, I actually want to have the sources of the parent module, and I can't.