@sidvaish97mvn package does the actual build without installing the resulting artifacts in the local Maven repository (~/.m2/repository). It’s actually what should be used most of the time by every developer since install would override legit builds (which is in general not desired when going through WIP on features.)
As for clean, well, in short it wipes target/ before starting over.
Here for a TL;DR, but it’s all over Maven docs and the Internet in general.