[ 
http://issues.apache.org/jira/browse/GERONIMO-2228?page=comments#action_12424902
 ] 
            
Aaron Mulder commented on GERONIMO-2228:
----------------------------------------

Also seems to expect Maven 1 repository IDs not Maven 2.  Looks like this was 
pretty crusty code!

> GeronimoAsMavenServlet.java generates wrong default-repository element
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-2228
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2228
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 1.2, 1.1
>            Reporter: Kristian Koehler
>         Assigned To: Aaron Mulder
>             Fix For: 1.1.1
>
>         Attachments: diff.patch
>
>
> 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

        

Reply via email to