Hello All, I am using JDK version 1.8 in Red Hat Developer studio. While trying to Maven Build the following error is encountered.
*[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.2.5 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.2.5 in https://repo.maven.apache.org/maven2 <https://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 -> [Help 1][ERROR]* Please suggest possible troubleshooting. Please find snippet of the pom.xml file below. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <!--<version>2.3.2</version>--> <version>3.2.5</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <!--<version>2.3</version>--> <version>3.5.0</version> <executions> <!-- Run shade goal on package phase --> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <!-- transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>MainApp</mainClass> </transformer --> </transformers> </configuration> </execution> </executions> </plugin> Please let me know if any additional details are required. Regards, Manas