Bug#997773: tiles: FTBFS: [ERROR] Failed to execute goal org.apache.tiles.autotag.plugin:maven-autotag-plugin:1.2:generate-jsp (default) on project tiles-jsp: Execution default of goal org.apache.tiles.autotag.plugin:maven-autotag-plugin:1.2:generate-jsp failed: org.apache.tiles.autotag.model.TemplateSuite -> [Help 1]

Lucas Nussbaum lucas at debian.org
Sun Oct 24 13:27:46 BST 2021


Source: tiles
Version: 3.0.7-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- --file src/pom.xml package javadoc:aggregate
> 	/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 --file src/pom.xml package javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.tiles:tiles-servlet:jar:3.0.7
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 66, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.tiles:tiles-jsp:jar:3.0.7
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 67, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.tiles:tiles-el:jar:3.0.7
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 59, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.tiles:tiles-mvel:jar:3.0.7
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 66, column 12
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.tiles:tiles-ognl:jar:3.0.7
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 66, column 12
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Tiles 3                                                            [pom]
> [INFO] Tiles - API                                                        [jar]
> [INFO] Tiles - Core Library                                               [jar]
> [INFO] Tiles - Template Technologies Support                              [jar]
> [INFO] Tiles - Servlet support                                            [jar]
> [INFO] Tiles - JSP support                                                [jar]
> [INFO] Tiles - FreeMarker Support                                         [jar]
> [INFO] Tiles - Velocity Support                                           [jar]
> [INFO] Tiles - EL support                                                 [jar]
> [INFO] Tiles - MVEL support                                               [jar]
> [INFO] Tiles - OGNL support                                               [jar]
> [INFO] Tiles - Compatibility                                              [jar]
> [INFO] Tiles - Extras                                                     [jar]
> [INFO] tiles-test-pom                                                     [pom]
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [INFO] 
> [INFO] -------------------< org.apache.tiles:tiles-parent >--------------------
> [INFO] Building Tiles 3 3.0.7                                            [1/14]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-parent ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] ---------------------< org.apache.tiles:tiles-api >---------------------
> [INFO] Building Tiles - API 3.0.7                                        [2/14]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tiles-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 2 resources to META-INF
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tiles-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 19 source files to /<<PKGBUILDDIR>>/src/tiles-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] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-api ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tiles-api ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tiles-api ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ tiles-api ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ tiles-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/src/tiles-api/target/tiles-api-3.0.7.jar
> [INFO] 
> [INFO] --------------------< org.apache.tiles:tiles-core >---------------------
> [INFO] Building Tiles - Core Library 3.0.7                               [3/14]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tiles-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 2 resources to META-INF
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tiles-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 73 source files to /<<PKGBUILDDIR>>/src/tiles-core/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] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-core ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tiles-core ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tiles-core ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ tiles-core ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ tiles-core ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/src/tiles-core/target/tiles-core-3.0.7.jar
> [INFO] 
> [INFO] ------------------< org.apache.tiles:tiles-template >-------------------
> [INFO] Building Tiles - Template Technologies Support 3.0.7              [4/14]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-autotag-plugin:1.2:create-descriptor (default) @ tiles-template ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tiles-template ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tiles-template ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 16 source files to /<<PKGBUILDDIR>>/src/tiles-template/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] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-template ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tiles-template ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tiles-template ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ tiles-template ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ tiles-template ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/src/tiles-template/target/tiles-template-3.0.7.jar
> [INFO] 
> [INFO] -------------------< org.apache.tiles:tiles-servlet >-------------------
> [INFO] Building Tiles - Servlet support 3.0.7                            [5/14]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tiles-servlet ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] Copying 2 resources to META-INF
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ tiles-servlet ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 11 source files to /<<PKGBUILDDIR>>/src/tiles-servlet/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>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/startup/simple/SimpleTilesInitializerServlet.java: /<<PKGBUILDDIR>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/startup/simple/SimpleTilesInitializerServlet.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/startup/simple/SimpleTilesInitializerServlet.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java: /<<PKGBUILDDIR>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/tiles-servlet/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ tiles-servlet ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ tiles-servlet ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ tiles-servlet ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ tiles-servlet ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ tiles-servlet ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/src/tiles-servlet/target/tiles-servlet-3.0.7.jar
> [INFO] 
> [INFO] ---------------------< org.apache.tiles:tiles-jsp >---------------------
> [INFO] Building Tiles - JSP support 3.0.7                                [6/14]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-autotag-plugin:1.2:generate-jsp (default) @ tiles-jsp ---
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Tiles 3
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Tiles 3 3.0.7 ...................................... SUCCESS [  0.404 s]
> [INFO] Tiles - API 3.0.7 .................................. SUCCESS [  1.289 s]
> [INFO] Tiles - Core Library 3.0.7 ......................... SUCCESS [  0.578 s]
> [INFO] Tiles - Template Technologies Support 3.0.7 ........ SUCCESS [  0.409 s]
> [INFO] Tiles - Servlet support 3.0.7 ...................... SUCCESS [  0.192 s]
> [INFO] Tiles - JSP support 3.0.7 .......................... FAILURE [  0.027 s]
> [INFO] Tiles - FreeMarker Support 3.0.7 ................... SKIPPED
> [INFO] Tiles - Velocity Support 3.0.7 ..................... SKIPPED
> [INFO] Tiles - EL support 3.0.7 ........................... SKIPPED
> [INFO] Tiles - MVEL support 3.0.7 ......................... SKIPPED
> [INFO] Tiles - OGNL support 3.0.7 ......................... SKIPPED
> [INFO] Tiles - Compatibility 3.0.7 ........................ SKIPPED
> [INFO] Tiles - Extras 3.0.7 ............................... SKIPPED
> [INFO] tiles-test-pom 2.2.2 ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  3.149 s
> [INFO] Finished at: 2021-10-23T07:17:15Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.tiles.autotag.plugin:maven-autotag-plugin:1.2:generate-jsp (default) on project tiles-jsp: Execution default of goal org.apache.tiles.autotag.plugin:maven-autotag-plugin:1.2:generate-jsp failed: org.apache.tiles.autotag.model.TemplateSuite -> [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/PluginExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :tiles-jsp
> 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 --file src/pom.xml package javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/tiles_3.0.7-4_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