felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (FELIX-1639) XML Entity references (eg, DTDs) in Spring files can fail the build
Date Fri, 25 Sep 2009 07:14:16 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Nodet reopened FELIX-1639:

Reopening the bug, we should try to support those spring files with DTDs, or ignore those

> XML Entity references (eg, DTDs) in Spring files can fail the build
> -------------------------------------------------------------------
>                 Key: FELIX-1639
>                 URL: https://issues.apache.org/jira/browse/FELIX-1639
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: maven-bundle-plugin-2.0.1
>         Environment: Windows XP, Linux
>            Reporter: Patrick Forhan
>         Attachments: pom.xml, server-communication-osgi-context.xml
> As of 2.0.1, maven-bundle-plugin scans META-INF/spring/*.xml looking for spring contexts.
 If, as in our case, you have an XML entity reference (like a DTD) and your location makes
use of an HTTP proxy, the build can fail with an odd, cyptic message:
> [INFO] [bundle:bundle]
> ERROR:  'Connection refused'
> ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Connection refused'
> [ERROR] Error building bundle org.bjc.es:org.bjc.es.pt2.communication:bundle:clover:2.0.0-SNAPSHOT
: Unexpected exception in processing spring resources(META-INF/spring/server-communication-osgi-context.xml):
javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException:
Connection refused
> It is parsing these XML files, and trying to resolve any entities.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message