Category: Tools

gradle 0

What is Gradle

What is Gradle? Gradle is a build automation tool known for its flexibility to build software projects. A build automation tool is used to automate the creation of applications. The building process includes compiling,...

gradle 0

Difference between Gradle and Maven

Gradle vs. Maven Maven Gradle – Software Project Management system used for Java projects– Based on the phases of the linear and fixed model.– Does not use build-cache, making the build time slower– Provides...

gradle 0

Installing Gradle manually

Step 1. Download the latest Gradle distribution The current Gradle release is version 7.5.1, released on 05 Aug 2022. The distribution zip file comes in two flavors: If in doubt, choose the binary-only version and browse docs and sources online....

Gradle Core Concepts 0

Gradle Core Concepts

Projects A project represents a thing that is to be done, like deploying applications to staging environments. A Gradle project requires a set of tasks to execute. Tasks A task refers to a piece...

0

Apache Maven – as build tool : Maven with WebApplication

Maven with Web Application Downloads Example Maven with Web Application mvn command for creating Web based java project Syntax : mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false It will tell Maven to create a Web...

0

Apache Maven – as build tool : Maven with java Application

Maven with Java Application Downloads Example Maven with Java Application mvn command for creating Basic java project Syntax : mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false It will tell Maven to create a Java project...

Apache Maven – as build tool : Maven option 0

Apache Maven – as build tool : Maven option

Maven Options Downloads Examples Maven Options There are many options with maven command. Maven command with several options D:\>mvn -help usage: mvn [options] [<goal(s)>] [<phase(s)>] Options: -am,–also-make If project list is specified, also build...

Apache Maven – as build tool : Maven dependencies 0

Apache Maven – as build tool : Maven dependencies

Maven dependencies Downloads Examples Maven dependencies You can put all dependency and dependencies tag in pom.xml to get repository from maven like as below. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.javaskool</groupId> <artifactId>HelloWorldExample</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version>...

0

Apache Maven – as build tool : understanding pom.xml

Understanding maven Downloads Examples Understanding maven Maven Helping to Make Project Template Build Package Archetype:generate with mvn command takes following infomations Archetype Group ID : this is for Package name Artifact ID : this...

Apache Maven – as build tool : Maven Setup 0

Apache Maven – as build tool : Maven Setup

Download Maven Setup Install Maven Setup PATH Before Execution Download Maven Setup Maven is a project development management and comprehension tool. Based on the concept of a project object model: builds, dependency management, documentation...