[jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
[ https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16437605#comment-16437605 ] Daniel Estermann commented on ARIES-1792: - [~alien11689] I will test your optimization on monday, when I'm back in my office. This looks like a kind of an optimization, which I asked for in ARIES-1772 > blueprint-maven-plugin slows down compilation > - > > Key: ARIES-1792 > URL: https://issues.apache.org/jira/browse/ARIES-1792 > Project: Aries > Issue Type: Improvement >Affects Versions: blueprint-maven-plugin-1.9.0 >Reporter: Xavier Roussel >Priority: Major > > We have a maven project with 20+ modules all using BMP to generate blueprint > file. > During compilation, BMP is executed on each module and represents more than > 70% of the project's compilation time. > We specify a scanPath for each module as a parameter to BMP but it seems that > it scan the module and also all the dependencies so because the modules are > linked together, the whole project is scanned again and again for each module. > It could be useful to add an option to exclude dependencies so that BMP only > scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
[ https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16437653#comment-16437653 ] Dominik Przybysz commented on ARIES-1792: - Yes, a kind of. The diffrence lies in the level - we cannot filter out dependencies, but can filter the classes. > blueprint-maven-plugin slows down compilation > - > > Key: ARIES-1792 > URL: https://issues.apache.org/jira/browse/ARIES-1792 > Project: Aries > Issue Type: Improvement >Affects Versions: blueprint-maven-plugin-1.9.0 >Reporter: Xavier Roussel >Priority: Major > > We have a maven project with 20+ modules all using BMP to generate blueprint > file. > During compilation, BMP is executed on each module and represents more than > 70% of the project's compilation time. > We specify a scanPath for each module as a parameter to BMP but it seems that > it scan the module and also all the dependencies so because the modules are > linked together, the whole project is scanned again and again for each module. > It could be useful to add an option to exclude dependencies so that BMP only > scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
[ https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16437572#comment-16437572 ] Dominik Przybysz commented on ARIES-1792: - [~xroussel] I have added an optimization on my github fork [https://github.com/alien11689/aries/tree/ARIES-1792] Can you use run it with your project? I have also added there some debug logs to measure which part of plugin execution is the longest. Can you provide also the logs? I would like to know how your modules are connected. Your 20+ bundles are all bundles with implementation and the maven dependencies are between impls? If so, then I would suggest, that you can create some bundles with only api/spi and depend on them in your bundles. It works great in our project at work - we haven't spotted any significant slow downs caused by BMP. > blueprint-maven-plugin slows down compilation > - > > Key: ARIES-1792 > URL: https://issues.apache.org/jira/browse/ARIES-1792 > Project: Aries > Issue Type: Improvement >Affects Versions: blueprint-maven-plugin-1.9.0 >Reporter: Xavier Roussel >Priority: Major > > We have a maven project with 20+ modules all using BMP to generate blueprint > file. > During compilation, BMP is executed on each module and represents more than > 70% of the project's compilation time. > We specify a scanPath for each module as a parameter to BMP but it seems that > it scan the module and also all the dependencies so because the modules are > linked together, the whole project is scanned again and again for each module. > It could be useful to add an option to exclude dependencies so that BMP only > scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
[ https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16437427#comment-16437427 ] Dominik Przybysz commented on ARIES-1792: - [~xroussel] If I understand you correctly, BMP scans all the dependencies on the classpath, not only your own modules which are on the classpath? [~soundcrac...@gmail.com] The build fails because provided dependencies do not comes to the build with their's transitive dependencies and you receive ClassNotFound. > blueprint-maven-plugin slows down compilation > - > > Key: ARIES-1792 > URL: https://issues.apache.org/jira/browse/ARIES-1792 > Project: Aries > Issue Type: Improvement >Affects Versions: blueprint-maven-plugin-1.9.0 >Reporter: Xavier Roussel >Priority: Major > > We have a maven project with 20+ modules all using BMP to generate blueprint > file. > During compilation, BMP is executed on each module and represents more than > 70% of the project's compilation time. > We specify a scanPath for each module as a parameter to BMP but it seems that > it scan the module and also all the dependencies so because the modules are > linked together, the whole project is scanned again and again for each module. > It could be useful to add an option to exclude dependencies so that BMP only > scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
[ https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16437311#comment-16437311 ] Daniel Estermann commented on ARIES-1792: - Please see the linked issue opened by me. In my projects this plugin not only consumes the compile time (I even didn't mention it), it also makes my builds fail. > blueprint-maven-plugin slows down compilation > - > > Key: ARIES-1792 > URL: https://issues.apache.org/jira/browse/ARIES-1792 > Project: Aries > Issue Type: Improvement >Affects Versions: blueprint-maven-plugin-1.9.0 >Reporter: Xavier Roussel >Priority: Major > > We have a maven project with 20+ modules all using BMP to generate blueprint > file. > During compilation, BMP is executed on each module and represents more than > 70% of the project's compilation time. > We specify a scanPath for each module as a parameter to BMP but it seems that > it scan the module and also all the dependencies so because the modules are > linked together, the whole project is scanned again and again for each module. > It could be useful to add an option to exclude dependencies so that BMP only > scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (ARIES-1792) blueprint-maven-plugin slows down compilation
Xavier Roussel created ARIES-1792: - Summary: blueprint-maven-plugin slows down compilation Key: ARIES-1792 URL: https://issues.apache.org/jira/browse/ARIES-1792 Project: Aries Issue Type: Improvement Affects Versions: blueprint-maven-plugin-1.9.0 Reporter: Xavier Roussel We have a maven project with 20+ modules all using BMP to generate blueprint file. During compilation, BMP is executed on each module and represents more than 70% of the project's compilation time. We specify a scanPath for each module as a parameter to BMP but it seems that it scan the module and also all the dependencies so because the modules are linked together, the whole project is scanned again and again for each module. It could be useful to add an option to exclude dependencies so that BMP only scan the current module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)