Bug#830497: openjpa: FTBFS: the artifact javax.servlet:servlet-api:jar:debian has not been downloaded
Daniel Schepler
dschepler at gmail.com
Fri Jul 8 15:36:59 UTC 2016
Source: openjpa
Version: 2.4.0-2
Severity: serious
>From my pbuilder build log:
...
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA JEST 2.4.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for javax.servlet:servlet-api:jar:debian is missing,
no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenJPA Utilities Library .......................... SUCCESS [ 4.177 s]
[INFO] OpenJPA Kernel ..................................... SUCCESS [ 4.931 s]
[INFO] OpenJPA JDBC ....................................... SUCCESS [ 2.821 s]
[INFO] OpenJPA Persistence ................................ SUCCESS [ 1.789 s]
[INFO] OpenJPA Persistence JDBC ........................... SUCCESS [ 0.506 s]
[INFO] OpenJPA XML Store .................................. SUCCESS [ 0.106 s]
[INFO] OpenJPA Slice ...................................... SUCCESS [ 0.379 s]
[INFO] OpenJPA JEST ....................................... FAILURE [ 0.019 s]
[INFO] OpenJPA Aggregate Jar .............................. SKIPPED
[INFO] OpenJPA Parent POM ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.301 s
[INFO] Finished at: 2016-07-04T07:27:51+00:00
[INFO] Final Memory: 39M/641M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project openjpa-jest: Could not
resolve dependencies for project
org.apache.openjpa:openjpa-jest:jar:2.4.0: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the
artifact javax.servlet:servlet-api:jar:debian has not been downloaded
from it before. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project openjpa-jest: Could not resolve dependencies
for project org.apache.openjpa:openjpa-jest:jar:2.4.0: Cannot access
central (https://repo.maven.apache.org/maven2) in offline mode and the
artifact javax.servlet:servlet-api:jar:debian has not been downloaded
from it before.
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:128)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:188)
at org.debian.maven.Wrapper.main(Wrapper.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException:
Could not resolve dependencies for project
org.apache.openjpa:openjpa-jest:jar:2.4.0: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the
artifact javax.servlet:servlet-api:jar:debian has not been downloaded
from it before.
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:212)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 25 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artifact javax.servlet:servlet-api:jar:debian has
not been downloaded from it before.
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
... 26 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artifact javax.servlet:servlet-api:jar:debian has
not been downloaded from it before.
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 27 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artifact javax.servlet:servlet-api:jar:debian has
not been downloaded from it before.
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:393)
... 29 more
Caused by: org.eclipse.aether.transfer.RepositoryOfflineException:
Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode
at org.eclipse.aether.internal.impl.DefaultOfflineController.checkOffline(DefaultOfflineController.java:72)
at org.eclipse.aether.internal.impl.Utils.checkOffline(Utils.java:115)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:387)
... 29 more
[ERROR]
[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 :openjpa-jest
/usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list