Hi Ronny, /usr/bin/mvn on my system is just a symlink to one of my git clones' /maven/bin/mvn file. I use 'mvn' all the time to run tests or build a single JAR. The perl scripts just turn off all of the tests and set a few environment variables (like raising the -Xmx for the JVM), they don't really do much else afaik.
If I'm in the top directory, I usually use compile.pl because most builds you do across all modules will fail just because the default mvn heap space is too small. You can work around this by using compile.pl or setting a MVN_OPTS env variable that adds the option. I just tried: MAVEN_OPTS="-Xmx2g" mvn -DskipITs=true -Dmaven.test.skip.exec=true --fn clean install and it ran to completion in about 10 minutes. -- Seth On 3/21/16 3:27 PM, Ronny Trommer wrote: > @Seth > you compile without compile.pl and assemble.pl? Can you send me the commands? > I was never able to make it work without the perl scripts. I didn’t know the > perl stuff is just optional. > > thanks > >> On Mar 21, 2016, at 8:23 PM, Seth Leger <s...@opennms.org> wrote: >> >> Hi Markus, >> >> I would strongly prefer to leave Maven in the source tree. This means >> that users don't need to go through the (mostly manual) process of >> installing maven themselves and it ensures that almost everyone is using >> the same version of Maven to perform the build. >> >> When Maven is in the source tree, you just need to have a JDK in order >> to compile all of the code. For instance, a user running OpenNMS could >> clone the git repo and rebuild a single jar if necessary without >> installing any other tools. >> >> The other dependencies (perl, makensis, postgres) are for optional >> modules, release packaging, or running tests. >> >> Is there an advantage to getting rid of Maven? >> >> -- Seth >> >> >> >> On 3/21/16 2:35 PM, Markus von Rüden wrote: >>> Hey there, >>> >>> I would like to remove the maven binary from the OpenNMS source. >>> >>> Here is why: >>> We already need at least the following 3rd party dependencies in order to >>> compile OpenNMS (list may not be complete): >>> Oracle JDK 8, Perl, Postgres, NSIS. >>> >>> If you have to install Maven on top of that, doesn’t really matter. >>> It would be better to provide a “dev-setup” script for each platform, >>> instead. >>> >>> What do you guys think? >>> - Markus >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Transform Data into Opportunity. >>> Accelerate data analysis in your applications with >>> Intel Data Analytics Acceleration Library. >>> Click to learn more. >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 >>> >>> >>> >>> _______________________________________________ >>> Please read the OpenNMS Mailing List FAQ: >>> http://www.opennms.org/index.php/Mailing_List_FAQ >>> >>> opennms-devel mailing list >>> >>> To *unsubscribe* or change your subscription options, see the bottom of >>> this page: >>> https://lists.sourceforge.net/lists/listinfo/opennms-devel >>> >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140_______________________________________________ >> Please read the OpenNMS Mailing List FAQ: >> http://www.opennms.org/index.php/Mailing_List_FAQ >> >> opennms-devel mailing list >> >> To *unsubscribe* or change your subscription options, see the bottom of this >> page: >> https://lists.sourceforge.net/lists/listinfo/opennms-devel > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-devel mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this > page: > https://lists.sourceforge.net/lists/listinfo/opennms-devel >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel