I concur with Arnaud, the best way is to have a internet connection so Maven can get fresh stuff from remote repositories.
In your particular case Kumar the jar you need in your repo is: commons-jelly-tags-interaction-20030211.143817.jar The script is telling you that at the end. If you keep using Maven in "offline mode" that will be common for a while, unless you create your local repo issuing this: For Unix: $MAVEN_HOME/bin/install_repo.sh $HOME/.maven/repository For Windows: %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository As recommended here: http://maven.apache.org/start/install.html Have fun with Maven Alex -----Original Message----- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 6:08 PM To: 'Maven Users List' Subject: RE: Maven genapp issue! Yes you need to have an internet connection to download jars from ibiblio in your local repository. Without this, you'll need to download manually a lot of jars... Arnaud > > Do u need the HTTP connection to run the maven script. > > Can't you download all the jar files manaully and run the > maven script? > I already did set-up the script to run the -X and here is the O/P. > > C:\dev\mavenbook\code\genapp\test-application>maven genapp -X __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > Initializing Plugins! > Set plugin source directory to C:\Program Files\Apache > Software Foundation\Maven 1.0.2\plugins Set unpacked plugin > directory to C:\Documents and Settings\kumaralo\.maven\cache > > Set user plugin directory to C:\Documents and > Settings\kumaralo\.maven\plugins Loading plugin cache Now > mapping cached plugins Loading plugin 'maven-cruisecontrol-plugin-1.6' > Loading plugin 'maven-multichanges-plugin-1.1' > Loading plugin 'maven-checkstyle-plugin-2.5' > Loading plugin 'maven-file-activity-plugin-1.5.1' > Loading plugin 'maven-jellydoc-plugin-1.3.1' > Loading plugin 'maven-ear-plugin-1.6' > Loading plugin 'maven-jdepend-plugin-1.5' > Loading plugin 'maven-pom-plugin-1.4.1' > Loading plugin 'maven-jira-plugin-1.1.2' > Loading plugin 'maven-jar-plugin-1.6.1' > Loading plugin 'maven-developer-activity-plugin-1.5.1' > Loading plugin 'maven-jboss-plugin-1.5' > Loading plugin 'maven-faq-plugin-1.4' > Loading plugin 'maven-dist-plugin-1.6.1' > Loading plugin 'maven-javadoc-plugin-1.7' > Loading plugin 'maven-linkcheck-plugin-1.3.4' > Loading plugin 'maven-tasklist-plugin-2.3' > Loading plugin 'maven-idea-plugin-1.5' > Loading plugin 'maven-jcoverage-plugin-1.0.9' > Loading plugin 'maven-junit-report-plugin-1.5' > Loading plugin 'maven-plugin-plugin-1.5.2' > Loading plugin 'maven-changelog-plugin-1.7.1' > Loading plugin 'maven-jxr-plugin-1.4.2' > Loading plugin 'maven-ashkelon-plugin-1.2' > Loading plugin 'maven-announcement-plugin-1.3' > Loading plugin 'maven-xdoc-plugin-1.8' > Loading plugin 'maven-eclipse-plugin-1.9' > Loading plugin 'maven-shell-plugin-1.1' > Loading plugin 'maven-rar-plugin-1.0' > Loading plugin 'maven-dashboard-plugin-1.6' > Loading plugin 'maven-scm-plugin-1.4.1' > Loading plugin 'maven-clover-plugin-1.6' > Loading plugin 'maven-uberjar-plugin-1.2' > Loading plugin 'maven-war-plugin-1.6.1' > Loading plugin 'maven-ant-plugin-1.8.1' > Loading plugin 'maven-simian-plugin-1.4' > Loading plugin 'maven-tjdo-plugin-1.0.0' > Loading plugin 'maven-ejb-plugin-1.5' > Loading plugin 'maven-changes-plugin-1.5.1' > Loading plugin 'maven-j2ee-plugin-1.5.1' > Loading plugin 'maven-release-plugin-1.4.1' > Loading plugin 'maven-abbot-plugin-1.1' > Loading plugin 'maven-nsis-plugin-1.1' > Loading plugin 'maven-multiproject-plugin-1.3.1' > Loading plugin 'maven-license-plugin-1.2' > Loading plugin 'maven-jdiff-plugin-1.4' > Loading plugin 'maven-pmd-plugin-1.6' > Loading plugin 'maven-repository-plugin-1.2' > Loading plugin 'maven-jbuilder-plugin-1.5' > Loading plugin 'maven-console-plugin-1.1' > Loading plugin 'maven-webserver-plugin-2.0' > Loading plugin 'maven-aspectwerkz-plugin-1.2' > Loading plugin 'maven-test-plugin-1.6.2' > Loading plugin 'maven-jetty-plugin-1.1' > Loading plugin 'maven-docbook-plugin-1.2' > Loading plugin 'maven-latka-plugin-1.4.1' > Loading plugin 'maven-aspectj-plugin-3.2' > Loading plugin 'maven-hibernate-plugin-1.2' > Loading plugin 'maven-native-plugin-1.1' > Loading plugin 'maven-site-plugin-1.5.2' > Loading plugin 'maven-gump-plugin-1.4' > Loading plugin 'maven-appserver-plugin-2.0' > Loading plugin 'maven-java-plugin-1.5' > Loading plugin 'maven-pdf-plugin-2.2.1' > Loading plugin 'maven-html2xdoc-plugin-1.3.1' > Loading plugin 'maven-jdee-plugin-1.1' > Loading plugin 'maven-jalopy-plugin-1.3.1' > Loading plugin 'maven-jnlp-plugin-1.4.1' > Loading plugin 'maven-jdeveloper-plugin-1.4' > Loading plugin 'maven-junit-doclet-plugin-1.2' > Loading plugin 'maven-wizard-plugin-1.1' > Loading plugin 'maven-artifact-plugin-1.4.1' > Loading plugin 'maven-javacc-plugin-1.1' > Loading plugin 'maven-antlr-plugin-1.2.1' > Loading plugin 'maven-struts-plugin-1.3' > Loading plugin 'maven-clean-plugin-1.3' > Loading plugin 'maven-castor-plugin-1.2' > Loading plugin 'maven-latex-plugin-1.4.1' > Loading plugin 'maven-genapp-plugin-2.2' > Loading plugin 'maven-caller-plugin-1.1' > Loading plugin 'maven-vdoclet-plugin-1.2' > Now loading uncached plugins > Finished initializing Plugins! > pushing on [EMAIL PROTECTED] > over org.apache.mave [EMAIL PROTECTED] in > Global Project:Global Project [DEBUG] Adding reference: > maven.dependency.classpath -> running script null [DEBUG] > Adding reference: maven-classpath -> [DEBUG] Adding > reference: maven.compile.src.set -> Verifying dependencies > for Global Project:Global Project No dependencies to process > for project null preparing goal: build:start execution chain: > [[Goal: name="build:start"]; precursor=[]]] final list of > plugins to prepare: [] preparing goal: genapp execution > chain: [[Goal: name="genapp"]; precursor=[]]] final list of > plugins to prepare: [ source = C:\Documents and > Settings\kumaralo\.maven\cache\maven-genapp-plugin-2. > 2\plugin.jelly > project = null > script = null] > Using userBuildPropertiesFile: C:\Documents and > Settings\kumaralo\build.properti es Using > projectPropertiesFile: C:\Documents and > Settings\kumaralo\.maven\cache\mav > en-genapp-plugin-2.2\project.properties > Using projectBuildPropertiesFile: C:\Documents and > Settings\kumaralo\.maven\cach > e\maven-genapp-plugin-2.2\build.properties > pushing on [EMAIL PROTECTED] > over org.apache.mave [EMAIL PROTECTED] in > maven-genapp-plugin:maven-genapp-plugin > initialising plugin housing: Maven Genapp Plugin running > script C:\Documents and > Settings\kumaralo\.maven\cache\maven-genapp-plug > in-2.2\plugin.jelly > Verifying dependencies for maven-genapp-plugin:maven-genapp-plugin > Getting failed dependencies: > [EMAIL PROTECTED] > ] > Attempting to download > commons-jelly-tags-interaction-20030211.143817.jar. > Getting URL: > http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags- > interaction-20030211.143817.jar > Received status code: 500 > Error retrieving artifact from > [http://www.ibiblio.org/maven/commons-jelly/jars/ > commons-jelly-tags-interaction-20030211.143817.jar]: > java.io.IOException: Unknow > n error downloading; status code was: 500 Error details > java.io.IOException: Unknown error downloading; status code was: 500 > at > org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:607) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:395) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) > at > org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend > encyVerifier.java:351) > at > org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen > cyVerifier.java:280) > at > org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe > ndencyVerifier.java:171) > at > org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie > r.java:97) > at > org.apache.maven.project.Project.verifyDependencies(Project.java:1367 > ) > at > org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:1 > 094) > at > org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:11 > 35) > at > org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext( > PluginManager.java:770) > at > org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja > va:725) > at > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: > 656) > at > org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) > at org.apache.maven.cli.App.doMain(App.java:488) > at org.apache.maven.cli.App.main(App.java:1239) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java:581) > WARNING: Failed to download > commons-jelly-tags-interaction-20030211.143817.jar. > popping off [EMAIL PROTECTED] > for org.apache.mave [EMAIL PROTECTED] in > Global Project:Global Project The build cannot continue > because of the following unsatisfied > dependency: > > commons-jelly-tags-interaction-20030211.143817.jar > > Final Memory: 1M/3M > Total time: 1 seconds > Finished at: Thu Sep 22 12:43:25 PDT 2005 > > -----Original Message----- > From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 22, 2005 12:08 PM > To: Maven Users List > Subject: RE: Maven genapp issue! > > Looks like your getting an 500 error from the server. Please > double check that, if you're a proxy, you're clearly > specifying that on your build.properties file. See here: > > http://maven.apache.org/reference/properties.html > > If that doesn't help try to use -X at the end of your command > and post your output. > > Have fun with Maven. > Alex > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 22, 2005 2:39 PM > To: users@maven.apache.org > Subject: Maven genapp issue! > > > Hi, > I am new to MAVEN and was using the 1.0 version of it. I > downloaded the maven and set-up all the basics. > > When I am trying to generate the maven application using the > maven genapp command. But seems that its not able to download > the file from the internet and causing the issue. Can we > sugget us what to do ? > > Thanks, > Alok > > --------Error message as below --------- > > C:\dev\mavenbook\code\genapp\test-application>maven genapp __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > Attempting to download > commons-jelly-tags-interaction-20030211.143817.jar. > Error retrieving artifact from > [http://www.ibiblio.org/maven/commons-jelly/jars/ > commons-jelly-tags-interaction-20030211.143817.jar]: > java.io.IOException: Unknow > n error downloading; status code was: 500 > WARNING: Failed to download > commons-jelly-tags-interaction-20030211.143817.jar. > The build cannot continue because of the following unsatisfied > dependency: > > commons-jelly-tags-interaction-20030211.143817.jar > > Total time: 1 seconds > Finished at: Thu Sep 22 11:29:34 PDT 2005 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]