Ohhh, I forgot one thing.... maybe this page will be usefull for you as was
usefull for me.

https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins


On Wed, Oct 30, 2013 at 9:18 AM, Marcelo <mreba...@gmail.com> wrote:

> David,
>
> Can you try run the command "mvn install -DskipTests=true"? That command
> will install the missing dependency and run the generate-sources phase.
>
> Regards.
>
> Marcelo Rebasti
>
>
> On Wed, Oct 30, 2013 at 9:04 AM, david michael gang <michaelg...@gmail.com
> > wrote:
>
>> Hi all,
>>
>> I need please help in the following issue.
>> I cloned the jenkins repository to eclipse with egit.
>> Then i imported the project to a general project.
>> Then i configured the project that it will be a maven java project.
>> I wanted that it will get all maven dependencies, so i ran with maven
>> generate sources.
>>
>> I got the following log (full log is attached)
>>
>> [INFO] Scanning for projects...
>> [WARNING] The POM for javax.mail:mail:jar:1.4 is invalid, transitive
>> dependencies (if any) will not be available, enable debug logging for more
>> details
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Jenkins main module
>> [INFO] Jenkins CLI
>> [INFO] Jenkins core
>> [INFO] Jenkins war
>> [INFO] Test harness for Jenkins and plugins
>> [INFO] Jenkins plugin POM
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Jenkins main module 1.539-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ pom ---
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/codehaus/mojo/extra-enforcer-rules/1.0-beta-1+kohsuke/extra-enforcer-rules-1.0-beta-1+kohsuke.pom
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/codehaus/mojo/extra-enforcer-rules/1.0-beta-1+kohsuke/extra-enforcer-rules-1.0-beta-1+kohsuke.pom(7
>>  KB at 7.8 KB/sec)
>> ....
>> ...
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/samba/jcifs/jcifs/1.3.17-kohsuke-1/jcifs-1.3.17-kohsuke-1.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar(1387
>>  KB at 92.4 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/kohsuke/metainf-services/metainf-services/1.4/metainf-services-1.4.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/kohsuke/jinterop/j-interop/2.0.6-kohsuke-1/j-interop-2.0.6-kohsuke-1.jar(377
>>  KB at 87.9 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/jvnet/robust-http-client/robust-http-client/1.2/robust-http-client-1.2.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/kohsuke/metainf-services/metainf-services/1.4/metainf-services-1.4.jar(8
>>  KB at 14.5 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/kohsuke/access-modifier-annotation/1.4/access-modifier-annotation-1.4.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/jvnet/robust-http-client/robust-http-client/1.2/robust-http-client-1.2.jar(5
>>  KB at 12.4 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/findbugs/annotations/1.0.0/annotations-1.0.0.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/kohsuke/access-modifier-annotation/1.4/access-modifier-annotation-1.4.jar(7
>>  KB at 13.5 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/kohsuke/owasp-html-sanitizer/r88/owasp-html-sanitizer-r88.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/findbugs/annotations/1.0.0/annotations-1.0.0.jar(27
>>  KB at 44.6 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/org/mindrot/jbcrypt/0.3m/jbcrypt-0.3m.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/mindrot/jbcrypt/0.3m/jbcrypt-0.3m.jar(18
>>  KB at 35.6 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/com/google/guava/guava/11.0.1/guava-11.0.1.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/com/google/guava/guava/11.0.1/guava-11.0.1.jar(0
>>  B at 0.0 KB/sec)
>> Downloading:
>> http://repo.jenkins-ci.org/public/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/kohsuke/owasp-html-sanitizer/r88/owasp-html-sanitizer-r88.jar(88
>>  KB at 66.5 KB/sec)
>> Downloaded:
>> http://repo.jenkins-ci.org/public/net/java/dev/jna/jna/3.3.0-jenkins-3/jna-3.3.0-jenkins-3.jar(846
>>  KB at 90.8 KB/sec)
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/samba/jcifs/jcifs/1.3.17-kohsuke-1/jcifs-1.3.17-kohsuke-1.jar(389
>>  KB at 88.9 KB/sec)
>> Downloaded:
>> http://repo.jenkins-ci.org/public/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar(71 
>> KB at 66.9 KB/sec)
>> Downloaded:
>> http://repo.jenkins-ci.org/public/org/codehaus/groovy/groovy-all/1.8.9/groovy-all-1.8.9.jar(6077
>>  KB at 94.5 KB/sec)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Jenkins main module ............................... SUCCESS
>> [1:30.577s]
>> [INFO] Jenkins CLI ....................................... SUCCESS
>> [44.892s]
>> [INFO] Jenkins core ...................................... FAILURE
>> [2:32.218s]
>> [INFO] Jenkins war ....................................... SKIPPED
>> [INFO] Test harness for Jenkins and plugins .............. SKIPPED
>> [INFO] Jenkins plugin POM ................................ SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4:49.198s
>> [INFO] Finished at: Wed Oct 30 13:00:19 IST 2013
>> [INFO] Final Memory: 15M/133M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project jenkins-core: Could not resolve
>> dependencies for project
>> org.jenkins-ci.main:jenkins-core:jar:1.539-SNAPSHOT: Could not find
>> artifact org.jenkins-ci.main:cli:jar:1.539-SNAPSHOT -> [Help 1]
>> [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/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :jenkins-core
>>
>> What did i do wrong?
>>
>> Thanks,
>> David
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to