Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Enable strict classpath scanning optionally #63

Merged
merged 1 commit into from
May 9, 2024

Conversation

kwin
Copy link
Contributor

@kwin kwin commented May 8, 2024

This closes #51

@kwin kwin requested review from cstamas and mcculls May 8, 2024 18:06
@@ -62,4 +62,9 @@ public interface ContainerConfiguration
ContainerConfiguration setJSR250Lifecycle( boolean on );

boolean getJSR250Lifecycle();

ContainerConfiguration setStrictClassPathScanning( boolean strictScanning );
Copy link
Contributor Author

@kwin kwin May 8, 2024

Choose a reason for hiding this comment

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

It seems this interface was anyhow much modified with Sisu Plexus in comparison to the last known version at https://github.com/codehaus-plexus/plexus-containers/blob/3b0a8d5fd086e3f74ccdeecaac9cd63e44047e91/plexus-container-default/src/main/java/org/codehaus/plexus/ContainerConfiguration.java#L22. So adding two more methods doesn't do any harm here.

Copy link
Member

Choose a reason for hiding this comment

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

Exactly, config was had to be changed (scanning, auto wire, etc)

@cstamas
Copy link
Member

cstamas commented May 8, 2024

My guess this depends on sisu.inject master...

@kwin
Copy link
Contributor Author

kwin commented May 8, 2024

My guess this depends on sisu.inject master...

Yes, one more reason for a common repo/build…

@cstamas
Copy link
Member

cstamas commented May 8, 2024

merge master, added updatePolicy=always to snapshot repo (which makes sense)

@kwin kwin force-pushed the feature/enable-strict-scanning-optionally branch from 244caa4 to 40f9de4 Compare May 9, 2024 08:02
@kwin kwin merged commit edfceea into master May 9, 2024
12 checks passed
@kwin kwin deleted the feature/enable-strict-scanning-optionally branch May 9, 2024 08:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Throw exceptions when classes cannot be parsed
2 participants