CodesJava

Easy learning with example program codes

How to exclude dependency in maven?

We can exclude dependency in maven by using the exclusion element. Related topics What are the build tools in java? What are the aspects Maven manages? how… Read More

How profiles are specified in maven?

Maven build profiles provides the facility to build project using different configurations. We can just specify a profile with the different build configuration and build the project… Read More

What is archetype in maven?

Archetype is a Maven plugin which is used to create a project structure as per its template. Example: Maven-archetype-webapp Related topics What are the build tools in… Read More

What are the types of maven plugins?

Maven plugin types: Build Plugins Reporting Plugins Build Plugins: Build plugins are executed at the build time. Build plugins should be declared inside the element. Reporting Plugins:… Read More

What is maven plugin used for?

A maven plugin represents a set of goals which provides the facility to add your own actions to the build process. Syntax to execute a plugin: mvn… Read More

What is remote repository in maven?

Maven remote repository is a repository on a web server. A remote repository can be located anywhere on the internet or inside a local network. We can… Read More

What is central repository in maven?

Maven central repository is created by the apache maven community itself. It contains a lot of commonly used libraries. By default Maven looks in this central repository… Read More

What is local repository in maven?

Maven local repository is a directory on the developer’s machine. It gets created when we run any maven command for the first time. It contain all the… Read More

Explain Maven repository search order

Maven repositories are directories of packaged JAR files with extra meta-data. The meta-data is represented by POM files. A repository contains all the project jars, library jar,… Read More


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap