java - Maven : Installed the Maven Plugin in eclipse but POM.xml has some error -
i have installed maven plugin in eclipse , generated pom.xml in eclipse pom.xml giving errors,
my pom.xml :
<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>seleniumapp</groupid> <artifactid>seleniumapp</artifactid> <version>0.0.1-snapshot</version> </project>
errors showing :
***coreexception:
could not calculate build plan: plugin org.apache.maven.plugins:maven-compiler-plugin:3.5.1 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-compiler-plugin:jar:3.5.1: artifactresolutionexception: failure transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.1 https://repo.maven.apache.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced. original error: not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
any on that.
add
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api --> <dependency> <groupid>org.seleniumhq.selenium</groupid> <artifactid>selenium-api</artifactid> <version>2.0rc2</version> </dependency>
Comments
Post a Comment