GeronimoAsMavenServlet.java generates wrong default-repository element
----------------------------------------------------------------------
Key: GERONIMO-2289
URL: http://issues.apache.org/jira/browse/GERONIMO-2289
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Plugins
Affects Versions: 1.1
Reporter: Aaron Mulder
Assigned To: Aaron Mulder
Fix For: 1.2, 1.1.1
The GeronimoAsMavenServlet generates a XML document which contains an element
called 'default-repository' (see
http://localhost:8080/console-standard/maven-repo/geronimo-plugins.xml). The
value of this element looks like:
--- 8< ---
...
<default-repository>
HTTP/1.1://localhost:8081/console-standard/maven-repo/
</default-repository>
--- 8< ---
With this issue it isn't possible to import a plugin from a Geronimo Server
running somewhere.
This should be:
--- 8< ---
...
<default-repository>
http://localhost:8081/console-standard/maven-repo/
</default-repository>
--- 8< ---
The attached patch resolves this issue.
Kristian
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira