[jira] [Comment Edited] (ARIES-1792) blueprint-maven-plugin slows down compilation

2018-04-24 Thread Xavier Roussel (JIRA)

[ 
https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449553#comment-16449553
 ] 

Xavier Roussel edited comment on ARIES-1792 at 4/24/18 9:56 AM:


I have the same error message as before when I try to include/exclude artifacts 
:

*Execution default of goal 
org.apache.aries.blueprint:blueprint-maven-plugin:1.9.1-SNAPSHOT:blueprint-generate
 failed: A required class was missing while executing 
org.apache.aries.blueprint:blueprint-maven-plugin:1.9.1-SNAPSHOT:blueprint-generate:
 com/fasterxml/jackson/databind/Module*

I think it's because the artifact's urls are not added to the ClassRealm. I 
tried to add ALL the artifact's urls to the ClassRealm and only filtered urls 
to the ClassFinder ( as in the branch 
[https://github.com/xroussel/aries/tree/ARIES-1792_exclude_2] ) and it works 
fine.

Apart from that the exclude and include patterns seems to works fine !


was (Author: xroussel):
I have the same error message as before when I try to include/exclude artifacts 
:

*Execution default of goal 
org.apache.aries.blueprint:blueprint-maven-plugin:1.9.1-SNAPSHOT:blueprint-generate
 failed: A required class was missing while executing 
org.apache.aries.blueprint:blueprint-maven-plugin:1.9.1-SNAPSHOT:blueprint-generate:
 com/fasterxml/jackson/databind/Module*

I think it's because the artifact's urls are not added to the ClassRealm. I 
tried to add ALL the artifact's urls to the ClassRealm and only filtered urls 
to the ClassFinder ( as in the branch 
[https://github.com/xroussel/aries/tree/ARIES-1792_exclude_2] ) and it works 
fine.

 

 

Apart from that the exclude and include patterns seems to works fine !

> 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] [Comment Edited] (ARIES-1792) blueprint-maven-plugin slows down compilation

2018-04-16 Thread Daniel Estermann (JIRA)

[ 
https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439178#comment-16439178
 ] 

Daniel Estermann edited comment on ARIES-1792 at 4/16/18 11:51 AM:
---

The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/ALB-AoWe0lc9SB1afiaRUw

Current stable version of the plugin with the same project takes the same 
amount of time, about 11 seconds: 
https://paste.fedoraproject.org/paste/Ou~7U8xGAV6oulNR7Y4smw


was (Author: soundcrac...@gmail.com):
The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/ALB-AoWe0lc9SB1afiaRUw

The master version of the plugin takes about the same amount of time: 
https://paste.fedoraproject.org/paste/z0mMIpXLXMWqHFfet-mVRw

> 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] [Comment Edited] (ARIES-1792) blueprint-maven-plugin slows down compilation

2018-04-16 Thread Daniel Estermann (JIRA)

[ 
https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439178#comment-16439178
 ] 

Daniel Estermann edited comment on ARIES-1792 at 4/16/18 9:51 AM:
--

The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/ALB-AoWe0lc9SB1afiaRUw

The master version of the plugin takes about the same amount of time: 
https://paste.fedoraproject.org/paste/z0mMIpXLXMWqHFfet-mVRw


was (Author: soundcrac...@gmail.com):
The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/iBmXy-C65Nj5I2-ehhcfMA

The master version of the plugin takes about the same amount of time.

> 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] [Comment Edited] (ARIES-1792) blueprint-maven-plugin slows down compilation

2018-04-16 Thread Daniel Estermann (JIRA)

[ 
https://issues.apache.org/jira/browse/ARIES-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439178#comment-16439178
 ] 

Daniel Estermann edited comment on ARIES-1792 at 4/16/18 9:48 AM:
--

The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/iBmXy-C65Nj5I2-ehhcfMA

The master version of the plugin takes about the same amount of time.


was (Author: soundcrac...@gmail.com):
The fix didn't work for me unfortunately. Here is the log: 
https://paste.fedoraproject.org/paste/iBmXy-C65Nj5I2-ehhcfMA

> 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)