benkelly commented on pull request #1668:
URL: https://github.com/apache/accumulo/pull/1668#issuecomment-667413491


   > > Hi @milleruntime, I'm on 2020.2 they generate for me when I run `mvn 
idea:idea` after I run `mvn clean install -DskipTests`
   > 
   > > 
   > 
   > > https://maven.apache.org/plugins/maven-idea-plugin/usage.html
   > 
   > 
   > 
   > Off topic (unsolicited :smiley_cat:) advice: please don't use `mvn clean 
install` unless you *really* need to. Usually, `mvn clean verify` is sufficient.
   > 
   > See: 
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#usual-command-line-calls
 and 
https://stackoverflow.com/questions/50260921/differences-between-mvn-install-and-mvn-verify
   > 
   > Many guides will suggest using `install` instead of `verify`, and this has 
led many Maven users to use it when they shouldn't. There are appropriate times 
to do use it, but they aren't common, and I think a lot of beginner Maven users 
have been misled by online guides. The only appropriate time to use `install` 
is when you actually need to have a copy of your built artifacts available in 
your local Maven repository. Otherwise, you should use `verify` (or just 
`package`, if you just need to build the artifacts, but don't need to run ITs 
afterwards).
   > 
   > 
   > 
   > EDIT: Also, thanks for the contribution! :smiley_cat: 
   
   Thanks for the advice! 😃 
   
   I have been guilty of just pressing ⬆️ and re-hitting `mvn clean install` 
then actually using the more suitable command! 🤣 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to