[ https://jira.codehaus.org/browse/MSHADE-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299838#comment-299838 ]
Benson Margulies commented on MSHADE-108: ----------------------------------------- I wonder about: INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.directory.shared:shared-all:jar:1.0.0-M13-SNAPSHOT [WARNING] 'parent.relativePath' of POM org.apache.directory.shared:shared-parent:1.0.0-M13-SNAPSHOT (/Users/benson/asf/trunk-with-dependencies/shared/pom.xml) points at org.apache.directory.server:apacheds-with-dependencies instead of org.apache.directory.project:project, please verify your project structure @ org.apache.directory.shared:shared-parent:1.0.0-M13-SNAPSHOT, /Users/benson/asf/trunk-with-dependencies/shared/pom.xml, line 22, column 11 [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. > Shade ha sissue generating a source jar on linux, and generates an error on > Java 7 > ---------------------------------------------------------------------------------- > > Key: MSHADE-108 > URL: https://jira.codehaus.org/browse/MSHADE-108 > Project: Maven 2.x Shade Plugin > Issue Type: Bug > Reporter: Emmanuel Lécharny > Priority: Blocker > > We are having issues with the shade plugin on Ubuntu, when it works well on > mac OSX. Here is how to reproduce the error: > 1) svn co > http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies/ > 2) cd shared > 3) mvn clean install -Dmaven.test.skip > On Mac OSX, maven 3.0.3, Java 1.6.0_29, the shared/all/target directory > contains : > -rw-r--r-- 1 elecharny staff 8573 Jan 27 16:20 > original-shared-all-1.0.0-M10-SNAPSHOT.jar > -rw-r--r-- 1 elecharny staff 2535518 Jan 27 16:21 > shared-all-1.0.0-M10-SNAPSHOT-sources.jar > -rw-r--r-- 1 elecharny staff 2643029 Jan 27 16:20 > shared-all-1.0.0-M10-SNAPSHOT.jar > All is fine, the shared-all-1.0.0-M10-SNAPSHOT-sources.jar file contains > everything we need. > On Ubuntu 11.10, maven 3.0.3, Java 1.6.0_29, running the exact same command, > the shared-all-1.0.0-M10-SNAPSHOT-sources.jar contains 0 bytes. > Same but using Java 7 on ubuntu, we now get an 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: Atifact does not contain any > legal files: shared-all-1.0.0-M10-SNAPSHOT-sources.jar > We run the following command on Mac OSX, using maven 3.0.3 and Java 1.6.0_29 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira