Org.apache.commons.net dependency

I have been trying to use the telnet functionality in org.apache.commons.net but have had no success so far. I’ve added the following

commons-net commons-net commons-net ${commons.net.version}

to the .pom file but I still receive the following error when running mvn clean install from the addons root directory.

[ERROR] Message: Unable to resolve root: missing requirement [root] osgi.identity

Any help would be appreciated. Thanks!

There are some other addons that use that library. Did you already have a look at those addons? Or is your use case different?

I did look at them and their pom file was the same. when opening their telnet file in eclipse, org.apache.commons.net shows up when using the import command but on mine, some org.apache classes show up but not .net.

Error you see comes from feature validation. Add bundle entry within feature xml, just like you do with pom:
<bundle>mvn:groupId/artifactId/version</bundle>

Thank you. That solved the problem.