maven


Error while creating Maven Framework through cmd


I am new to Maven and learning it by myself with the help of online tutorials.
I have been getting error while executing archetype:generate command in cmd.
Here is the error I am getting :\
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.884 s
[INFO] Finished at: 2017-05-07T23:00:07+05:30
[INFO] Final Memory: 8M/65M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-archetype-plugin:3.0.1': com.google.inject.ProvisionException: Unable to provision, see the following errors:
[ERROR]
[ERROR] 1) No implementation for org.apache.maven.archetype.ArchetypeManager was bound.
[ERROR] while locating org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
[ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-archetype-plugin:3.0.1, parent: sun.misc.Launcher$AppClassLoader#70dea4e] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with #com.google.inject.name.Named(value=org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate
[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/PluginContainerException
I have searched a lot for the solution but nowhere did I find appropriate answer. I have uptil now completed the following steps: 1)Downloaded and extracted "apache-maven-3.5.0". 2)Configured the M2_HOME and PATH variables.

Related Links

How to integrate maven with Protractor for CI/CD
Payara-Micro Embedded with Java EE
Determining the existence of a new SNAPSHOT version of dependencies in Nexus?
TestNG: Is it possible to break test Suites to run single parallel test Suites
CAS Server 5.0.x : Add new pages or features
How does Embed-Dependency from maven-bundle-plugin work in these cases?
Replace artifacts paths in TeamCity
Is it possible to build a apt-get cache for to be installed packages
Failed to deploy artifacts: Could not find artifact
Spring jpa BeanCreationException : Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument;
Exclude files from a submodule using maven is not working
Cannot generate surefire report for Soap UI suite when a test case fails : Maven
delete target directory in maven during mvn clean phase
Nebula, Gradle, Maven, Publishing can't find the artifact file
Selenium WebDriver. Reciving error: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055
eclipse servers view,why spring-web.jar can show

Categories

HOME
cloud
syntax
electron
kalman-filter
react-redux
analysis
maven-3
malloc
binary-tree
gps
angular-ui-bootstrap
blueprintjs
wamp
networkx
directx
autotools
esper
vault
dax
postgres-xl
google-cloud-spanner
n-gram
quickfix
carthage
progressive-web-apps
excel-vba-mac
openedx
introduction
physics-engine
tar
java-7
su
web-api-testing
assistant
unboundid
flink-streaming
xquery-3.0
karaf
winrt-xaml-toolkit
code-contracts
catch-all
avcapturesession
accelerate-framework
wpf-controls
overlap
restlet
hockeyapp
sas-visual-analytics
wso2carbon
qwt
google-datalayer
osx-mavericks
errordocument
worksheet
yii2-extension
lowpass-filter
elgg
drupal-6
diagnostics
pillow
dwscript
blacklist
topbeat
firmata
heidisql
adxstudio-portals
mathematica-frontend
xml-attribute
connect-by
disque
livequery
pervasive-sql
cannon.js
fouc
graph-api-explorer
clipperlib
kineticjs
csquery
gadt
nsbutton
hippomocks
hyprlinkr
access-rights
sitemesh
jmapviewer
pushbackinputstream
seed
interface-orientation
ocunit
delphi-6
automount
nsobject
doh
rescale
webkit.net
audio-capture
sustainable-pace

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App