04 - Build Tools Handout
04 - Build Tools Handout
What is an "artifact"?
Java Build Tools: Gradle and Maven JavaScript Package Manager: npm
Installation and Setup of Projects - 1
In this module you need to install following technologies and setup following projects:
Technologies Projects
Installs dependencies
Compiles and compresses your code Configuration in XML Configuration in Groovy
Software developers need build tools locally when developing the application
managing dependencies
build.grade pom.xml
Build Tools for Software Development - 3
Locate Jar file and execute: java -jar <name of jar file>
On a deployment server:
You can have a separate package.json file for frontend and backend
Or have a common package.json file
Package Frontend Code - 1
3. command line tool, to: test start the app build app publish app
4. package managers
gradle npm
pip dep
maven yarn
Publish an artifact
2. Push to artifact repository to save those packages for later use or for downloading on a remote
server
No need to build and move different artifact types (e.g. Jar, War, Zip)
No need for a repository for each file type Just 1 Docker Image