• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mvn --version runs but not mvn:install

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I want to use maven2 to publish a Hello World portlet into Pluto.

"mvn -version" works OK:

cd c:\documents and settings\Craig\my documents\downloaded software\maven-2.0.4-bin\maven-2.0.4\bin
mvn -version

But if I try:

mvn install

I get something like this:

[INFO] Scanning for projects...
[INFO] Building Maven Default Project
[INFO] task-segment: [install]
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[ERROR] BUILD ERROR
[INFO] the plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found.

Pretty much anything I try (e.g. "mvn -Dplugin=install help escribe")returns a similar set of messages.

Should I be looking for a problem with my installation, my maven repository, my classpath, my jar files? Any hint would be appreciated.

Thanks!
 
Craig Wong
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I fixed my internet connection and it's working better now.

Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic