Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1058

"<excludes>**/target/**</excludes>" in pom.xml doesnot work when using lower version mvn ,eg: apache-maven-3.0.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • master branch
    • Others
    • None

    Description

      when I use "apache-maven-3.0.1 "  to build  iotDB.  which doesn't work  as below

      cmd:  mvn clean package -DskipTests -Denforcer.skip=true 

      the errer report:

      [ERROR] Failed to execute goal au.com.acegi:xml-format-maven-plugin:3.0.7:xml-format (xml-format) on project iotdb-parent: Unable to parse configuration of mojo au.com.acegi:xml-format-maven-plugin:3.0.7:xml-format for parameter excludes: Cannot assign configuration entry 'excludes' to 'class [Ljava.lang.String;' from '*/target/*', which is of type class java.lang.String -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ejay ejay zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified