Bug#1002277: tiles-request: FTBFS: [ERROR] Failed to execute goal on project tiles-request-servlet: Could not resolve dependencies for project org.apache.tiles:tiles-request-servlet:jar:1.0.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.servlet:javax.servlet-api:jar:3.1 has not been downloaded from it before. -> [Help 1]

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:50:58 GMT 2021


Source: tiles-request
Version: 1.0.7-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibtiles-request-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Tiles Request Framework                                            [pom]
> [INFO] Tiles request - API                                                [jar]
> [INFO] Tiles request - Servlet support                                    [jar]
> [INFO] Tiles Request - Wildcard file loading in Servlets                  [jar]
> [INFO] Tiles - Portlet support                                            [jar]
> [INFO] Tiles Request - JSP support                                        [jar]
> [INFO] Tiles Request - Freemarker support                                 [jar]
> [INFO] Tiles Request - Velocity support                                   [jar]
> [INFO] Tiles request - Mustache support                                   [jar]
> [INFO] 
> [INFO] -------------------< org.apache.tiles:tiles-request >-------------------
> [INFO] Building Tiles Request Framework 1.0.7                             [1/9]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-request ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] -----------------< org.apache.tiles:tiles-request-api >-----------------
> [INFO] Building Tiles request - API 1.0.7                                 [2/9]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tiles-request-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tiles-request-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 51 source files to /<<PKGBUILDDIR>>/tiles-request-api/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/tiles-request-api/src/main/java/org/apache/tiles/request/reflect/ClassUtil.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/tiles-request-api/src/main/java/org/apache/tiles/request/reflect/ClassUtil.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-request-api ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tiles-request-api ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tiles-request-api ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ tiles-request-api ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ tiles-request-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/tiles-request-api/target/tiles-request-api-1.0.7.jar
> [INFO] 
> [INFO] ---------------< org.apache.tiles:tiles-request-servlet >---------------
> [INFO] Building Tiles request - Servlet support 1.0.7                     [3/9]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for javax.servlet:javax.servlet-api:jar:3.1 is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Tiles Request Framework 1.0.7:
> [INFO] 
> [INFO] Tiles Request Framework ............................ SUCCESS [  0.424 s]
> [INFO] Tiles request - API ................................ SUCCESS [  1.473 s]
> [INFO] Tiles request - Servlet support .................... FAILURE [  0.007 s]
> [INFO] Tiles Request - Wildcard file loading in Servlets .. SKIPPED
> [INFO] Tiles - Portlet support ............................ SKIPPED
> [INFO] Tiles Request - JSP support ........................ SKIPPED
> [INFO] Tiles Request - Freemarker support ................. SKIPPED
> [INFO] Tiles Request - Velocity support ................... SKIPPED
> [INFO] Tiles request - Mustache support ................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  2.016 s
> [INFO] Finished at: 2021-12-20T18:58:05Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project tiles-request-servlet: Could not resolve dependencies for project org.apache.tiles:tiles-request-servlet:jar:1.0.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.servlet:javax.servlet-api:jar:3.1 has not been downloaded from it before. -> [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 <args> -rf :tiles-request-servlet
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/tiles-request_1.0.7-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list