Maven downloads some default dependencies which are added in dependencies list of pom.xml file

I createad simple springboot project and i removed all dependencies from the pom.xml file. But still maven download some dependencies when reloading the projects. These dependencies are not used by the project but i don't want to download the dependencies in to .m2 repositoy by default.

In below the pom.xml file for the project is added.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""
    <description>Demo project for Spring Boot</description>

In below the dependencies which are download by default by maven are added.

enter image description here

Read more here:

Content Attribution

This content was originally published by netajik at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: