You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2015/10/20 10:20:27 UTC

[jira] [Updated] (REEF-857) Remove Xerces dependency in RAT plugin

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

Dongjoon Hyun updated REEF-857:
-------------------------------
    Affects Version/s: 0.14
             Priority: Trivial  (was: Major)
          Component/s: Build infrastructure

> Remove Xerces dependency in RAT plugin
> --------------------------------------
>
>                 Key: REEF-857
>                 URL: https://issues.apache.org/jira/browse/REEF-857
>             Project: REEF
>          Issue Type: Task
>          Components: Build infrastructure
>    Affects Versions: 0.14
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Trivial
>
> Maven RAT plugin generates the following warning messages.
> {code}
> Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
> Compiler warnings:
>   WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
> Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
> Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
> Compiler warnings:
>   WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
> Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
> {code}
> We can suppress this by removing Xerces dependency from RAT plugin safely.
> {code}
> +                    <dependencies>
> +                        <dependency>
> +                            <groupId>org.apache.maven.doxia</groupId>
> +                            <artifactId>doxia-core</artifactId>
> +                            <version>1.6</version>
> +                            <exclusions>
> +                                <exclusion>
> +                                    <groupId>xerces</groupId>
> +                                    <artifactId>xercesImpl</artifactId>
> +                                </exclusion>
> +                            </exclusions>
> +                        </dependency>
> +                    </dependencies>
> {code}
> *Reference*
>   * https://issues.apache.org/jira/browse/RAT-158



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)