<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>data-access-framework</groupId>
<artifactId>data-access-framework</artifactId>
<version>${version.snapshot}</version>
<packaging>jar</packaging>
<name>2402: data-access-framework</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
<type>jar</type>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<reportsDirectory>${project.build.directory}/reports</reportsDirectory>
</configuration>
</plugin>
</plugins>
</build>
<parent>
<groupId>data-access-layer</groupId>
<artifactId>data-access-layer</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>
when i am running mvn clean install command then it gives this error i have plugin its compiler and all and every thing but it still gives this error
所有其他依赖项都是从其父 pom 管理的,并且父 pom 没有给出任何错误,但它给出了这个错误。在它的父pom中,我添加了与它相同的插件,请给我一些建议如何解决这个问题,我已经设置了所有环境变量,我还有其他p[oms,但只有这个pom给出了错误