How to add dependency to my project?

Hello,

I’m developing a new openhab1-addon action. I would like to use Google OAuth Client in my project:
https://developers.google.com/api-client-library/java/google-oauth-java-client/setup#google-oauth-client

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

<project ...>
    ...
    <dependencies>
	   <dependency>
         <groupId>com.google.oauth-client</groupId>
         <artifactId>google-oauth-client</artifactId>
         <version>1.23.0</version>
       </dependency>
    </dependencies>
</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!