rightclick on dependent project > maven > disable workspace resolution

this will tell eclipse to use maven's compilation instead, meaning you will be able to use my.shaded.* imports.

however, this does have the consequence that your projects will not be updated until you build them using maven. it is a solution to get eclipse to recognise shaded dependencies, nevertheless.

Related Query

More Query from same tag