Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1691

Build error in shared-all on linux-java7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0-M7
    • None
    • OS :Linux, Ubuntu-11.10, 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      Java version :1.7.0_02
      Mvn version :3.0.4

    Description

      In Linux, with Java7, build is failing on shared-all.

      Error description:
      shared-all-sources.jar is created with empty content, not even META-INF.So maven-geronimo plugin stops the build because of missing licensing in this source jar.

      Error Output:
      [ERROR] Failed to execute goal org.apache.geronimo.genesis.plugins:tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) on project shared-all: Artifact does not contain any legal files: shared-all-1.0.0-M10-SNAPSHOT-sources.jar -> [Help 1]

      Can be bypassed by, either making shared-all to not to generate source jar, or by changing geronimo plugin configuration in the top level pom to don't stop when licensing error occured.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggezer Göktürk Gezer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: