Update: It is working now. Turning off AVG did it! (... I think I may need to figure out why and how AVG affects the mvn downloads, and come up with a long term strategy to have both available at the same time, but for now I am good!)
Thanks for your help!!! On Mon, Jan 9, 2012 at 10:20 AM, A R <javasp...@gmail.com> wrote: > Thanks Wayne for making me think :) I resolved the warning by editing the > pom. > > I looked up the anti-virus I have, and I only have AVG which I am not able > to turn off because of insufficient privileges. I am surprised by the fact > that re-running the command gets me a bit more further in the downloads > each time. If it is an antivirus, should it not always block the same > download? > > Thanks!! > > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > [WARNING] The POM for > org.apache.maven.plugins:maven-compiler-plugin:jar:3.0.3 is missing, no > dependency information available > [WARNING] Failed to retrieve plugin descriptor for > org.apache.maven.plugins:maven-compiler-plugin:3.0.3: Plugin > org.apache.maven.plugins:maven-compile > r-plugin:3.0.3 or one of its dependencies could not be resolved: Failed to > read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin > :jar:3.0.3 > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.8/maven-eclipse-plugin-2.8.jar(202 > KB at 210.4 KB/sec) > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Struts 2 Starter 1.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 >>> > [INFO] > [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 <<< > [INFO] > [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 --- > Downloading: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom > <!--A big bunch of downloads completed here--> > Downloaded: > http://repo1.maven.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar(663 > KB at 363.9 KB/sec) > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Struts 2 Starter 1.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 >>> > [INFO] > [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 <<< > [INFO] > [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 --- > Downloading: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Struts 2 Starter 1.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 >>> > [INFO] > [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 <<< > [INFO] > [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 --- > Downloading: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar > Downloaded: > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar(139 > KB at 174.3 KB/sec) > [INFO] Using Eclipse Workspace: C:\development\Workspace1 > [WARNING] Workspace defines a VM that does not contain a valid > jre/lib/rt.jar: C:\devtools\java7u2 > [INFO] Adding default classpath container: > org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5 > Downloading: > http://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.1.1/commons-fileupload-1.1.1.pom > <!-- Another big bunch of downloads completed here --> > Downloading: > http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Struts 2 Starter 1.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 >>> > [INFO] > [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 <<< > [INFO] > [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 --- > [INFO] Using Eclipse Workspace: C:\development\Workspace1 > [WARNING] Workspace defines a VM that does not contain a valid > jre/lib/rt.jar: C:\devtools\java7u2 > [INFO] Adding default classpath container: > org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5 > Downloading: > http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar > Downloaded: > http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar(96 > KB at 111.3 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/struts/struts2-config-browser-plugin/2.1.8.1/struts2-config-browser-plugin-2.1.8.1.jar > Downloaded: > http://repo1.maven.org/maven2/org/apache/struts/struts2-config-browser-plugin/2.1.8.1/struts2-config-browser-plugin-2.1.8.1.jar(39 > KB at > 85.8 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/struts/struts2-core/2.1.8.1/struts2-core-2.1.8.1.jar > Terminate batch job (Y/N)? y > C:\development\Workspace1\project1>mvn eclipse:eclipse > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Struts 2 Starter 1.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 >>> > [INFO] > [INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 <<< > [INFO] > [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ project1 --- > [INFO] Using Eclipse Workspace: C:\development\Workspace1 > [WARNING] Workspace defines a VM that does not contain a valid > jre/lib/rt.jar: C:\devtools\java7u2 > [INFO] Adding default classpath container: > org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5 > Downloading: > http://repo1.maven.org/maven2/org/apache/struts/struts2-core/2.1.8.1/struts2-core-2.1.8.1.jar > 126 KB > > > > > > > > > On Mon, Jan 9, 2012 at 9:39 AM, Wayne Fay <wayne...@gmail.com> wrote: > >> > It almost seems like it is an internet connectivity problem, but I don't >> > see how it can be, when it can download some jars, but not the remaining >> > ones. >> ... >> > C:\development\workspace1\project1>dir >> >> This kind of problem is nearly always related to some antivirus software >> running on your Windows machine or on your network somewhere. Try turning >> it off or whitelisting the Java.exe process. >> >> > [WARNING] 'build.plugins.plugin.version' for >> > org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 84, >> > column 15 >> >> Well let's do a thought experiment. What do you think (as a new user to >> Maven) that error message means? As an experienced Maven user, it is super >> clear to me, but I'd like to hear what you are thinking. >> >> Wayne >> > >