Re: Creating first Maven Project-Problem
Hi, Do you happen to work from behind a proxy that you didn't set (in settings.xml)? Mylène On Mon, Sep 22, 2008 at 2:47 PM, ashleyvijay [EMAIL PROTECTED] wrote: Hi all, Sorry if this question has been asked before. Im new to Maven and I hope I hve installed as per the instructions. When I try to create a new project it gives me this error. Can anybody please tell me how it could be resolved? C:\mvn --version Maven version: 2.0.9 Java version: 1.5.0_16 OS name: windows xp version: 5.1 arch: x86 Family: windows C:\mvn archetype:create\ -DarchetypeGroupId=org.apache.maven.archetypes\ -Dgrou p=com.mycompany.app\ -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Sep 22 14:44:02 CEST 2008 [INFO] Final Memory: 1M/2M [INFO] C:\ -- View this message in context: http://www.nabble.com/Creating-first-Maven-Project-Problem-tp19607304p19607304.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mylene
Re: Creating first Maven Project-Problem
see: http://maven.apache.org/guides/mini/guide-proxies.html Mylène On Mon, Sep 22, 2008 at 3:17 PM, ashleyvijay [EMAIL PROTECTED] wrote: Well I think so...if thats the case what should I do?? mylene wrote: Hi, Do you happen to work from behind a proxy that you didn't set (in settings.xml)? Mylène On Mon, Sep 22, 2008 at 2:47 PM, ashleyvijay [EMAIL PROTECTED] wrote: Hi all, Sorry if this question has been asked before. Im new to Maven and I hope I hve installed as per the instructions. When I try to create a new project it gives me this error. Can anybody please tell me how it could be resolved? C:\mvn --version Maven version: 2.0.9 Java version: 1.5.0_16 OS name: windows xp version: 5.1 arch: x86 Family: windows C:\mvn archetype:create\ -DarchetypeGroupId=org.apache.maven.archetypes\ -Dgrou p=com.mycompany.app\ -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Sep 22 14:44:02 CEST 2008 [INFO] Final Memory: 1M/2M [INFO] C:\ -- View this message in context: http://www.nabble.com/Creating-first-Maven-Project-Problem-tp19607304p19607304.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mylene -- View this message in context: http://www.nabble.com/Creating-first-Maven-Project-Problem-tp19607304p19607766.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mylene
Re: sets repository in settings.xml?
Hi, In maven1 you can set -Dmaven.repo.remote (not very surprising). In maven2 AFAIK you have to set it in the POM. Mylene On 12/23/06, jiangshachina [EMAIL PROTECTED] wrote: Hello, Thanks for the reply. I know that we can set local repository(-Dmaven.repo.local=xxx) at command line, then can I set remote repository(e.g. repository.codehaus.org) at command? Thanks! a cup of Java, cheers! Sha Jiang Mohni, Daniel wrote: Hello Sha Jiang Answers inline... -Original Message- From: jiangshachina [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 4:46 AM To: users@maven.apache.org Subject: sets repository in settings.xml? Hi guys, Can I set a third-part repository in settings.xml? Then I can use it as a global repository. of course... it is described for archiva over here: http://maven.apache.org/archiva/guides/getting-started/maven-configurati on.html but you can setup any repository you want in settings.xml you then only have to deploy the settings.xml to all developers in the team... Regards Daniel Thanks in advance! a cup of Java, cheers! Sha Jiang -- View this message in context: http://www.nabble.com/sets-repository-in-settings.xml--tf28635 99s177.html#a8002418 Sent from the Maven - Users mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/sets-repository-in-settings.xml--tf2863599s177.html#a8032886 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mylene Books just wanna be FREE! See what I mean at: http://bookcrossing.com/friend/mylene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repository definition
You should set the version number... Mylene On 12/21/06, serafettin senturk [EMAIL PROTECTED] wrote: Hello, I used in my pom.xml the following repositories. repositories repository idandromda/id nameAndroMDA Repository/name urlhttp://team.andromda.org/maven2/url /repository repository idandromda/id nameAndroMDA Repository/name urlhttp://team.andromda.org/maven/url /repository repository idandromda/id nameAndroMDA Repository/name urlhttp://www.ibiblio.org/maven/url /repository /repositories But still I get the below warning messages. How can I fix this problem? Downloading: http://team.andromda.org/maven2/org/andromda/cartridges/andromda-bp m4struts-cartridge/${andromda.version}/andromda-bpm4struts-cartridge-${andromda. version}.jar [WARNING] Unable to get resource from repository andromda (http://team.andromda. org/maven2) Downloading: http://repo1.maven.org/maven2/org/andromda/cartridges/andromda-bpm4 struts-cartridge/${andromda.version}/andromda-bpm4struts-cartridge-${andromda.ve rsion}.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://team.andromda.org/maven2/andromda/andromda-profile-datatype/ ${andromda.version}/andromda-profile-datatype-${andromda.version}.xml.zip [WARNING] Unable to get resource from repository andromda (http://team.andromda. org/maven2) Downloading: http://repo1.maven.org/maven2/andromda/andromda-profile-datatype/${ andromda.version}/andromda-profile-datatype-${andromda.version}.xml.zip [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://team.andromda.org/maven2/andromda/andromda-profile-persisten ce/${andromda.version}/andromda-profile-persistence-${andromda.version}.xml.zip [WARNING] Unable to get resource from repository andromda (http://team.andromda. org/maven2) Downloading: http://repo1.maven.org/maven2/andromda/andromda-profile-persistence /${andromda.version}/andromda-profile-persistence-${andromda.version}.xml.zip [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://team.andromda.org/maven2/org/andromda/cartridges/andromda-ja va-cartridge/${andromda.version}/andromda-java-cartridge-${andromda.version}.jar [WARNING] Unable to get resource from repository andromda (http://team.andromda. org/maven2) Downloading: http://repo1.maven.org/maven2/org/andromda/cartridges/andromda-java -cartridge/${andromda.version}/andromda-java-cartridge-${andromda.version}.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org htmlDIVFONT color=#330099 PSerafettin SenturkBRBRComputer Engineer (BSc) BRBRMScin Software Technology - Stuttgart Uni. of Applied Sciences BRBRTel. (0532)4037784 BRBRAddress.Haci Hesna Hatun Mah. Yeni Dunya Sok. DeryaApt. 21/4 Üsküdar/P/FONT P/P P/P P/P/DIV/html _ En etkili ve güvenilir PC Korumayi tercih edin, rahat edin! http://www.msn.com.tr/security/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mylene Books just wanna be FREE! See what I mean at: http://bookcrossing.com/friend/mylene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m201] Plugin Dependency Configuration
Bob, What I can see from your pom.xml, is that you included the dependency in the report section, of which the outline is added below, and there are no dependencies given... Mylene reporting excludeDefaults/ outputDirectory/ plugins plugin groupId/ artifactId/ version/ inherited/ configuration/ reportSets reportSet id/ configuration/ inherited/ reports/ /reportSet /reportSets /plugin /plugins /reporting On 1/9/06, Allison, Bob [EMAIL PROTECTED] wrote: ?xml version=1.0 encoding=ISO-8859-1? project (...) reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId dependencies dependency groupIdqaccess/groupId artifactIdbuild-tools/artifactId version3.0-SNAPSHOT/version /dependency /dependencies configuration configLocationstyle/Q.Access.xml/configLocation headerLocationLICENSE.txt/headerLocation /configuration /plugin /plugins /reporting /project -Original Message- From: Kees de Kooter [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 05:24 To: Maven Users List Subject: Re: [m201] Plugin Dependency Configuration On 1/9/06, Allison, Bob [EMAIL PROTECTED] wrote: Anybody have any idea what I am doing wrong? Could you please post your pom? -- Mylene Books just wanna be FREE! See what I mean at: http://bookcrossing.com/friend/mylene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: StackOverFlow Error
Hi Deepika.S What is the (relevant) output when you run your command with the advised -e switch? Mylene On 12/15/05, Deepika.M [EMAIL PROTECTED] wrote: When I run mvn javadoc:javadoc for my project I am getting following exception... javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.StackOverflowError [INFO] - --- [INFO] For more information, run Maven with the -e switch snip - Deepika.S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: changelog plugin vs cvs executable
Stephan, I have the same message as you do, but that doesn't affect the result [echo] Generating the changelog report Server is not supporting gzip-file-contents request ChangeLog found: 8 entries Guess it is just a result of using Windows... I will check the sources, and get back to you! Regards, Mylène -Original Message- From: Stephan Lagraulet [mailto:[EMAIL PROTECTED] Sent: 27 April 2004 12:34 To: 'Maven Users List' Subject: RE: changelog plugin vs cvs executable By the way, I think no one answered the question I asked, maybe no one had this problem. [echo] Generating the changelog report Server is not supporting gzip-file-contents request ChangeLog found: 0 entries Has anyone got this message and how can it be fixed? I'm using CVSNT, connecting with pserver Regards, Stephan Lagraulet GxP Systems www.gxpsystems.com -Original Message- From: Menetrieux Remy [mailto:[EMAIL PROTECTED] Sent: 27 April 2004 10:38 To: Maven Users List Subject: RE: changelog plugin vs cvs executable Changelog use the scm plugin to connect at cvs. I have post an answer for this last week. Rémy -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 avril 2004 06:58 À : [EMAIL PROTECTED] Objet : changelog plugin vs cvs executable I recently had a problem with the changelog plugin where it was coming back with an error saying there was an incorrect password provided. Running 'cvs up' and 'cvs login' all worked fine, and cvs itself seemed ok. It appears the plugin reads (and expects) a ~/.cvspass file. This file wasn't present when using cvs.exe from cvsnt.org. Is this to be expected? If so, we should update the plugin docs to clarify that a .cvspass is needed and give details on the ant task to create it. -- dIon Gillard, Multitask Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name Europcar and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - 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] This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Changelog cvs problems
Hi, I am desperately trying to get the Changelog to work, for 2 days now. I'm running Windows 2000 SP4, CVSNT, CVS 1.11.15, Maven v. 1.0-rc2. Conn. string: repository developerConnectionscm|cvs|pserver|[EMAIL PROTECTED]|C:/OSO/cvsrepo/test| Sample_project2/developerConnection /repository Result: [echo] Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:C:/OSO/cvsrepo/test'. org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password. ChangeLog found: 0 entries I tried first logging in to CVS, but that didn't help - also I tried both with the auto-generated .cvspass and with the /1 deleted (see http://jira.codehaus.org/ViewIssue.jspa?key=MPCHANGELOG-34) I'm afraid I'm overlooking something really simple, but I just don't see it. Any help appreciated, Mylène This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changelog cvs problems
Well, without them I can't get it to work on windows, because of the c:\ drive I have to define. The usual : delimiter is therefore changed in | But Arto's (or Menetrieux) solution worked. The username and password have to be divided by : It works with the connection string repository developerConnectionscm|cvs|pserver|MReiners:[EMAIL PROTECTED]|C:/OSO/cvsr epo/test|Sample_project2/developerConnection /repository Thanks a lot, Mylene -Original Message- From: Peter Bright [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 13:10 To: 'Maven Users List' Subject: RE: Changelog cvs problems Using : as a separator does not play nicely with drive letters. -Original Message- From: Arto Pastinen [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 12:12 To: Maven Users List Subject: Re: Changelog cvs problems Hi! Did you miss Menetrieux's reply this today? Here it is: Why you do use : as separator ?? Why you don't use an other separator ? I'm under linux too and this works fine: You see that the ':' separator is use for separate username and passwd.. connectionscm|cvs|pserver|username:[EMAIL PROTECTED]|repository| module/connec tion Actually i didn't test it, i added anonymous access to CVS, but try it, i think that it can help. On Thu, 2004-04-22 at 13:59, Mylene Reiners wrote: Hi, I am desperately trying to get the Changelog to work, for 2 days now. I'm running Windows 2000 SP4, CVSNT, CVS 1.11.15, Maven v. 1.0-rc2. Conn. string: repository developerConnectionscm|cvs|pserver|[EMAIL PROTECTED]|C:/OSO /cvsrepo/test| Sample_project2/developerConnection /repository Result: [echo] Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:C:/OSO/cvsrepo/test'. org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong Password. ChangeLog found: 0 entries I tried first logging in to CVS, but that didn't help - also I tried both with the auto-generated .cvspass and with the /1 deleted (see http://jira.codehaus.org/ViewIssue.jspa?key=MPCHANGELOG-34) I'm afraid I'm overlooking something really simple, but I just don't see it. Any help appreciated, Mylène This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - 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] This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
small error in plugin.jelly in maven-webserver-plugin-2.0-dev
Hi, When I tried to run maven site:generate, I got an error stating: a pseudo attribute name is expected (line 1, pos. 20) of plugin.jelly in maven-webserver-plugin-2.0-dev. Checking the plugin.jelly file, I found a missing question mark. Line 1 is: ?xml version=1.0 should be: ?xml version=1.0? Regards, Mylene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]