SpencerPark / IJava

A Jupyter kernel for executing Java code.
MIT License
1.1k stars 215 forks source link

Dependencies in Repo requiring authentication #119

Open uhoefel opened 3 years ago

uhoefel commented 3 years ago

Thanks for your work @SpencerPark .

There is one thing that I could not get to work with 1.3.0, but which works just fine with 1.2.0: If I need to access a repo that needs authentication, I use the settings.xml (and settings-security.xml, but it does not work even when using the unencrypted password) from the .m2 folder. This works directly with v1.2.0. With 1.3.0 however, ijava cannot retrieve the dependency. I guess this is related to the switch from maven to ivy. Unfortunately I have no clue about ivy. I googled around a bit, but didn't ultimately find a way where to put the corresponding files for ivy (and how to input the data). Do you have any idea how to do that? Would it otherwise be an option to use the maven resolution as a fallback if ivy fails?

Best, Udo