Skip to content

Pass strict flag also via "discoverComponents" - #182

Merged
kwin merged 2 commits into
mainfrom
bugfix/strict-flag-in-plexus
Mar 16, 2025
Merged

kwin merged 2 commits into
mainfrom
bugfix/strict-flag-in-plexus

Conversation

@kwin

@kwin kwin commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

This closes #181

@kwin
kwin requested review from cstamas and mcculls March 7, 2025 15:44
beanModules.add( new PlexusXmlBeanModule( space, variables, plexusXml ) );
final BeanScanning global = BeanScanning.INDEX == scanning ? BeanScanning.GLOBAL_INDEX : scanning;
beanModules.add( new PlexusAnnotatedBeanModule( space, variables, global,
configuration.getStrictClassPathScanning() ) );

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: why config.getStringClasspathScanning is not good? Why adding private member instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need the flag also in the other method...

@sonarqubecloud

Copy link
Copy Markdown

@kwin
kwin force-pushed the bugfix/strict-flag-in-plexus branch from 36e1da6 to 75ea2cc Compare March 15, 2025 19:31
@kwin
kwin merged commit 0e78911 into main Mar 16, 2025
@kwin
kwin deleted the bugfix/strict-flag-in-plexus branch March 16, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sisu "strict" mode is not so strict

2 participants