Skip to main content

Posts

Showing posts from July, 2023

Maven

Installing: Download latest Maven from: http://maven.apache.org Dependencies: First looked for local, and then on Maven central Scopes: There are 6 scopes, but mostly 4 are used: compile runtime test provided system import Compile Scope (default scope) Used for compilation and execution. The artifacts are included in containers, e.g. war/ear file, while packaging. Runtime Scope Used for deployment and runtime, but not for compilation. The artifacts are included in containers, e.g. war/ear file, while packaging. Test Scope Used *only* for test execution, but not included during compilation or execution. Provided Scope Specifies that the execution environment will provide the artifacts, e.g. j2ee related jars provided by J2EE container itself. System Scope: Very rarely used. Specifies that the artifacts will be looked for in the local system itself. It is not recommended to use this scope, as it defeats the main purpose of loading dependenci...

Git

Download and Install from: https://git-scm.com/ Initializing a Git repository: cmd>md repo1 cmd>cd repo1 cmd>git init Generating SSH Key Pair (Linux/Mac): cmd>ssh-keygen -t rsa (accept all defaults, and provide passphrase if needed)