Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is classes and test-classes on the classpath for locating/reading classpath: urls? #52

Open
warrenc5 opened this issue May 9, 2019 · 2 comments
Labels

Comments

@warrenc5
Copy link

warrenc5 commented May 9, 2019

I want to load a processed resource from target/test-classes/

The classpath:application.properties doesn't seem to work.

Run maven with -X doesn't show the classpath in debug.

What makes me think resources will be on the project classpath anyway?

Would I use build helper to add target/classes to the classpath?

@slawekjaranowski
Copy link
Member

In current implementation only plugin classpath is recognized ...

We need build a new classloader based on project targets and project dependencies.

@warrenc5
Copy link
Author

Yes, I see some precursor work has been done here in this PR, perhaps this can be reused/extended?

#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants