Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#784162: jenkins: FTBFS due to error with jsr305 missing maven artifact

0 views
Skip to first unread message

Miguel Landaeta

unread,
May 3, 2015, 1:20:05 PM5/3/15
to
Package: src:jenkins
Version: 1.565.3-3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

> [...]
>
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/tmp/buildd/jenkins-1.565.3/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/jenkins-1.565.3/debian/maven-repo -e -Dbuild.version="1.565.3" install
> + Error stacktraces are turned on.
> [INFO]
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Jenkins main module
> [INFO] Jenkins CLI
> [INFO] Jenkins core
> [INFO] Jenkins war
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.jsr-305:jsr305:jar:0.x
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
> 2) org.kohsuke.stapler:stapler:jar:debian
> 3) org.jsr-305:jsr305:jar:0.x
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
>
> from the specified remote repositories:
> repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/),
> central (https://repo1.maven.org/maven2)
>
>
>
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
> ----------
> 1) org.jsr-305:jsr305:jar:0.x
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
> 2) org.kohsuke.stapler:stapler:jar:debian
> 3) org.jsr-305:jsr305:jar:0.x
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
>
> from the specified remote repositories:
> repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/),
> central (https://repo1.maven.org/maven2)
>
>
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(DefaultLifecycleExecutor.java:1607)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findArtifactTypeHandlersInPlugins(DefaultLifecycleExecutor.java:1468)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:222)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:178)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at org.debian.maven.Wrapper.main(Wrapper.java:89)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
> ----------
> 1) org.jsr-305:jsr305:jar:0.x
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.jsr-305 -DartifactId=jsr305 -Dversion=0.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
> 2) org.kohsuke.stapler:stapler:jar:debian
> 3) org.jsr-305:jsr305:jar:0.x
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.kohsuke.stapler:maven-stapler-plugin:maven-plugin:1.17
>
> from the specified remote repositories:
> repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/),
> central (https://repo1.maven.org/maven2)
>
>
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
> at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:835)
> at org.apache.maven.plugin.DefaultPluginManager.loadPluginFully(DefaultPluginManager.java:1629)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(DefaultLifecycleExecutor.java:1582)
> ... 16 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sun May 03 17:10:32 UTC 2015
> [INFO] Final Memory: 5M/90M
> [INFO] ------------------------------------------------------------------------
> /usr/share/cdbs/1/class/maven.mk:87: recipe for target 'mvn-build' failed
> make: *** [mvn-build] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- System Information:
Debian Release: 7.8
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

--
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche
jenkins_1.565.3-3_amd64.build
signature.asc
0 new messages