Thursday, January 22, 2009

Maven best practices

Today, my friend Marco sent me a great blog entry on Maven best practices. In a few words, it says :

  1. Automate Snapshot Deployment by integrating your project in a CI system (like Hudson)
  2. Isolate Local Repositories using use -Dmaven.repo.local=xxxx option to define the unique local repositories for each build.
  3. Regularly Purge Local Repositories (mvn dependency:purge-local-repository)
  4. Enable Batch Mode with the -B option to reduce log size
  5. Enable Full Stack Traces (-e) when there's a build error
  6. Print Test Failures to Standard Output (in your settings.xml : true)
  7. Always check for Snapshots (-U option); useful when your project is split in modules and libraries. This ensures you always have the last dependency library release on your project.

Click here to see the full post :

Thanks Marco!

No comments:

How to remove "Quick Access" in Explorer on Microsoft Windows 10

Just make Control + R and execute regedit. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer right side new DWORD (32...