简体   繁体   中英

Intellij, how to import a module in a maven project

I have a maven project called assimp and I'd like to add, temporarily, the module glm as dependency

I went into project property and added it through "Libraries", like shown here:

在此处输入图片说明

But I still have no trace (that is I can't use anything of it) of glm module inside assimp

If you look at the project window, it misses

在此处输入图片说明

How can I solve?

Ps: note that the glm module is not on maven repository

Look under Modules and in the right-hand pane select the tab Dependencies. There you should be able to manually add the dependency of assimp on glm . If not, then it might give you a better idea of what's wrong.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM