[ 
https://issues.apache.org/jira/browse/MNG-6822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996573#comment-16996573
 ] 

kevin su commented on MNG-6822:
-------------------------------

Thanks [~michael-o] and [~khmarbaise] for the reply
{quote}Does it work with Maven from master?
{quote}
 I haven't tried it before, I will give it a try.
  
{quote}Please describe which exact state of the project you have referencing 
and which exact calling parameters (profiles etc.) you have used.
{quote}
Sorry for the incomplete build information, I update the command, those are all 
that I use.
{quote}Updater: So after I've read about that you are using submodule {{git 
submodule update --init --recursive}} which makes it now possible to build but 
it failed via a simply {{mvn clean package}}
{quote}
If you try to skip Tests first, you will get the same error with me.
{quote}By having a short look into your pom file you are using very old plugin 
versions...very old apache parent
{quote}
We will update pom file soon

> Maven build error when upgrade to 3.6.3
> ---------------------------------------
>
>                 Key: MNG-6822
>                 URL: https://issues.apache.org/jira/browse/MNG-6822
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.6.2, 3.6.3
>            Reporter: kevin su
>            Priority: Minor
>
> We use maven-3.6.2 or 3.6.3 to build Apache submarine, but got below error
> {code:java}
> [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{code}
> build command : 
> {code:java}
> git clone https://github.com/apache/submarine.git
> git submodule update --init --recursive
> mvn clean install package -DskipTests{code}
>  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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to