Sorry, what I meant by maven install was 'maven clean install'.

I commented out the following plugin entries from parent pom and then it
worked.

 <plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <version>0.11</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <excludes>
                        <exclude>.gitignore</exclude>
                        <exclude>.rat-excludes</exclude>
                        <exclude>.project</exclude>
                        <exclude>.classpath</exclude>
                        <exclude>.basex</exclude>
                        <exclude>**/ExpectedTestResults/**</exclude>
                        <exclude>**/xqts.txt</exclude>
                        <exclude>test-suite*/**/*</exclude>
                    </excludes>
                </configuration>
            </plugin>

       <plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <version>${apache-rat-plugin.version}</version>
                <configuration>
                    <excludes>
                        <exclude>.gitignore</exclude>
                        <exclude>.git/**/*</exclude>
                    </excludes>
                    <numUnapprovedLicenses>0</numUnapprovedLicenses>
                    <maxmemory>2g</maxmemory>
                </configuration>
            </plugin>

On 24 June 2016 at 03:43, Steven Jacobs <[email protected]> wrote:

> Have you tried "mvn clean install?"
> Steven
>
> On Thursday, June 23, 2016, Menaka Madushanka <[email protected]>
> wrote:
>
> > Hello,
> >
> > When I try to run a maven install, it produces following warning and
> fails
> > the build.
> >
> > -- apache-rat-plugin:0.11:check (default) @ apache-vxquery ---
> > [INFO] 56 implicit excludes (use -debug for more details).
> > [INFO] Exclude: .gitignore
> > [INFO] Exclude: .rat-excludes
> > [INFO] Exclude: .project
> > [INFO] Exclude: .classpath
> > [INFO] Exclude: .basex
> > [INFO] Exclude: **/ExpectedTestResults/**
> > [INFO] Exclude: **/xqts.txt
> > [INFO] Exclude: test-suite*/**/*
> > [INFO] 207 resources included (use -debug for more details)
> > 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.
> > [INFO] Rat check: Summary of files. Unapproved: 175 unknown: 175
> generated:
> > 0 approved: 22 licence.
> >
> > [INFO] VXQuery ........................................... FAILURE [
> 13.525
> > s]
> > [INFO] VXQuery Core ...................................... SKIPPED
> > [INFO] VXQuery Server .................................... SKIPPED
> > [INFO] VXQuery CLI ....................................... SKIPPED
> > [INFO] VXQuery XTest ..................................... SKIPPED
> > [INFO] VXQuery Benchmark ................................. SKIPPED
> >
> > What is the reason for this?
> >
> > Menaka
> >
> > --
> > *Menaka Madushanka Jayawardena*
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > TP:- 071 885 1183/ 071 350 5470
> >
>



-- 
*Menaka Madushanka Jayawardena*
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
TP:- 071 885 1183/ 071 350 5470

Reply via email to