spring - Compilation failure Failure executing javac, but could not parse the error: The system cannot find the path specified -
<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 running mvn clean install command gives error have plugin compiler , , every thing still gives error all other dependencies managed parent pom , parent pom doesnt give error giving error. in parent pom have added same plugin in please give me suggestion how resolve problem , have set environment variable , have other p[oms pom giving error
Comments
Post a Comment