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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ejay ejay zhao

            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

                Slack

                  Issue deployment