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

Karl Heinz Marbaise commented on MNG-6822:
------------------------------------------

I've tried to build submarine from GitHub master 
(239db3abed54a98516a70a4b95145bdb3df192c9) which does not even work...

furthermore I've taken a look into your {{.travis.yml}} file which is a little 
bit complex.
Furthermore I've spotted a thing which is simply wrong cause you are using 
{{mvn clean install package}} this means you are repeating several steps.  
Apart if the {{install}} is really necessary. Usually a {{mvn clean install}} 
or most of the times even better {{mvn clean verify}}.  This wastes many time 
for building...

{code}
submarine (master)$ mvn clean 
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module 
/Users/khmarbaise/ws-git-apache/submarine/submodules/tony/pom.xml of 
/Users/khmarbaise/ws-git-apache/submarine/pom.xml does not exist @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.submarine:submarine:0.3.0-SNAPSHOT 
(/Users/khmarbaise/ws-git-apache/submarine/pom.xml) has 1 error
[ERROR]     Child module 
/Users/khmarbaise/ws-git-apache/submarine/submodules/tony/pom.xml of 
/Users/khmarbaise/ws-git-apache/submarine/pom.xml does not exist
[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/ProjectBuildingException
{code}
Please describe which exact state of the project you have referencing and which 
exact calling parameters (profiles etc.) you have used.

> 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}
> command : 
> {code:java}
> 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