Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T17:27:37+05:30) Maven home: C:\Apache Maven\apache-maven-3.3.3\bin\.. Java version: 1.7.0_45, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_45\jre Default locale: en_GB, platform encoding: Cp1252 OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"
On Sat, Sep 19, 2015 at 9:44 AM, Brian Demers <[email protected]> wrote: > What does "mvn --version" show ? > > On Fri, Sep 18, 2015 at 12:33 PM, Abhishek Taula <[email protected]> > wrote: > >> Hey Guys, when i try to run the command as given in the 10 minutes >> tutorial,This is how it goes: >> >> [INFO] Scanning for projects... >> [INFO] Inspecting build with total of 1 modules... >> [INFO] Installing Nexus Staging features: >> [INFO] ... total of 1 executions of maven-deploy-plugin replaced with >> nexus-staging-maven-plugin >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Apache Shiro :: Samples :: Quick Start 1.2.4 >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ >> samples-quickstart --- >> [INFO] Required toolchain: jdk [ vendor='sun' version='1.6' ] >> [ERROR] No toolchain found for type jdk >> [ERROR] Cannot find matching toolchain definitions for the following >> toolchain types: >> jdk [ vendor='sun' version='1.6' ] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 4.357 s >> [INFO] Finished at: 2015-09-18T22:01:06+05:30 >> [INFO] Final Memory: 13M/109M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain (default) on >> project samples-quickstart: Cannot find matching toolchain definitions for >> the following toolchain types: >> [ERROR] jdk [ vendor='sun' version='1.6' ] >> [ERROR] Please make sure you define the required toolchains in your >> ~/.m2/toolchains.xml file. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> >> I get build failure and errors. >> What to do? >> > >
