how to configure existing project for maven2
Hi al, I'm wondering that how can i configure an existing project in maven2. How to create pom.xml file for that. And is it necessary to have pom.xml file in each sub-folder of root folder Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family.. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: FATAL ERROR xpp3 jar... plz help.. its urgent
mail send twice by mistake only its not done intentionally. OK.. From: Jörg Schaible <[EMAIL PROTECTED]> To: Maven Users List Sent: Wednesday, 22 October, 2008 6:24:13 PM Subject: RE: FATAL ERROR xpp3 jar... plz help.. its urgent rohan chauhan wrote: > - Forwarded Message > From: rohan chauhan <[EMAIL PROTECTED]> > To: users maven > Sent: Wednesday, 22 October, 2008 5:37:19 PM > Subject: FATAL ERROR xpp3 jar... plz help.. its urgent > > > hi all i'm getting following error even though i specify > dependency tag in pom.xml Let people at least some time to read your postings. This is not a 24/7-high-priority support forum where you've paid something for service! Please answer the questions you've b een asked for in the other response. BTW: Declared project dependencies have no influence on the deps of a plugin. Never. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
FATAL ERROR xpp3 jar... plz help.. its urgent
- Forwarded Message From: rohan chauhan <[EMAIL PROTECTED]> To: users maven Sent: Wednesday, 22 October, 2008 5:37:19 PM Subject: FATAL ERROR xpp3 jar... plz help.. its urgent hi all i'm getting following error even though i specify dependency tag in pom.xml [INFO] [INFO] Building aabb Web [INFO]task-segment: [install] [INFO] [INFO] [andromda-multi-source:add-source {execution: default}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] While downloading itext:itext:0.99 This artifact has been relocated to com.lowagie:itext:0.99. [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [copy] Warning: C:\c2 andro\e\aabb\web\src\main\jsp not found. [INFO] Executed tasks [INFO] [compiler:compile] [INFO] Compiling 3 source files to C:\c2 andro\e\aabb\web\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Packaging webapp [INFO] [ERROR] FATAL ERROR [INFO] [INFO] XPP3 pull parser library not present. Specify another driver. For example : new XStream(new DomDriver()) [INFO] [INFO] Trace java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specif y another driver. For example: new XStream(new DomDriver()) at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java: 42) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java :29) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781) at org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(We bappStructureSerializer.java:73) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMo jo.java:404) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(Abstr actWarMojo.java:375) at org..apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181 ) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven..lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor..java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor..executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 1 minute 43 seconds [INFO] Finished at: Wed Oct 22 17:36:06 IST 2008 [INFO] Final Memory: 36M/65M [INFO] Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought
FATAL ERROR xpp3 jar... plz help.. its urgent
hi all i'm getting following error even though i specify dependency tag in pom.xml [INFO] [INFO] Building aabb Web [INFO]task-segment: [install] [INFO] [INFO] [andromda-multi-source:add-source {execution: default}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] While downloading itext:itext:0.99 This artifact has been relocated to com.lowagie:itext:0.99. [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [copy] Warning: C:\c2 andro\e\aabb\web\src\main\jsp not found. [INFO] Executed tasks [INFO] [compiler:compile] [INFO] Compiling 3 source files to C:\c2 andro\e\aabb\web\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Packaging webapp [INFO] [ERROR] FATAL ERROR [INFO] [INFO] XPP3 pull parser library not present. Specify another driver. For example : new XStream(new DomDriver()) [INFO] [INFO] Trace java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specif y another driver. For example: new XStream(new DomDriver()) at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java: 42) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java :29) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781) at org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(We bappStructureSerializer.java:73) at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMo jo.java:404) at org.apache.maven.plugin.war.AbstractWarMojo..buildExplodedWebapp(Abstr actWarMojo.java:375) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181 ) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 1 minute 43 seconds [INFO] Finished at: Wed Oct 22 17:36:06 IST 2008 [INFO] Final Memory: 36M/65M [INFO] Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
how to add jars from bootstrap to classpath in pom.xml
hi all I want to add all the jars from the bootstrap jars directory to the classpath. How can i do it in pom. can anyone specify me. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
Local repository config prob.. got stuck.. Qucikly reply
Thanks for ur reply I just make change in Repositories tag. Add one more repository and make it default. now maven going to check there first but as it not found it goes to maven public repository. and download to my pc (Not the pc where archiva is running) My New edited POM..XML is andromda AndroMDA Repository http://team.andromda.org/maven2 maven2-repository.dev.java.net Java.net Repository for Maven 2 https://maven2-repository.dev.java.net/nonav/repository Mycompnay internal http://10.10.134.60:8080/archiva/repository/C2Internal/ default My Complete settings.xml is Repository Proxy true internal.releases http://C2Vaibhav:8080/archiva/repository/C2Internal/ archiva.default http://10.10.134.60:8080/archiva/repository/C2Internal/ * 10.10.136.60 is PC where Archiva is running. but maven is not downloading to that pc instead it just check there for files and download to my local pc(Not Where Archiva install) What else i need to set for - Original Message From: rohan chauhan <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, 14 October, 2008 5:28:50 PM Subject: Re: Local repository config prob Thanks for ur quick reply.. But i want to know then what should i include i settings.xml file i read somewhere that u need to create server and give password there and in pom add dependency management tag to refer that server.. but its still not working Then i try for setting virtual repositories but still same thing happaning that its download directly from remote public maven repository only. can u help me to set my setting.xml file. can u give what are change needed for accessing pc where Archiva insttalled. - Original Message From: Brett Porter <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, 14 October, 2008 5:13:39 PM Subject: Re: Local repository config prob You are correct - you can remove the proxy settings in this scenario. Cheers, Brett On 14/10/2008, at 10:09 PM, rohan chauhan wrote: > Hi all > > I installl Apache Archiva and configure it as they menstion. and try > to check on local PC for mvn install command and its working well. > > Now thing is when i'm reffering from other PC(within intranet ip is > 10.20.30.40) it communicate to Maven public repository not to Apache > Archiva install on ip 10.20.30.40 > > I want my maven check from ip 10.20.30.40 first. if file is not > there then it is download and store on ip 10.20.30.40(where Archiva > running) and then i access it. Do i need Proxy setting for that(as > i'm always communicate with ip 10.20.30.40 only)? > > for that i made changes in settings.xml file > > > > > true > http > 10...10.136.103 > 8080 > solusoftindia\vtrivedi > pass123 > www.google.com|*.somewhere.com > > > > > archiva.default > >http://10.20.30.40:8080/archiva/repository/internal/ > * > > > > > Is there any more things needed to do my task. > > > > Do not follow where the path may lead. Go instead where there is no > path and leave a trail ! ! ! > > > > > * Learn to enjoy every minute of your life. Be happy now. Don't > wait for > something outside of yourself to make you happy in the future. > Think how > really precious is the time you have to spend, whether it's at work > or with > your family. Every minute should be enjoyed and savored > by forgetting problems. * - My Thought > > > > > Add more friends to your messenger and enjoy! Go to > http://messenger.yahoo.com/invite/ -- Brett Porter [EMAIL PROTECTED] http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Local repository config prob
Thanks for ur reply I just make change in Repositories tag. Add one more repository and make it default. now maven going to check there first but as it not found it goes to maven public repository. and download to my pc (Not the pc where archiva is running) My New edited POM.XML is andromda AndroMDA Repository http://team.andromda.org/maven2 maven2-repository.dev.java.net Java.net Repository for Maven 2 https://maven2-repository.dev.java.net/nonav/repository Mycompnay internal http://10.10.134.60:8080/archiva/repository/C2Internal/ default My Complete settings.xml is Repository Proxy true internal.releases http://C2Vaibhav:8080/archiva/repository/C2Internal/ archiva.default http://10.10.134.60:8080/archiva/repository/C2Internal/ * 10.10.136.60 is PC where Archiva is running. but maven is not downloading to that pc instead it just check there for files and download to my local pc(Not Where Archiva install) What else i need to set for - Original Message From: rohan chauhan <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, 14 October, 2008 5:28:50 PM Subject: Re: Local repository config prob Thanks for ur quick reply.. But i want to know then what should i include i settings.xml file i read somewhere that u need to create server and give password there and in pom add dependency management tag to refer that server.. but its still not working Then i try for setting virtual repositories but still same thing happaning that its download directly from remote public maven repository only. can u help me to set my setting.xml file. can u give what are change needed for accessing pc where Archiva insttalled. - Original Message From: Brett Porter <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, 14 October, 2008 5:13:39 PM Subject: Re: Local repository config prob You are correct - you can remove the proxy settings in this scenario. Cheers, Brett On 14/10/2008, at 10:09 PM, rohan chauhan wrote: > Hi all > > I installl Apache Archiva and configure it as they menstion. and try > to check on local PC for mvn install command and its working well. > > Now thing is when i'm reffering from other PC(within intranet ip is > 10.20.30.40) it communicate to Maven public repository not to Apache > Archiva install on ip 10.20.30.40 > > I want my maven check from ip 10.20.30.40 first. if file is not > there then it is download and store on ip 10.20.30.40(where Archiva > running) and then i access it. Do i need Proxy setting for that(as > i'm always communicate with ip 10.20.30.40 only)? > > for that i made changes in settings.xml file > > > > > true > http > 10..10.136.103 > 8080 > solusoftindia\vtrivedi > pass123 > www.google.com|*.somewhere.com > > > > > archiva.default > >http://10.20.30.40:8080/archiva/repository/internal/ > * > > > > > Is there any more things needed to do my task. > > > > Do not follow where the path may lead. Go instead where there is no > path and leave a trail ! ! ! > > > > > * Learn to enjoy every minute of your life. Be happy now. Don't > wait for > something outside of yourself to make you happy in the future. > Think how > really precious is the time you have to spend, whether it's at work > or with > your family. Every minute should be enjoyed and savored > by forgetting problems. * - My Thought > > > > > Add more friends to your messenger and enjoy! Go to > http://messenger.yahoo.com/invite/ -- Brett Porter [EMAIL PROTECTED] http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: Local repository config prob
Thanks for ur quick reply.. But i want to know then what should i include i settings.xml file i read somewhere that u need to create server and give password there and in pom add dependency management tag to refer that server.. but its still not working Then i try for setting virtual repositories but still same thing happaning that its download directly from remote public maven repository only. can u help me to set my setting.xml file. can u give what are change needed for accessing pc where Archiva insttalled. - Original Message From: Brett Porter <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, 14 October, 2008 5:13:39 PM Subject: Re: Local repository config prob You are correct - you can remove the proxy settings in this scenario. Cheers, Brett On 14/10/2008, at 10:09 PM, rohan chauhan wrote: > Hi all > > I installl Apache Archiva and configure it as they menstion. and try > to check on local PC for mvn install command and its working well. > > Now thing is when i'm reffering from other PC(within intranet ip is > 10.20.30.40) it communicate to Maven public repository not to Apache > Archiva install on ip 10.20.30.40 > > I want my maven check from ip 10.20.30.40 first. if file is not > there then it is download and store on ip 10.20.30.40(where Archiva > running) and then i access it. Do i need Proxy setting for that(as > i'm always communicate with ip 10.20.30.40 only)? > > for that i made changes in settings.xml file > > > > > true > http > 10..10.136.103 > 8080 > solusoftindia\vtrivedi > pass123 > www.google.com|*.somewhere.com > > > > > archiva.default > >http://10.20.30.40:8080/archiva/repository/internal/ > * > > > > > Is there any more things needed to do my task. > > > > Do not follow where the path may lead. Go instead where there is no > path and leave a trail ! ! ! > > > > > * Learn to enjoy every minute of your life. Be happy now. Don't > wait for > something outside of yourself to make you happy in the future. > Think how > really precious is the time you have to spend, whether it's at work > or with > your family. Every minute should be enjoyed and savored > by forgetting problems. * - My Thought > > > > > Add more friends to your messenger and enjoy! Go to > http://messenger.yahoo.com/invite/ -- Brett Porter [EMAIL PROTECTED] http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Local repository config prob
Hi all I installl Apache Archiva and configure it as they menstion. and try to check on local PC for mvn install command and its working well. Now thing is when i'm reffering from other PC(within intranet ip is 10.20.30.40) it communicate to Maven public repository not to Apache Archiva install on ip 10.20.30.40 I want my maven check from ip 10.20.30.40 first. if file is not there then it is download and store on ip 10.20.30.40(where Archiva running) and then i access it. Do i need Proxy setting for that(as i'm always communicate with ip 10.20.30.40 only)? for that i made changes in settings.xml file true http 10..10.136.103 8080 solusoftindia\vtrivedi pass123 www.google.com|*.somewhere.com archiva.default http://10.20.30.40:8080/archiva/repository/internal/ * Is there any more things needed to do my task. Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Creating Development Environment Repository
Hi all, I want to create a maven repository in our organization. Which can work in following manner. All developers first check from our organization repository first. If file is there then they download it to their location.So no need to go on Maven public repository. But if in case file is not available in our organization repository then it is downloaded form Maven public repository and stored in organization's repository. And that file is then transfer to appropriate needed user. So that nest time when any of the developer needs that file it will available. I want above facility. Can u give me information about how to create this kind of repository. 1)Which tool needed to develop this repository. 2)What change needed in Maven to configure this development environment. 3)How to configure that tool for Maven Thank you all Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
How to Set local repository for development environment.. what tools needed
Hi all, I m working in maven for long time but till date i'm the only one in my project. Now things goes like this: We are total for developers. we want that my PC should be server for Maven. So that all others developer check in my repository first and if jar is not available then jar is download to my pc and then developers access it. we all are in our intranet only. Developer1 Developer2 MyPc Maven Public Repo Developer3 Can any one give me what i need to do? Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
How to Set local repository for development environment
Hi all, I m working in maven for long time but till date i'm the only one in my project. Now things goes like this: We are total for developers. we want that my PC should be server for Maven. So that all others developer check in my repository first and if jar is not available then jar is download to my pc and then developers access it. we all are in our intranet only. Developer1 Developer2 MyPc Maven Public Repo Developer3 Can any one give me what i need to do? Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.
can u tell me what are the things i needed to setup maven? i download maven 2.0.5 unzip it in apache software foundation in folder maven-2.0.5 n change settings.xml as bellow mention. n i found it is going to read there in xml file. but still showing same error. do i need to configure some other place or file. i just did this things only. M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.5 M2_REPO=C:\Documents and Settings\user1\.m2\repository CONTENT OF SETTINGS.XML in conf directory false optional true http 10.10.136.103 8080 solusoftindia\rchauhan AAABBBCCC i'm then running bellow command and found this error C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [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] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven..lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:161) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Oct 01 21:05:07 IST 2008 [INFO] Final Memory: 1M/4M [INFO] what should i do? what other info u need to identify this error? Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought ________ - Original Message From: rohan chauhan <[EMAIL PROTECTED]> To: Maven Users List Sent: Wednesday, 1 October, 2008 8:50:12 PM Subject: Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working. hi for ur 2nd point i just found that it is reading from settings.xml i just reading one closing tag and it shows error in settings.xml its content just change that its domain name \ user (i wrote b4 domainname/username) but it still shows me same error as bellow C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktra
Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.
hi for ur 2nd point i just found that it is reading from settings.xml i just reading one closing tag and it shows error in settings.xml its content just change that its domain name \ user (i wrote b4 domainname/username) but it still shows me same error as bellow C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [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] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin..DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:161) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Oct 01 20:44:38 IST 2008 [INFO] Final Memory: 1M/4M [INFO] my content in settings.xml is false optional true http 10.10.136.103 8080 SOLUSOFTINDIA\rchauhan aaabbbccc - Original Message From: Gabriel Garcia <[EMAIL PROTECTED]> To: Maven Users List Sent: Wednesday, 1 October, 2008 8:27:03 PM Subject: Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working. I can think of two other problems: 1. Proxy: Maybe you're not authenticating properly? Can you check the logfile to see if there's any activity when you run maven? One thought: your username looks like [domain]/[user], if it's a Windows proxy, maybe it should be [domain]\[user], but not sure about it. 2. Not reading settings.xml: Try to use the -s option when you execute maven and force it to load your settings..xml with your proxy settings. I really don't think this is a problem with Maven at all, would you be able to test this from a direct connection to the internet to rule that out? 2008/10/1 rohan chauhan <[EMAIL PROTECTED]>: > yes i'm able to access directory having content following. > > > > mojo-archetypes/ 11-Feb-2008 03:20- > nbm-archetype/ 13-Mar-2008 07:27- > netbeans-platform-app-archetype/ 26-May-2008 02:28- > > > then i went to mojo-archetypes/ (first link) > its having following > > 1/11-Feb-2008 03:20- > maven-metadata.xml11-Feb-2008 03:20 336 > maven-metadata.xml.md511-Feb-2008 03:20 32 > maven-metadata.xml.sha1
got stuck with this common error..
hi all maven users. this is one commonerror i found.. which C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [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] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache..maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:161) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Oct 01 20:24:55 IST 2008 [INFO] Final Memory: 1M/4M [INFO] settings.xml content false optional true http 10.10.136.103 8080 SOLUSOFTINDIA/rchauhan aabbcc i'm able to communicate with settings.xml. properly. what the prob this is showing then? Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.
yes i'm able to access directory having content following. mojo-archetypes/ 11-Feb-2008 03:20- nbm-archetype/ 13-Mar-2008 07:27- netbeans-platform-app-archetype/ 26-May-2008 02:28- then i went to mojo-archetypes/ (first link) its having following 1/11-Feb-2008 03:20- maven-metadata.xml11-Feb-2008 03:20 336 maven-metadata.xml.md511-Feb-2008 03:20 32 maven-metadata.xml.sha1 11-Feb-2008 03:20 40 i'm able to access all file by my browser just having extension .xml (not .md5, .sha1) but yes i can download by my browser all the files. - Original Message From: Gabriel Garcia <[EMAIL PROTECTED]> To: Maven Users List Sent: Wednesday, 1 October, 2008 7:59:57 PM Subject: Re: urgent plz help me... this error stop my entire poject. a common error but no solution working. I think you might have a problem accessing the Maven 2 repository: [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted Can you open a browser and see if you can get to http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/? If so, can you navigate further (into the latest version of the archetype mojo) and try to download the artifacts manually? 2008/10/1 rohan chauhan <[EMAIL PROTECTED]>: > i'm using maven 2.0.5 for androMDA > > i follows all instruction they mention. > > I also set up settings.xml file in cong directory. which i just attached > here. > also i delete my .m2 directory. but this error still comes in my way. > > C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] org.codehaus.mojo: checking for updates from central > [WARNING] repository metadata for: 'org.codehaus.mojo' could not be > retrieved fr > om 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] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > 'org.apache.m > aven.plugins:maven-archetype-plugin' does not exist or no valid version > could be > found > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa > ultLifecycleExecutor.java:1286) > at > org..apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > (DefaultLifecycleExecutor.java:1522) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy > AggregationNeeds(DefaultLifecycleExecutor.java:386) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:138) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven..java:330) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > 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:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven..plugin.version.PluginVersionNotFoundException: > The p > lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no > val > id version could be found > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > uginVersion(DefaultPluginVersionManager.java:228) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > uginVersion(DefaultPluginVersionManager.java:90) > a
urgent plz help me.. this error stop my entire poject. a common error but no solution working.
i'm using maven 2.0.5 for androMDA i follows all instruction they mention. I also set up settings.xml file in cong directory. which i just attached here. also i delete my .m2 directory. but this error still comes in my way. C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om 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] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:161) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Wed Oct 01 19:30:32 IST 2008 [INFO] Final Memory: 1M/4M [INFO] Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! ! * Learn to enjoy every minute of your life. Be happy now. Don't wait for something outside of yourself to make you happy in the future. Think how really precious is the time you have to spend, whether it's at work or with your family. Every minute should be enjoyed and savored by forgetting problems. * - My Thought Connect with friends all over the world.. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ optional true http 10.10.136.103 8080 SOLUSOFTINDIA/rchauhan mypass - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
error in maven 2.0.5. though i set settings.xml n remove my repository
C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp + Error stacktraces are turned on. [INFO] Scanning for projects [INFO] Searching repository for plugin with prefix: 'archetype'. [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] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache..maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:161) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Oct 01 18:32:17 IST 2008 [INFO] Final Memory: 1M/4M [INFO] -- SETTINGS.XML CONTENT in conf directory optional true http 10.10.136.103 8080 SOLUSOFTINDIA/rchauhan MYPASS -- maven is of 2.0.5. windows Xp i remove .m2 repository but it still shows same Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/