Ask Your Question
1

Maven build taking too much time !

asked 2016-05-05 04:10:49 -0700

karthik330 gravatar image

Hi , I am modifying L2swith and using the changes in ODL-integration . whenever i am giving mvn clean install of ODL-Integration distribution( Berylium ) Its taking too much time even with -DskipTests . May i know the mvn command which makes faster built?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-05 11:34:57 -0700

jamoluhrsen gravatar image

I don't know any maven tricks to make it faster. How long is "too much time"? just to set some expectatoins, I built l2switch (with the tests) locally in aprox 20m. Upstream it's happening in the 25m range.

edit flag offensive delete publish link more

Comments

L2switch taking 20 min to build.But integration taking 50 min ! So if I do any small changes in l2 , I have to wait min 1 hr .. this is what my problem.

karthik330 ( 2016-05-05 20:54:40 -0700 )edit

ok, so after you build l2switch you should see this folder: "distribution/karaf/target/assembly/bin". in that folder you can launch karaf. That will not give you the full distribution, but if all you care about is testing your minor l2switch changes it should speed things up.

jamoluhrsen ( 2016-05-05 21:46:34 -0700 )edit

http://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/

Check it out.

karthik330 ( 2016-05-05 22:01:29 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-05-05 04:10:49 -0700

Seen: 109 times

Last updated: May 05 '16