xserge schrieb: > I've created first maven project using next command > > mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app > > SUCCESSFULLY > > Now I'm trying to compile this project from folder my-app > > using command > > mvn compile > > and I received > > ------------------------------------------------------------------------ > BUILD ERROR > ------------------------------------------------------------------------ > The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist > or no valid version could be found > ------------------------------------------------------------------------ > > Hello could anybody help me, that's wrong ? > >
Looks like you have network-related problems. When you install maven, that just installs the core piece. Maven then downloads various plugins over the internet as they are needed, including the maven-resources-plugin. So you need to have an internet connection to run maven - at least for the first time. Try going to "http://repo1.maven.org/maven2/org/apache/maven/plugins" with a normal web browser. If you cannot get there, then that is the problem. The file "~/.m2/settings.xml" can be configured with details of network proxies, etc if that is necessary. See the documentation on the maven website for that. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
