I agree that CPAN is not as active as it once was. Maven is hardly dead, it's pretty active (as is Java the language). NPM is very busy but they also have a very real bot problem.
Apologies, I didn't mean to imply Maven was dead, though I can see how it comes through that way. I meant to imply Java is less popular than other modern languages, and is a bit less interesting as a target as a result. Not unpopular, not dead.