Build error in shared-all on linux-java7
----------------------------------------

                 Key: DIRSERVER-1691
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1691
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M4
         Environment: 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
            Reporter: Göktürk Gezer
            Priority: Critical
             Fix For: 2.0.0-M5


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to