Maven install and deploy -


I have some doubts regarding our setup in my CI server "mvn install deploy" The Maven command used to make applications in bamboo form is configured.

According to my understanding, open all the steps "install" / Strong> and then reopen all the steps "deploy" , which means and That I can see in our logs, that the applications make twice (twice compiled, twice trials) etc. This means that the application takes approximately two times longer to produce as needed.

Everyone needs to "mvn deploy" to create applications properly.

Is my understanding / observation correct?

Yes, you only have to see the performance life cycle.

  • Valid - The project is correct and all required information is available
  • Compile - Compile the source code of the project
  • Test - a suitable Test the compiled source code using the unit test framework.
  • Package - Collect compiled code and package it in its distributed format, such as Jar.
  • Integration-testing - Process and
  • Verify - To verify the package, run any check and meet the quality criteria
  • Install To install the package, seize the package required in the package
  • Deploy - To share with other developers and projects made in the integration or release environment, the final package becomes a copy in the remote repository. Local repository for sale

Here you can see that it is installed before installing. It is important to know that when you deploy, Maven will run all other steps and then the goal will be called. If the installation is in progress then the same deployment will be deployed to install twice.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -