How to add dependency to my project?


I’m developing a new openhab1-addon action. I would like to use Google OAuth Client in my project:

I added it to my pom.xml inside the action project root:

<project ...>

After that I executed “mvn install” in my action project root, but I don’t see this dependency anywhere in Eclipse and I’m unable to import and use the GoogleCredential class. What else is needed to use a dependency? Or what am I doing wrong?

Thank you for your help!