Home > Back-end >  Jenkins build Maven project, an error, subproject inherit the parent project. Build error component
Jenkins build Maven project, an error, subproject inherit the parent project. Build error component

Time:09-23

Started by the user admin
Building workspace in/usr/local/JenkinsHome/workspace/BHZ - com
Updating http://192.168.237.134/svn/bhz/bhz-com at revision '2020-05-11 T06: overthrow. 981-0700
At revision 9
No change for http://192.168.237.134/svn/bhz/bhz-com since the previous build
Parsing POMs just
[bhz-com] $/usr/local/jdk7/bin/java -cp/usr/local/JenkinsHome/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.5.jar:/usr/local/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main/usr/local/apache-maven-3.0.4/usr/local/jenkins-tomcat/webapps/jenkins/WEB-INF/lib/remoting-2.56.jar/usr/local/JenkinsHome/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.5.jar/usr/local/JenkinsHome/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 39422
<=====[JENKINS REMOTING CAPACITY]=& gt; The channel started
Executing the Maven: - B - f/usr/local/JenkinsHome/workspace/BHZ - com/pom. XML - Dmaven. Repo. Local=/usr/local/JenkinsHome/Maven repositories/1 clean package - Dmaven. Test. Skip=true
[the INFO] Scanning for the projects...
[WARNING]
[WARNING] Some of the problems were encountered while building the effective model for BHZ: BHZ - com: jar: 0.0.1 - the SNAPSHOT
[WARNING] 'dependencies. Dependency. (groupId: artifactId: type: classifier)' must be unique: org. Apache. Curator: curator - framework: the jar - & gt; Version 2.4.2 vs. ${curator. Version} @ BHZ: BHZ - parent: 0.0.1 - the SNAPSHOT,/usr/local/JenkinsHome/workspace/BHZ - parent/pom. XML, line 341, the column 21
[WARNING] '. Build. Plugins. The plugin version for org.. Apache maven. Plugins: maven - surefire - the plugin is missing. @ BHZ: BHZ - parent: 0.0.1 - the SNAPSHOT,/usr/local/JenkinsHome/workspace/BHZ - parent/pom. XML, line 484, the column 11
[WARNING]
It is highly [WARNING] It to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, the future Maven versions took no longer support building to malformed projects.
[WARNING]
[the INFO]
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] Building BHZ - com 0.0.1 - the SNAPSHOT
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Downloading: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/maven-metadata.xml
[WARNING] Could not transfer the metadata Commons - logging: Commons logging/maven - metadata. XML from/to central (http://repo.maven.apache.org/maven2) : Failed to transfer the file: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/maven-metadata.xml. Return code is: 501, ReasonPhrase: HTTPS Required.
Downloading: http://repo.maven.apache.org/maven2/avalon-framework/avalon-framework-api/maven-metadata.xml
[WARNING] Could not transfer the metadata of avalon - framework: avalon framework - API/maven - metadata XML from/to central (http://repo.maven.apache.org/maven2) : Failed to transfer the file: http://repo.maven.apache.org/maven2/avalon-framework/avalon-framework-api/maven-metadata.xml. Return code is: 501, ReasonPhrase: HTTPS Required.
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] BUILD FAILURE
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] Total time: 4.647 s
[the INFO] Finished at: Mon May 11 06:49:28 PDT 2020
31 [INFO] Final Memory: 13 m/m
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related