I'm using Eclipse Juno SR1, and I think the integrated m2e plugin uses Maven 3 but I'm not sure.
Netty has recently published the 4.0.0.Beta1 version, but I can't seem to update it via Maven -- Eclipse's m2e plugin. I've opened the pom.xml
file -> Dependencies tab -> Add -> searched for netty. It could only find the previous version 4.0.0.Alpha8.
I've tried updating (forcefully) the dependencies. I've tried manually delete the contents of the m2e's local (cache) repository directory and rebuilding the index from scratch. I've manually edited the This works now! Still I can't download the latest version, even though it's clearly been published to the central repo here.pom.xml
EDIT: This SO question seems similar to mine. I've tried the solution provided by the answer (as mentioned above), but it didn't work.
EDIT: Ah! Indeed they've changed the artifactId from netty
to netty-all
! So, getting the latest version manually now works, but I still wish I could find it with the dependency search window thing.
Look carefully at artifactId. Maybe it was changed from Alpha to Betta.
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>4.0.0.Beta1</version>
</dependency>
2) Create new Maven project and try to play and find out if you can't download other jars. For me it worked for netty-common artifact.