| Author |
mvn --version runs but not mvn:install
|
Craig Wong
Greenhorn
Joined: Nov 08, 2005
Posts: 9
|
|
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
Joined: Nov 08, 2005
Posts: 9
|
|
I fixed my internet connection and it's working better now. Thanks.
|
 |
 |
|
|
subject: mvn --version runs but not mvn:install
|
|
|