So I'm trying to wrap my head around Maven. After installing it I now want to install JodaTime because it's a dependency for another project.
I know I can download it and do a mvn clean install
from within the JodaTime dir. From my experience with other package managers such as apt I suspect there is also a way of installing new software without manually downloading and untarring though. I just tried mvn install JodaTime
, but I get an error saying:
Unknown lifecycle phase "JodaTime". You must specify a valid lifecycle phase [etc. etc.]
So my question; is there a way to install software in Maven without manually downloading it?