[ODLPARENT-109] The Aries Blueprint Maven plugin is wrongly configured Created: 19/Jul/17  Updated: 11/Apr/19  Resolved: 07/Mar/19

Status: Resolved
Project: odlparent
Component/s: General
Affects Version/s: 2.0.5
Fix Version/s: 5.0.0, 4.0.10

Type: Bug
Reporter: David Suarez Assignee: Stephen Kitt
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8868

 Description   

The Aries Blueprint Maven plugin [1] should be properly configured to specify the scanpath used to find the annotations. The current configuration, inherited from odlparent uses org.opendaylight as scanpath, this force the plugin to traverse all the modules on which Netvirt is depending on, e.g. SFC, and generates wrong entries in the autowire.xml files refering the beans, singleton and services annotated in those modules. Those autowire.xml prevent the SingleFeatureTest from succeeding because the blueprint container looks for components that are not available. For this reason [2] and [3] have put this in evidence.

[1] https://aries.apache.org/modules/blueprint-maven-plugin.html
[2] https://git.opendaylight.org/gerrit/#/c/60279/
[3] https://git.opendaylight.org/gerrit/#/c/60132/
[4] https://git.opendaylight.org/gerrit/#/c/60411/



 Comments   
Comment by David Suarez [ 19/Jul/17 ]

(In reply to David Suarez from comment #0)
> The Aries Blueprint Maven plugin [1] should be properly configured to
> specify the scanpath used to find the annotations. The current
> configuration, inherited from odlparent uses org.opendaylight as scanpath,
> this force the plugin to traverse all the modules on which Netvirt is
> depending on, e.g. SFC, and generates wrong entries in the autowire.xml
> files refering the beans, singleton and services annotated in those modules.
> Those autowire.xml prevent the SingleFeatureTest from succeeding because the
> blueprint container looks for components that are not available. For this
> reason [2] and [3] have put this in evidence.
>
> [1] https://aries.apache.org/modules/blueprint-maven-plugin.html
> [2] https://git.opendaylight.org/gerrit/#/c/60279/
> [3] https://git.opendaylight.org/gerrit/#/c/60132/
> [4] https://git.opendaylight.org/gerrit/#/c/60411/

Comment by Stephen Kitt [ 19/Jul/17 ]

Re-assigning to odlparent; we need the fixes in NetVirt, but we should change the default setup in odlparent too.

Generated at Wed Feb 07 20:27:39 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.