Maven help
Hi, hoping this is an appropriate place to ask for some help with our build on Mahout. We recently did a lot of refactoring and got to a point where we were getting `src`-only zips, no jars and no binary builds. A few of the team have tried digging in to fix it but we are stuck due to lack of maven experience and time. Could anyone point us to docs for how to make sure we build with src and binary jars? Here are the latest two releases, with the 0.14.0 showing missing binaries; thanks in advance! http://archive.apache.org/dist/mahout/0.13.0/ Index of /dist/mahout/0.13.0 Icon Name Last modified Size Description [PARENTDIR] Parent Directory - [ ] apache-mahout-distribution-0.13.0-src.tar.gz 2017-04-17 16:16 4.7M [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.asc 2017-04-17 16:16 819 [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.md5 2017-04-17 16:16 32 [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.sha1 2017-04-17 16:16 40 [ ] apache-mahout-distribution-0.13.0.pom 2017-04-17 16:16 6.8K [TXT] apache-mahout-distribution-0.13.0.pom.asc 2017-04-17 16:16 819 [TXT] apache-mahout-distribution-0.13.0.pom.md5 2017-04-17 16:16 32 [TXT] apache-mahout-distribution-0.13.0.pom.sha12017-04-17 16:16 40 [ ] apache-mahout-distribution-0.13.0.tar.gz 2017-04-17 16:16 218M [TXT] apache-mahout-distribution-0.13.0.tar.gz.asc 2017-04-17 16:16 819 [TXT] apache-mahout-distribution-0.13.0.tar.gz.md5 2017-04-17 16:16 32 [TXT] apache-mahout-distribution-0.13.0.tar.gz.sha1 2017-04-17 16:16 40 http://archive.apache.org/dist/mahout/0.14.0/ Index of /dist/mahout/0.14.0 Icon Name Last modified Size Description [PARENTDIR] Parent Directory - [ ] mahout-0.14.0-source-release.zip 2019-03-06 04:02 11M [TXT] mahout-0.14.0-source-release.zip.asc 2019-03-06 04:02 819 [TXT] mahout-0.14.0-source-release.zip.sha1 2019-03-06 04:02 40 [ ] mahout-0.14.0-tests.jar 2019-03-06 04:02 6.1K [TXT] mahout-0.14.0-tests.jar.asc 2019-03-06 04:02 819 [TXT] mahout-0.14.0-tests.jar.sha1 2019-03-06 04:02 40 [ ] mahout-0.14.0.pom 2019-03-06 04:02 21K [TXT] mahout-0.14.0.pom.asc 2019-03-06 04:02 819 [TXT] mahout-0.14.0.pom.sha12019-03-06 04:02 40
Re: Maven help
I've remembered why we made edits that dropped the bin build now, am experiencing long periods of pegged CPU (~1000%) and then heap or OOM errors at this line: [INFO] [INFO] [INFO] [INFO] Building Apache Mahout 14.1 [INFO] [INFO] [INFO] [INFO] [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mahout --- [INFO] [INFO] Deleting /home/akm/a/src/mahout/lib (includes = [*.jar], excludes = []) [INFO] [INFO] [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ mahout --- [INFO] [INFO] [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ mahout --- [INFO] [INFO] [INFO] [INFO] --- maven-jar-plugin:3.0.0:test-jar (test-jar) @ mahout --- [INFO] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] [INFO] Building jar: /home/akm/a/src/mahout/target/mahout-14.1-tests.jar [INFO] [INFO] [INFO] [INFO] --- maven-assembly-plugin:2.6:single (source-release-assembly) @ mahout --- [INFO] [INFO] Building zip: /home/akm/a/src/mahout/target/mahout-14.1-source-release.zip [INFO] [INFO] [INFO] [INFO] --- maven-assembly-plugin:2.6:single (bin-assembly) @ mahout --- [INFO] [INFO] Reading assembly descriptor: buildtools/assembly/bin.xml Any suggestions? I can post poms in here but what's in master for mahout is what I'm using. Thanks! On Thu, May 9, 2019 at 10:21 AM Andrew Musselman wrote: > Hi, hoping this is an appropriate place to ask for some help with our > build on Mahout. > > We recently did a lot of refactoring and got to a point where we were > getting `src`-only zips, no jars and no binary builds. A few of the team > have tried digging in to fix it but we are stuck due to lack of maven > experience and time. > > Could anyone point us to docs for how to make sure we build with src and > binary jars? > > Here are the latest two releases, with the 0.14.0 showing missing > binaries; thanks in advance! > > http://archive.apache.org/dist/mahout/0.13.0/ > Index of /dist/mahout/0.13.0 > Icon Name Last modified > Size Description > [PARENTDIR] Parent > Directory - > [ ] apache-mahout-distribution-0.13.0-src.tar.gz 2017-04-17 16:16 > 4.7M > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.asc 2017-04-17 16:16 > 819 > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.md5 2017-04-17 16:16 > 32 > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.sha1 2017-04-17 16:16 > 40 > [ ] apache-mahout-distribution-0.13.0.pom 2017-04-17 16:16 > 6.8K > [TXT] apache-mahout-distribution-0.13.0.pom.asc 2017-04-17 16:16 > 819 > [TXT] apache-mahout-distribution-0.13.0.pom.md5 2017-04-17 16:16 > 32 > [TXT] apache-mahout-distribution-0.13.0.pom.sha12017-04-17 16:16 > 40 > [ ] apache-mahout-distribution-0.13.0.tar.gz 2017-04-17 16:16 > 218M > [TXT] apache-mahout-distribution-0.13.0.tar.gz.asc 2017-04-17 16:16 > 819 > [TXT] apache-mahout-distribution-0.13.0.tar.gz.md5 2017-04-17 16:16 > 32 > [TXT] apache-mahout-distribution-0.13.0.tar.gz.sha1 2017-04-17 16:16 > 40 > > > http://archive.apache.org/dist/mahout/0.14.0/ > Index of /dist/mahout/0.14.0 > Icon Name Last modified Size > Description > [PARENTDIR] Parent Directory - > [ ] mahout-0.14.0-source-release.zip 2019-03-06 04:02 11M > [TXT] mahout-0.14.0-source-release.zip.asc 2019-03-06 04:02 819 > [TXT] mahout-0.14.0-source-release.zip.sha1 2019-03-06 04:02 40 > [ ] mahout-0.14.0-tests.jar 2019-03-06 04:02 6.1K > [TXT] mahout-0.14.0-tests.jar.asc 2019-03-06 04:02 819 > [TXT] mahout-0.14.0-tests.jar.sha1 2019-03-06 04:02 40 > [ ] mahout-0.14.0.pom 2019-03-06 04:02 21K > [TXT] mahout-0.14.0.pom.asc 2019-03-06 04:02 819 > [TXT] mahout-0.14.0.pom.sha12019-03-06 04:02 40 >
Re: Maven help
Hi the first thing is to upgrade the assmbly plugin and maybe all of the other core plugins. Expecially for the Assembly plugin we did lots of enhancements recently. Enrico Il ven 10 mag 2019, 06:20 Andrew Musselman ha scritto: > I've remembered why we made edits that dropped the bin build now, am > experiencing long periods of pegged CPU (~1000%) and then heap or OOM > errors at this line: > > [INFO] [INFO] > > [INFO] [INFO] Building Apache Mahout 14.1 > [INFO] [INFO] > > [INFO] [INFO] > [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mahout > --- > [INFO] [INFO] Deleting /home/akm/a/src/mahout/lib (includes = [*.jar], > excludes = []) > [INFO] [INFO] > [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process > (process-resource-bundles) @ mahout --- > [INFO] [INFO] > [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor > (attach-descriptor) @ mahout --- > [INFO] [INFO] > [INFO] [INFO] --- maven-jar-plugin:3.0.0:test-jar (test-jar) @ mahout --- > [INFO] [WARNING] JAR will be empty - no content was marked for inclusion! > [INFO] [INFO] Building jar: > /home/akm/a/src/mahout/target/mahout-14.1-tests.jar > [INFO] [INFO] > [INFO] [INFO] --- maven-assembly-plugin:2.6:single > (source-release-assembly) @ mahout --- > [INFO] [INFO] Building zip: > /home/akm/a/src/mahout/target/mahout-14.1-source-release.zip > [INFO] [INFO] > [INFO] [INFO] --- maven-assembly-plugin:2.6:single (bin-assembly) @ mahout > --- > [INFO] [INFO] Reading assembly descriptor: buildtools/assembly/bin.xml > > Any suggestions? I can post poms in here but what's in master for mahout is > what I'm using. > > Thanks! > > On Thu, May 9, 2019 at 10:21 AM Andrew Musselman wrote: > > > Hi, hoping this is an appropriate place to ask for some help with our > > build on Mahout. > > > > We recently did a lot of refactoring and got to a point where we were > > getting `src`-only zips, no jars and no binary builds. A few of the team > > have tried digging in to fix it but we are stuck due to lack of maven > > experience and time. > > > > Could anyone point us to docs for how to make sure we build with src and > > binary jars? > > > > Here are the latest two releases, with the 0.14.0 showing missing > > binaries; thanks in advance! > > > > http://archive.apache.org/dist/mahout/0.13.0/ > > Index of /dist/mahout/0.13.0 > > Icon Name Last modified > > Size Description > > [PARENTDIR] Parent > > Directory - > > [ ] apache-mahout-distribution-0.13.0-src.tar.gz 2017-04-17 16:16 > > 4.7M > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.asc 2017-04-17 16:16 > > 819 > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.md5 2017-04-17 16:16 > > 32 > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.sha1 2017-04-17 16:16 > > 40 > > [ ] apache-mahout-distribution-0.13.0.pom 2017-04-17 16:16 > > 6.8K > > [TXT] apache-mahout-distribution-0.13.0.pom.asc 2017-04-17 16:16 > > 819 > > [TXT] apache-mahout-distribution-0.13.0.pom.md5 2017-04-17 16:16 > > 32 > > [TXT] apache-mahout-distribution-0.13.0.pom.sha12017-04-17 16:16 > > 40 > > [ ] apache-mahout-distribution-0.13.0.tar.gz 2017-04-17 16:16 > > 218M > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.asc 2017-04-17 16:16 > > 819 > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.md5 2017-04-17 16:16 > > 32 > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.sha1 2017-04-17 16:16 > > 40 > > > > > > http://archive.apache.org/dist/mahout/0.14.0/ > > Index of /dist/mahout/0.14.0 > > Icon Name Last modified Size > > Description > > [PARENTDIR] Parent Directory - > > [ ] mahout-0.14.0-source-release.zip 2019-03-06 04:02 11M > > [TXT] mahout-0.14.0-source-release.zip.asc 2019-03-06 04:02 819 > > [TXT] mahout-0.14.0-source-release.zip.sha1 2019-03-06 04:02 40 > > [ ] mahout-0.14.0-tests.jar 2019-03-06 04:02 6.1K > > [TXT] mahout-0.14.0-tests.jar.asc 2019-03-06 04:02 819 > > [TXT] mahout-0.14.0-tests.jar.sha1 2019-03-06 04:02 40 > > [ ] mahout-0.14.0.pom 2019-03-06 04:02 21K > > [TXT] mahout-0.14.0.pom.asc 2019-03-06 04:02 819 > > [TXT] mahout-0.14.0.pom.sha12019-03-06 04:02 40 > > >
Re: Maven help
Thanks very much, will do that. Upgrading my maven version itself to 3.6 instead of 3.3 has gotten me over one hump already. On Thu, May 9, 2019 at 10:33 PM Enrico Olivelli wrote: > Hi > the first thing is to upgrade the assmbly plugin and maybe all of the other > core plugins. > Expecially for the Assembly plugin we did lots of enhancements recently. > > > Enrico > > Il ven 10 mag 2019, 06:20 Andrew Musselman ha scritto: > > > I've remembered why we made edits that dropped the bin build now, am > > experiencing long periods of pegged CPU (~1000%) and then heap or OOM > > errors at this line: > > > > [INFO] [INFO] > > > > [INFO] [INFO] Building Apache Mahout 14.1 > > [INFO] [INFO] > > > > [INFO] [INFO] > > [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ mahout > > --- > > [INFO] [INFO] Deleting /home/akm/a/src/mahout/lib (includes = [*.jar], > > excludes = []) > > [INFO] [INFO] > > [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process > > (process-resource-bundles) @ mahout --- > > [INFO] [INFO] > > [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor > > (attach-descriptor) @ mahout --- > > [INFO] [INFO] > > [INFO] [INFO] --- maven-jar-plugin:3.0.0:test-jar (test-jar) @ mahout --- > > [INFO] [WARNING] JAR will be empty - no content was marked for inclusion! > > [INFO] [INFO] Building jar: > > /home/akm/a/src/mahout/target/mahout-14.1-tests.jar > > [INFO] [INFO] > > [INFO] [INFO] --- maven-assembly-plugin:2.6:single > > (source-release-assembly) @ mahout --- > > [INFO] [INFO] Building zip: > > /home/akm/a/src/mahout/target/mahout-14.1-source-release.zip > > [INFO] [INFO] > > [INFO] [INFO] --- maven-assembly-plugin:2.6:single (bin-assembly) @ > mahout > > --- > > [INFO] [INFO] Reading assembly descriptor: buildtools/assembly/bin.xml > > > > Any suggestions? I can post poms in here but what's in master for mahout > is > > what I'm using. > > > > Thanks! > > > > On Thu, May 9, 2019 at 10:21 AM Andrew Musselman wrote: > > > > > Hi, hoping this is an appropriate place to ask for some help with our > > > build on Mahout. > > > > > > We recently did a lot of refactoring and got to a point where we were > > > getting `src`-only zips, no jars and no binary builds. A few of the > team > > > have tried digging in to fix it but we are stuck due to lack of maven > > > experience and time. > > > > > > Could anyone point us to docs for how to make sure we build with src > and > > > binary jars? > > > > > > Here are the latest two releases, with the 0.14.0 showing missing > > > binaries; thanks in advance! > > > > > > http://archive.apache.org/dist/mahout/0.13.0/ > > > Index of /dist/mahout/0.13.0 > > > Icon Name Last modified > > > Size Description > > > [PARENTDIR] Parent > > > Directory - > > > [ ] apache-mahout-distribution-0.13.0-src.tar.gz 2017-04-17 > 16:16 > > > 4.7M > > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.asc 2017-04-17 > 16:16 > > > 819 > > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.md5 2017-04-17 > 16:16 > > > 32 > > > [TXT] apache-mahout-distribution-0.13.0-src.tar.gz.sha1 2017-04-17 > 16:16 > > > 40 > > > [ ] apache-mahout-distribution-0.13.0.pom 2017-04-17 > 16:16 > > > 6.8K > > > [TXT] apache-mahout-distribution-0.13.0.pom.asc 2017-04-17 > 16:16 > > > 819 > > > [TXT] apache-mahout-distribution-0.13.0.pom.md5 2017-04-17 > 16:16 > > > 32 > > > [TXT] apache-mahout-distribution-0.13.0.pom.sha12017-04-17 > 16:16 > > > 40 > > > [ ] apache-mahout-distribution-0.13.0.tar.gz 2017-04-17 > 16:16 > > > 218M > > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.asc 2017-04-17 > 16:16 > > > 819 > > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.md5 2017-04-17 > 16:16 > > > 32 > > > [TXT] apache-mahout-distribution-0.13.0.tar.gz.sha1 2017-04-17 > 16:16 > > > 40 > > > > > > > > > http://archive.apache.org/dist/mahout/0.14.0/ > > > Index of /dist/mahout/0.14.0 > > > Icon Name Last modified Size > > > Description > > > [PARENTDIR] Parent Directory > - > > > [ ] mahout-0.14.0-source-release.zip 2019-03-06 04:02 11M > > > [TXT] mahout-0.14.0-source-release.zip.asc 2019-03-06 04:02 819 > > > [TXT] mahout-0.14.0-source-release.zip.sha1 2019-03-06 04:02 40 > > > [ ] mahout-0.14.0-tests.jar 2019-03-06 04:02 6.1K > > > [TXT] mahout-0.14.0-tests.jar.asc 2019-03-06 04:02 819 > > > [TXT] mahout-0.14.0-tests.jar.sha1 2019-03-06 04:02 40 > > > [ ] mahout-0.14.0.pom 2019-03-06 04:02 21K > > > [TXT] mahout-0.14.0.pom.asc 2019-03-06 04:02 819 > > > [TXT] mahout-0.14.0.pom.sha12019-03-06 04:02 40 > > > > > >