maven - Fail to copy with Jenkins (MDEP-187) -


i'm using jenkins build jenkins code in github repository i'm having problem:

[info]                                                                           [info] ------------------------------------------------------------------------  [info] building jenkins war 1.626  [info] ------------------------------------------------------------------------  [info]   [info] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jenkins-war ---  [info] deleting c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target  [info]   [info] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ jenkins-war ---  [info]   [info] --- maven-enforcer-plugin:1.0.1:display-info (display-info) @ jenkins-war ---  [info] maven version: 3.3.3  [info] jdk version: 1.7.0_79 normalized as: 1.7.0-79  [info] os info: arch: amd64 family: windows name: windows 8.1 version: 6.3  [info]   [info] --- maven-enforcer-plugin:1.0.1:enforce (default) @ jenkins-war ---  [info] adding ignore: org.eclipse.jetty.spdy.*  [info]   [info] --- maven-enforcer-plugin:1.0.1:enforce (enforce-banned-dependencies) @ jenkins-war ---  [info]   [info] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ jenkins-war ---  [info] setting property 'now' '08/30/2015 18:58 gmt'.  [info]   [info] --- build-helper-maven-plugin:1.7:regex-property (version-property) @ jenkins-war ---  [info] no match regex '-snapshot' found in '1.626'.  [info] setting property 'build.version' '1.626'.  [info]   [info] --- build-helper-maven-plugin:1.7:add-source (add-source) @ jenkins-war ---  [info] source directory: c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target\generated-sources\localizer added.  [info]   [info] --- gmaven-plugin:1.5-jenkins-3:generatestubs (default) @ jenkins-war ---  [info] no sources found java stub generation  [info]   [info] --- maven-dependency-plugin:2.8:list (list-dependencies) @ jenkins-war ---  [info]   [info] --- maven-dependency-plugin:2.8:unpack-dependencies (executable-war-header) @ jenkins-war ---  [info] unpacking c:\.m2\repository\org\jenkins-ci\executable-war\1.30\executable-war-1.30.jar c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target\jenkins includes "**/*.class" , excludes ""  [info]   [info] --- maven-dependency-plugin:2.8:copy (resgen) @ jenkins-war ---  [info] configured artifact: org.jenkins-ci.main:remoting:?:jar  [info] configured artifact: org.jenkins-ci.main:remoting:?:jar  [info] configured artifact: org.jenkins-ci.main:cli:jar-with-dependencies:?:jar  [info] configured artifact: org.jenkins-ci:winstone:?:jar  [info] configured artifact: org.jenkins-ci.main:maven-plugin:?:hpi  [info] configured artifact: org.jenkins-ci.plugins:ssh-slaves:1.9:hpi  [info] configured artifact: org.jenkins-ci.plugins:credentials:1.18:hpi  [info] configured artifact: org.jenkins-ci.plugins:ssh-credentials:1.10:hpi  [info] configured artifact: org.jenkins-ci.plugins:subversion:1.54:hpi  [info] configured artifact: org.jenkins-ci.plugins:cvs:2.11:hpi  [info] configured artifact: org.jenkins-ci.plugins:ant:1.2:hpi  [info] configured artifact: org.jenkins-ci.plugins:javadoc:1.1:hpi  [info] configured artifact: org.jenkins-ci.plugins:translation:1.10:hpi  [info] configured artifact: org.jenkins-ci.plugins:external-monitor-job:1.4:hpi  [info] configured artifact: org.jenkins-ci.plugins:ldap:1.11:hpi  [info] configured artifact: org.jenkins-ci.plugins:pam-auth:1.1:hpi  [info] configured artifact: org.jenkins-ci.plugins:mailer:1.11:hpi  [info] configured artifact: org.jenkins-ci.plugins:matrix-auth:1.1:hpi  [info] configured artifact: org.jenkins-ci.plugins:windows-slaves:1.0:hpi  [info] configured artifact: org.jenkins-ci.plugins:antisamy-markup-formatter:1.1:hpi  [info] configured artifact: org.jenkins-ci.plugins:matrix-project:1.4.1:hpi  [info] configured artifact: org.jenkins-ci.plugins:script-security:1.13:hpi  [info] configured artifact: org.jenkins-ci.plugins:junit:1.2-beta-4:hpi  [info] copying remoting-2.52.jar c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target\jenkins\web-inf\remoting.jar  [info] copying remoting-2.52.jar c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target\jenkins\web-inf\slave.jar  [info] copying classes c:\program files (x86)\jenkins\workspace\jenkins_scc12_test\war\target\jenkins\web-inf\jenkins-cli.jar  [info] ------------------------------------------------------------------------  [info] reactor summary:  [info]   [info] jenkins main module ................................ success [  2.497 s]  [info] jenkins cli ........................................ success [  6.507 s]  [info] jenkins core ....................................... success [12:32 min]  [info] jenkins war ........................................ failure [ 10.954 s]  [info] test harness jenkins , plugins ............... skipped  [info] jenkins plugin pom ................................. skipped  [info] ------------------------------------------------------------------------  [info] build failure  [info] ------------------------------------------------------------------------  [info] total time: 12:55 min  [info] finished at: 2015-08-31t02:58:30+08:00  [info] final memory: 179m/740m  [info] ------------------------------------------------------------------------  [error] failed execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (resgen) on project jenkins-war: artifact has not been packaged yet. when used on reactor artifact, copy should executed after packaging: see mdep-187. -> [help 1]  [error]   [error] see full stack trace of errors, re-run maven -e switch.  [error] re-run maven using -x switch enable full debug logging.  [error]   [error] more information errors , possible solutions, please read following articles:  [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception  [error]   [error] after correcting problems, can resume build command  [error]   mvn <goals> -rf :jenkins-war  build step 'invoke top-level maven targets' marked build failure  recording test results  finished: failure

the code i'm using of last release: https://github.com/jenkinsci/jenkins/tree/8d8703a781f83be19086592e0c8fa4b4c14da13c

i'm using maven build.

enter image description here

i'm new this. please me solve problem.

jdk version: 1.7.0

maven version: 3.3.3


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -