Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6822

Maven build error when upgrade to 3.6.3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.2, 3.6.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We use maven-3.6.2 or 3.6.3 to build Apache submarine, but got below error

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce) on project tony-mini: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
       [ERROR] Failed while enforcing releasability the error(s) are [
       [ERROR] Dependency convergence error for io.netty:netty:3.7.0.Final paths to dependency are:
       [ERROR] +-com.linkedin.tony:tony-mini:0.3.21
       [ERROR] +-org.apache.hadoop:hadoop-common:2.7.3
       [ERROR] +-org.apache.zookeeper:zookeeper:3.4.6
       [ERROR] +-io.netty:netty:3.7.0.Final
       [ERROR] and
       [ERROR] +-com.linkedin.tony:tony-mini:0.3.21
       [ERROR] +-org.apache.hadoop:hadoop-hdfs:2.7.3
       [ERROR] +-io.netty:netty:3.6.2.Final
       [ERROR] and
       [ERROR] +-com.linkedin.tony:tony-mini:0.3.21
       [ERROR] +-org.apache.hadoop:hadoop-hdfs:2.7.3
       [ERROR] +-io.netty:netty:3.6.2.Final
       [ERROR] and

      build command : 

      git clone https://github.com/apache/submarine.git
      git submodule update --init --recursive
      mvn clean install package -DskipTests

       OS:  macOS Mojave 10.14.4
      JDK: "1.8.0_221"
      Maven: 3.6.2
      latest submarine version

      If we use maven-3.6.1, it can successfully build the project.

      We can't resolve this problem in our community, so I post here and try to figure out the error. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pingsutw Kevin Su
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: