[jira] [Commented] (MAHOUT-1126) Mac builds won't unjar
[ https://issues.apache.org/jira/browse/MAHOUT-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679050#comment-13679050 ] Hudson commented on MAHOUT-1126: Integrated in Mahout-Quality #2063 (See [https://builds.apache.org/job/Mahout-Quality/2063/]) MAHOUT-1126: add in unpack options to control exclusion of LICENSE file (Revision 1491190) Result = SUCCESS gsingers : Files : * /mahout/trunk/core/src/main/assembly/job.xml * /mahout/trunk/examples/src/main/assembly/job.xml > Mac builds won't unjar > -- > > Key: MAHOUT-1126 > URL: https://issues.apache.org/jira/browse/MAHOUT-1126 > Project: Mahout > Issue Type: Bug > Components: build >Affects Versions: 0.8 > Environment: Builds on the Mac >Reporter: Pat Ferrel >Assignee: Grant Ingersoll > Labels: build > Fix For: 0.8 > > > On the Mac you have to remove the licenses in the mahout jar or hadoop can't > unjar mahout. The Mac has a case insensitive file system and so can't tell > the difference between LICENSE and license. This was fixed at one point > https://issues.apache.org/jira/browse/MAHOUT-780 > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/license/ > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/LICENSE/ > Looks like as is mentioned in > https://issues.apache.org/jira/browse/MAHOUT-780 > mv target/maven-shared-archive-resources/META-INF/LICENSE > target/maven-shared-archive-resources/META-INF/LICENSES > works too. > Can this get a permanent fix? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAHOUT-1126) Mac builds won't unjar
[ https://issues.apache.org/jira/browse/MAHOUT-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678751#comment-13678751 ] Grant Ingersoll commented on MAHOUT-1126: - OK, I see the issue more clearly now that it has officially bit me... > Mac builds won't unjar > -- > > Key: MAHOUT-1126 > URL: https://issues.apache.org/jira/browse/MAHOUT-1126 > Project: Mahout > Issue Type: Bug > Components: build >Affects Versions: 0.8 > Environment: Builds on the Mac >Reporter: Pat Ferrel >Assignee: Grant Ingersoll > Labels: build > Fix For: 0.8 > > > On the Mac you have to remove the licenses in the mahout jar or hadoop can't > unjar mahout. The Mac has a case insensitive file system and so can't tell > the difference between LICENSE and license. This was fixed at one point > https://issues.apache.org/jira/browse/MAHOUT-780 > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/license/ > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/LICENSE/ > Looks like as is mentioned in > https://issues.apache.org/jira/browse/MAHOUT-780 > mv target/maven-shared-archive-resources/META-INF/LICENSE > target/maven-shared-archive-resources/META-INF/LICENSES > works too. > Can this get a permanent fix? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAHOUT-1126) Mac builds won't unjar
[ https://issues.apache.org/jira/browse/MAHOUT-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672129#comment-13672129 ] Pat Ferrel commented on MAHOUT-1126: Right you are and so the solution has changed to delete the file, not the directory. Still it's a post build process thing and new people have to figure out the solution over and over. There used to be a special exclude in the examples/src/main/assembly/job.xml shown below but I don't think that works anymore. Maybe that could be the source of a permanent fix? I'm not a Maven expert. BTW I don't build in examples but I so use it as an example of how to create a separate build and end up with the same problem because it includes the same deps and license. The problem is obviously not Mahout, but that is the infection vector... org.apache.hadoop:hadoop-core com.github.stephenc.high-scale-lib:high-scale-lib > Mac builds won't unjar > -- > > Key: MAHOUT-1126 > URL: https://issues.apache.org/jira/browse/MAHOUT-1126 > Project: Mahout > Issue Type: Bug > Components: build >Affects Versions: 0.8 > Environment: Builds on the Mac >Reporter: Pat Ferrel > Labels: build > Fix For: 0.8 > > > On the Mac you have to remove the licenses in the mahout jar or hadoop can't > unjar mahout. The Mac has a case insensitive file system and so can't tell > the difference between LICENSE and license. This was fixed at one point > https://issues.apache.org/jira/browse/MAHOUT-780 > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/license/ > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/LICENSE/ > Looks like as is mentioned in > https://issues.apache.org/jira/browse/MAHOUT-780 > mv target/maven-shared-archive-resources/META-INF/LICENSE > target/maven-shared-archive-resources/META-INF/LICENSES > works too. > Can this get a permanent fix? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAHOUT-1126) Mac builds won't unjar
[ https://issues.apache.org/jira/browse/MAHOUT-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672126#comment-13672126 ] Grant Ingersoll commented on MAHOUT-1126: - When I build the examples job jar, I don't see a META-INF/LICENSES directory anymore. There is a /META-INF/LICENSE file. There is also a /licenses directory, but it is not in /META-INF > Mac builds won't unjar > -- > > Key: MAHOUT-1126 > URL: https://issues.apache.org/jira/browse/MAHOUT-1126 > Project: Mahout > Issue Type: Bug > Components: build >Affects Versions: 0.8 > Environment: Builds on the Mac >Reporter: Pat Ferrel > Labels: build > Fix For: 0.8 > > > On the Mac you have to remove the licenses in the mahout jar or hadoop can't > unjar mahout. The Mac has a case insensitive file system and so can't tell > the difference between LICENSE and license. This was fixed at one point > https://issues.apache.org/jira/browse/MAHOUT-780 > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/license/ > zip -d mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar > META-INF/LICENSE/ > Looks like as is mentioned in > https://issues.apache.org/jira/browse/MAHOUT-780 > mv target/maven-shared-archive-resources/META-INF/LICENSE > target/maven-shared-archive-resources/META-INF/LICENSES > works too. > Can this get a permanent fix? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira