[Reproducible-builds] Bug#814072: tomcat-maven-plugin: FTBFS: Invalid plugin descriptor for org.codehaus.plexus:plexus-component-metadata

Chris Lamb lamby at debian.org
Mon Feb 8 08:14:10 UTC 2016


Source: tomcat-maven-plugin
Version: 1.1-2.4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

tomcat-maven-plugin fails to build from source in unstable/amd64:

  [..]

   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: source package tomcat-maven-plugin
  dpkg-buildpackage: source version 1.1-2.4
  dpkg-buildpackage: source distribution unstable
  dpkg-buildpackage: source changed by Emmanuel Bourg <ebourg at apache.org>
   dpkg-source --before-build tomcat-maven-plugin-1.1
  dpkg-buildpackage: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=maven
     dh_testdir -O--buildsystem=maven
     dh_auto_clean -O--buildsystem=maven
  	"for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
  	mh_unpatchpoms -plibtomcat-maven-plugin-java
     dh_clean -O--buildsystem=maven
   debian/rules build
  dh build --buildsystem=maven
     dh_testdir -O--buildsystem=maven
     dh_update_autotools_config -O--buildsystem=maven
     dh_auto_configure -O--buildsystem=maven
  find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory
  find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory
  find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
  	mh_patchpoms -plibtomcat-maven-plugin-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian/maven-repo
     dh_auto_build -O--buildsystem=maven
  	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
  [INFO] Scanning for projects...
  [WARNING] 
  [WARNING] Some problems were encountered while building the effective model for org.codehaus.mojo:tomcat-maven-plugin:maven-plugin:1.1
  [WARNING] 'dependencies.dependency.systemPath' for org.apache.tomcat:jasper-jdt:jar should use a variable instead of a hard-coded path /usr/share/java/ecj.jar @ line 152, column 16
  [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] ------------------------------------------------------------------------
  [INFO] Building Tomcat Maven Plugin 1.1
  [INFO] ------------------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.115 s
  [INFO] Finished at: 2016-02-08T08:54:02+01:00
  [INFO] Final Memory: 8M/300M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Invalid plugin descriptor for org.codehaus.plexus:plexus-component-metadata:1.6 (/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian/maven-repo/org/codehaus/plexus/plexus-component-metadata/1.6/plexus-component-metadata-1.6.jar), Plugin's descriptor contains the wrong version: 1.5.5 -> [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/InvalidPluginDescriptorException
  dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20160208085215.TnS3QnKMpI/tomcat-maven-plugin-1.1/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tomcat-maven-plugin.1.1-2.4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1541 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160208/bd878366/attachment.obj>


More information about the Reproducible-builds mailing list