aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Roussel (JIRA)" <>
Subject [jira] [Commented] (ARIES-1792) blueprint-maven-plugin slows down compilation
Date Tue, 24 Apr 2018 09:56:00 GMT


Xavier Roussel commented on ARIES-1792:

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:

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 [] )
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:
>             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

View raw message