[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< org.example:SpringBootExample >--------------------
[INFO] Building SpringBootExample 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ SpringBootExample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ SpringBootExample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ SpringBootExample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\Users\user\SpringBootExample\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ SpringBootExample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ SpringBootExample ---
Downloading from central: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.521 s
[INFO] Finished at: 2023-02-20T22:01:43+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project SpringBootExample: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.22.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.hamcrest:hamcrest-core:jar:1.3, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.slf4j:slf4j-jdk14:jar:1.5.6, org.slf4j:slf4j-api:jar:1.5.6, org.slf4j:jcl-over-slf4j:jar:1.5.6, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1: Could not transfer artifact org.hamcrest:hamcrest-core:jar:1.3 from/to central (http://repo1.maven.org/maven2): Permission denied: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project SpringBootExample: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.22.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.hamcrest:hamcrest-core:jar:1.3, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.slf4j:slf4j-jdk14:jar:1.5.6, org.slf4j:slf4j-api:jar:1.5.6, org.slf4j:jcl-over-slf4j:jar:1.5.6, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1: Could not transfer artifact org.hamcrest:hamcrest-core:jar:1.3 from/to central (http://repo1.maven.org/maven2): Permission denied: connect
<repositories>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<repository>
<id>maven-central</id>
<name>maven central repo</name>
<url>https://mvnrepository.com/repos/central</url>
</repository>
<repository>
<id>osgeo</id>
<name>osgeo repo</name>
<url>https://download.osgeo.org/webdav/geotools/</url>
</repository>
<repository>
<id>seasar</id>
<name>seasar repo</name>
<url>https://www.seasar.org/maven/maven2</url>
</repository>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<id>swt-repo</id>
<url>https://swt-repo.googlecode.com/svn/repo/</url>
</repository>
<repository>
<id>central</id>
<!--
https://central.maven.org/maven2/ Error 403 Use https://repo1.maven.org
-->
<url>https://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>project.local</id>
<name>project</name>
<url>file:${project.basedir}/repo</url>
</repository>
</repositories>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>centralChange</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<activeProfiles>
<activeProfile>centralChange</activeProfile>
</activeProfiles
</profiles>
</settings>
<url>http://repo1.maven.org/maven2/</url>