hi all,
i am trying to build a My first Maven project i am getting this warning can someone please help
Build Path specifies execution environment JSE -1.5 .There are no JREs installed in the workspace that are strictly compatible with this environment
Instructor
Ashish Thakur Replied on 24/06/2019
Are you copying the complete pom.xml?
I have copied part of Pom.xml and copied dependency from Apache website.
<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.qtpselenium</groupId>
<artifactId>JunitProject2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependencies><!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13-beta-1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Thank you,
Instructor
Ashish Thakur Replied on 26/06/2019
You need not to copy anything other than dependency unless specified in the video.