Error not going even after force update is done for the maven project | Selenium Forum
A
AKHIL THAMPI Posted on 21/06/2020

 

Error displayed in the eclipse at pom.xml is given below:

Multiple annotations found at this line:
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of
its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:
2.5.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from http://
repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of
central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-
plugin:pom:2.5.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer http://repo.maven.apache.org/maven2/
org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom. Error code 501, HTTPS Required
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:
2.5.1:testCompile (execution: default-testCompile, phase: test-compile)
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of
its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:
2.5.1: ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/to
central (http://repo.maven.apache.org/maven2): Failed to transfer http://repo.maven.apache.org/maven2/org/apache/maven/
plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom. Error code 501, HTTPS Required
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(execution: default-compile, phase: compile)


A
Ashish Thakur Replied on 23/06/2020

Attach your pom.xml here


A
AKHIL THAMPI Replied on 28/06/2020

<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com</groupId>
<artifactId>TestNGExamplesMaven2</artifactId>
<version>0.0.1-SNAPSHOT</version>
</project>


A
AKHIL THAMPI Replied on 05/07/2020

Hi,

Could you please help to solve this issue?

 

 


A
AKHIL THAMPI Replied on 05/07/2020

Could you please help me to solve this issue? Bbecause of this issue, iam not able to use the maven

 


A
Ashish Thakur Replied on 06/07/2020

Everything looks ok to me

 

1) Please use the latest eclipse

2) Please configure latest maven version

Are you creating project from command line or from eclipse?


A
AKHIL THAMPI Replied on 06/07/2020

Can u pleasd suggest the eclipse  need to use and maven ?

 

I tried to create the project from eclipse


A
Ashish Thakur Replied on 30/07/2020

Please update/download the latest eclipse version.


Related Posts