Hi, I am getting the below error when i am building the .war file. I kept everything in my local repository, but still i am not sure why this is trying to get something from internet. Is there anyway i can disable this and force to use from local repository?
C:\workspace\WF_User_Utility_EAR\WF_User_Utility>mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WF_User_Utility 1.0
[INFO] ------------------------------------------------------------------------
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/19/maven-plugins-19.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.546s
[INFO] Finished at: Tue Mar 06 10:58:41 CST 2012
[INFO] Final Memory: 4M/10M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apac
he.maven.plugins:maven-resources-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-plugins:pom:19 from/to central (
http://repo.maven.apache
.org/maven2): Connection to
http://repo.maven.apache.org refused: Connection refused: connect -> [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/PluginResolutionException
Thanks,
Sakthi