简体   繁体   中英

eclipse maven doesn't update the build path

I have been hitting my head in rocks because of the maven for two days.

I have forked this github reposotory https://github.com/WilliamKinaan/californium and I am trying to add it to my eclipse.

my problem is that the mvn doesn't update the dependencies. I tried almost everything question on Google.

i did mvn clean mvn eclipse eclipse mvn clean install mvn install

plus i installed m2e plugin.

then from inside eclipse i did maven update (and force update).

in addition, i checked the log of maven, there were some paths such as main/resources and test/resources does exist, i added them.

and yet eclipse doesn't update my build path.

I am working on mac os

kindly help

Try maven command line to run (be in your project path)

mvn eclipse:eclipse

The command with option parameter here , if your project is WEB project, command will like

mvn eclipse:eclipse -Dwtpversion=2.0

Hope this can help you.

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