[ https://issues.apache.org/jira/browse/FELIX-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206016#comment-16206016 ]
Guillaume Nodet commented on FELIX-1639: ---------------------------------------- In case of spring, the issue is now in the BND library. > 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 was sent by Atlassian JIRA (v6.4.14#64029)