Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin
annotationProcessorPaths are currently not taken into account. I will try to add them in the next version Am Mi., 17. Okt. 2018 um 14:06 Uhr schrieb Thomas Broyer : > How about, say, maven-compiler-plugin's annotationProcessorPaths? > > Le mer. 17 oct. 2018 12:29, Andreas Janning a > écrit : > > > Hello maven users, > > > > I have just released a new open source maven plugin: The Go Offline Maven > > Plugin. > > > > It can be used to download all dependencies and plugins required in a > Maven > > build, so the build can be run without an internet connection afterwards. > > > > This is especially relevant with modern CI-Systems like Gitlab and > > Circle-CI that need a consistent local Maven repository in their cache to > > build efficiently. > > > > Optionally, sources of all transitive dependencies can be downloaded as > > well to have them available in your favourite IDE. > > > > Maven already has an official to do this: The maven-dependency-plugin > > go-offline goal. Unfortunately, the go-offline goal currently suffers > from > > several drawbacks: > > > > - Multi-Module builds are not supported since the plugin tries to > download > > Reactor-Dependencies from the Remote Repository > > - Most parameters simply do not work > > - No option to download dynamic dependencies > > > > The Go Offline Maven Plugin fixes these drawbacks. > > > > The plugin has already been deployed to maven central. Source Code and > > further information can be found on the Github Page: > > https://github.com/qaware/go-offline-maven-plugin > > > > Comments, Bug-Reports and Pull Requests welcome :) > > > > Regards, > > > > Andreas Jannig > > -- > > > -- -- Andreas Janning Softwarearchitekt QAware GmbH Aschauer Str. 32 81549 München, Germany Tel +49 89 232315-133 Mobil +49 160 1492426 Fax +49 89 6008871-29 andreas.jann...@qaware.de www.qaware.de -- Geschäftsführer: Christian Kamm, Bernd Schlüter, Johannes Weigend, Josef Adersberger Registergericht: München Handelsregisternummer: HRB 163761
Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin
How about, say, maven-compiler-plugin's annotationProcessorPaths? Le mer. 17 oct. 2018 12:29, Andreas Janning a écrit : > Hello maven users, > > I have just released a new open source maven plugin: The Go Offline Maven > Plugin. > > It can be used to download all dependencies and plugins required in a Maven > build, so the build can be run without an internet connection afterwards. > > This is especially relevant with modern CI-Systems like Gitlab and > Circle-CI that need a consistent local Maven repository in their cache to > build efficiently. > > Optionally, sources of all transitive dependencies can be downloaded as > well to have them available in your favourite IDE. > > Maven already has an official to do this: The maven-dependency-plugin > go-offline goal. Unfortunately, the go-offline goal currently suffers from > several drawbacks: > > - Multi-Module builds are not supported since the plugin tries to download > Reactor-Dependencies from the Remote Repository > - Most parameters simply do not work > - No option to download dynamic dependencies > > The Go Offline Maven Plugin fixes these drawbacks. > > The plugin has already been deployed to maven central. Source Code and > further information can be found on the Github Page: > https://github.com/qaware/go-offline-maven-plugin > > Comments, Bug-Reports and Pull Requests welcome :) > > Regards, > > Andreas Jannig > -- >
Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin
Just tested it with the example project you provided ( https://github.com/ptahchiev/MDEP-516) and it works :) One of the main goals of this project was to make go-offline work with multi-module projects Ragards, Andreas Janning Am Mi., 17. Okt. 2018 um 13:09 Uhr schrieb Petar Tahchiev < paranoia...@gmail.com>: > We have a issue with the dependencies plugin open for a long time: > > https://issues.apache.org/jira/browse/MDEP-516 > > I would be interested to test if your plugin has the same issue or actually > works :) > > > На ср, 17.10.2018 г. в 13:58 ч. Oliver B. Fischer < > o.b.fisc...@swe-blog.net> > написа: > > > Sounds great. I will test it! > > > > Am 17.10.18 um 12:28 schrieb Andreas Janning: > > > Hello maven users, > > > > > > I have just released a new open source maven plugin: The Go Offline > Maven > > > Plugin. > > > > > > It can be used to download all dependencies and plugins required in a > > Maven > > > build, so the build can be run without an internet connection > afterwards. > > > > > > This is especially relevant with modern CI-Systems like Gitlab and > > > Circle-CI that need a consistent local Maven repository in their cache > to > > > build efficiently. > > > > > > Optionally, sources of all transitive dependencies can be downloaded as > > > well to have them available in your favourite IDE. > > > > > > Maven already has an official to do this: The maven-dependency-plugin > > > go-offline goal. Unfortunately, the go-offline goal currently suffers > > from > > > several drawbacks: > > > > > > - Multi-Module builds are not supported since the plugin tries to > > download > > > Reactor-Dependencies from the Remote Repository > > > - Most parameters simply do not work > > > - No option to download dynamic dependencies > > > > > > The Go Offline Maven Plugin fixes these drawbacks. > > > > > > The plugin has already been deployed to maven central. Source Code and > > > further information can be found on the Github Page: > > > https://github.com/qaware/go-offline-maven-plugin > > > > > > Comments, Bug-Reports and Pull Requests welcome :) > > > > > > Regards, > > > > > > Andreas Jannig > > > -- > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > -- > Regards, Petar! > Karlovo, Bulgaria. > --- > Public PGP Key at: > http://pgp.mit.edu:11371/pks/lookup?op=get=0x19658550C3110611 > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 > -- -- Andreas Janning Softwarearchitekt QAware GmbH Aschauer Str. 32 81549 München, Germany Tel +49 89 232315-133 Mobil +49 160 1492426 Fax +49 89 6008871-29 andreas.jann...@qaware.de www.qaware.de -- Geschäftsführer: Christian Kamm, Bernd Schlüter, Johannes Weigend, Josef Adersberger Registergericht: München Handelsregisternummer: HRB 163761
Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin
We have a issue with the dependencies plugin open for a long time: https://issues.apache.org/jira/browse/MDEP-516 I would be interested to test if your plugin has the same issue or actually works :) На ср, 17.10.2018 г. в 13:58 ч. Oliver B. Fischer написа: > Sounds great. I will test it! > > Am 17.10.18 um 12:28 schrieb Andreas Janning: > > Hello maven users, > > > > I have just released a new open source maven plugin: The Go Offline Maven > > Plugin. > > > > It can be used to download all dependencies and plugins required in a > Maven > > build, so the build can be run without an internet connection afterwards. > > > > This is especially relevant with modern CI-Systems like Gitlab and > > Circle-CI that need a consistent local Maven repository in their cache to > > build efficiently. > > > > Optionally, sources of all transitive dependencies can be downloaded as > > well to have them available in your favourite IDE. > > > > Maven already has an official to do this: The maven-dependency-plugin > > go-offline goal. Unfortunately, the go-offline goal currently suffers > from > > several drawbacks: > > > > - Multi-Module builds are not supported since the plugin tries to > download > > Reactor-Dependencies from the Remote Repository > > - Most parameters simply do not work > > - No option to download dynamic dependencies > > > > The Go Offline Maven Plugin fixes these drawbacks. > > > > The plugin has already been deployed to maven central. Source Code and > > further information can be found on the Github Page: > > https://github.com/qaware/go-offline-maven-plugin > > > > Comments, Bug-Reports and Pull Requests welcome :) > > > > Regards, > > > > Andreas Jannig > > -- > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Regards, Petar! Karlovo, Bulgaria. --- Public PGP Key at: http://pgp.mit.edu:11371/pks/lookup?op=get=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin
Sounds great. I will test it! Am 17.10.18 um 12:28 schrieb Andreas Janning: Hello maven users, I have just released a new open source maven plugin: The Go Offline Maven Plugin. It can be used to download all dependencies and plugins required in a Maven build, so the build can be run without an internet connection afterwards. This is especially relevant with modern CI-Systems like Gitlab and Circle-CI that need a consistent local Maven repository in their cache to build efficiently. Optionally, sources of all transitive dependencies can be downloaded as well to have them available in your favourite IDE. Maven already has an official to do this: The maven-dependency-plugin go-offline goal. Unfortunately, the go-offline goal currently suffers from several drawbacks: - Multi-Module builds are not supported since the plugin tries to download Reactor-Dependencies from the Remote Repository - Most parameters simply do not work - No option to download dynamic dependencies The Go Offline Maven Plugin fixes these drawbacks. The plugin has already been deployed to maven central. Source Code and further information can be found on the Github Page: https://github.com/qaware/go-offline-maven-plugin Comments, Bug-Reports and Pull Requests welcome :) Regards, Andreas Jannig -- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
New (unofficial) Maven Plugin: Go Offline Maven Plugin
Hello maven users, I have just released a new open source maven plugin: The Go Offline Maven Plugin. It can be used to download all dependencies and plugins required in a Maven build, so the build can be run without an internet connection afterwards. This is especially relevant with modern CI-Systems like Gitlab and Circle-CI that need a consistent local Maven repository in their cache to build efficiently. Optionally, sources of all transitive dependencies can be downloaded as well to have them available in your favourite IDE. Maven already has an official to do this: The maven-dependency-plugin go-offline goal. Unfortunately, the go-offline goal currently suffers from several drawbacks: - Multi-Module builds are not supported since the plugin tries to download Reactor-Dependencies from the Remote Repository - Most parameters simply do not work - No option to download dynamic dependencies The Go Offline Maven Plugin fixes these drawbacks. The plugin has already been deployed to maven central. Source Code and further information can be found on the Github Page: https://github.com/qaware/go-offline-maven-plugin Comments, Bug-Reports and Pull Requests welcome :) Regards, Andreas Jannig --
New to Maven Question
Hello all, I am a new user to Maven and was given the task at my work to come up with a utility in order to output the build order of our products based on the poms. It made sense to me that I would want to do basically the same thing that the Reactor does except output the tree rather than do an actual build so I downloaded the code for Maven and found the class files ProjectSorter.java and ProjectSorterTest.java as a beginning point. What I think I need to do here is modify the reactor code to actually output rather execute a build. Is there another way to do this very thing? If not, am I on the right track? Thanks! John Dix Programming Sr. SME, Digital Commerce Amdocs Digital Services Division o: 206-288-0334 m: 425.351.7340 AMDOCS | EMBRACE CHALLENGE EXPERIENCE SUCCESS Did you know...? Amdocs Mobile Payments enables operators to manage any number of app stores, merchants and aggregators and generate revenues from digital content and mobile commerce Follow Amdocs on Facebookhttp://www.facebook.com/amdocsinc/, Twitterhttp://twitter.com/AmdocsInc, LinkedInhttp://www.linkedin.com/company/amdocs, YouTubehttp://www.youtube.com/amdocsinc and Google+https://plus.google.com/105657940751678445194 - and read the latest on the Amdocs blog networkhttp://blogs.amdocs.com/. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
Re: New to Maven Question
On 7/24/2013 9:53 AM, John Dix wrote: Hello all, I am a new user to Maven and was given the task at my work to come up with a utility in order to output the build order of our products based on the poms. It made sense to me that I would want to do basically the same thing that the Reactor does except output the tree rather than do an actual build so I downloaded the code for Maven and found the class files ProjectSorter.java and ProjectSorterTest.java as a beginning point. What I think I need to do here is modify the reactor code to actually output rather execute a build. Is there another way to do this very thing? If not, am I on the right track? Thanks! John Dix Programming Sr. SME, Digital Commerce Amdocs Digital Services Division o: 206-288-0334 m: 425.351.7340 AMDOCS | EMBRACE CHALLENGE EXPERIENCE SUCCESS Did you know...? Amdocs Mobile Payments enables operators to manage any number of app stores, merchants and aggregators and generate revenues from digital content and mobile commerce Follow Amdocs on Facebookhttp://www.facebook.com/amdocsinc/, Twitterhttp://twitter.com/AmdocsInc, LinkedInhttp://www.linkedin.com/company/amdocs, YouTubehttp://www.youtube.com/amdocsinc and Google+https://plus.google.com/105657940751678445194 - and read the latest on the Amdocs blog networkhttp://blogs.amdocs.com/. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp I'm also a new Maven user. How about: mvn dependency:tree http://maven.apache.org/plugins/maven-dependency-plugin/usage.html . . . . just my two cents. /mde/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven Question
Hi John, output the build order of our products based on the poms Is it enough to simply run mvn validate and parse the output? That will show you the build order of your multi-module reactor. If you have multiple projects in multiple reactors, you could create a toplevel pom.xml joining them all into a single reactor, then run mvn validate to get the build order. That assumes that all the POMs have matching versions across the projects though, of course. Regards, Curtis On Wed, Jul 24, 2013 at 11:53 AM, John Dix john@amdocs.com wrote: Hello all, I am a new user to Maven and was given the task at my work to come up with a utility in order to output the build order of our products based on the poms. It made sense to me that I would want to do basically the same thing that the Reactor does except output the tree rather than do an actual build so I downloaded the code for Maven and found the class files ProjectSorter.java and ProjectSorterTest.java as a beginning point. What I think I need to do here is modify the reactor code to actually output rather execute a build. Is there another way to do this very thing? If not, am I on the right track? Thanks! John Dix Programming Sr. SME, Digital Commerce Amdocs Digital Services Division o: 206-288-0334 m: 425.351.7340 AMDOCS | EMBRACE CHALLENGE EXPERIENCE SUCCESS Did you know...? Amdocs Mobile Payments enables operators to manage any number of app stores, merchants and aggregators and generate revenues from digital content and mobile commerce Follow Amdocs on Facebookhttp://www.facebook.com/amdocsinc/, Twitter http://twitter.com/AmdocsInc, LinkedIn http://www.linkedin.com/company/amdocs, YouTube http://www.youtube.com/amdocsinc and Google+ https://plus.google.com/105657940751678445194 - and read the latest on the Amdocs blog networkhttp://blogs.amdocs.com/. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
RE: New to Maven Question
Thanks Curtis. I'll take a look at the validate cmd. -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Wednesday, July 24, 2013 10:15 AM To: Maven Users List Subject: Re: New to Maven Question Hi John, output the build order of our products based on the poms Is it enough to simply run mvn validate and parse the output? That will show you the build order of your multi-module reactor. If you have multiple projects in multiple reactors, you could create a toplevel pom.xml joining them all into a single reactor, then run mvn validate to get the build order. That assumes that all the POMs have matching versions across the projects though, of course. Regards, Curtis On Wed, Jul 24, 2013 at 11:53 AM, John Dix john@amdocs.com wrote: Hello all, I am a new user to Maven and was given the task at my work to come up with a utility in order to output the build order of our products based on the poms. It made sense to me that I would want to do basically the same thing that the Reactor does except output the tree rather than do an actual build so I downloaded the code for Maven and found the class files ProjectSorter.java and ProjectSorterTest.java as a beginning point. What I think I need to do here is modify the reactor code to actually output rather execute a build. Is there another way to do this very thing? If not, am I on the right track? Thanks! John Dix Programming Sr. SME, Digital Commerce Amdocs Digital Services Division o: 206-288-0334 m: 425.351.7340 AMDOCS | EMBRACE CHALLENGE EXPERIENCE SUCCESS Did you know...? Amdocs Mobile Payments enables operators to manage any number of app stores, merchants and aggregators and generate revenues from digital content and mobile commerce Follow Amdocs on Facebookhttp://www.facebook.com/amdocsinc/, Twitter http://twitter.com/AmdocsInc, LinkedIn http://www.linkedin.com/company/amdocs, YouTube http://www.youtube.com/amdocsinc and Google+ https://plus.google.com/105657940751678445194 - and read the latest on the Amdocs blog networkhttp://blogs.amdocs.com/. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven Question
This may be too simplistic but can't you just run the build and parse the log output? Ron On 24/07/2013 1:05 PM, Mark Eggers wrote: On 7/24/2013 9:53 AM, John Dix wrote: Hello all, I am a new user to Maven and was given the task at my work to come up with a utility in order to output the build order of our products based on the poms. It made sense to me that I would want to do basically the same thing that the Reactor does except output the tree rather than do an actual build so I downloaded the code for Maven and found the class files ProjectSorter.java and ProjectSorterTest.java as a beginning point. What I think I need to do here is modify the reactor code to actually output rather execute a build. Is there another way to do this very thing? If not, am I on the right track? Thanks! John Dix Programming Sr. SME, Digital Commerce Amdocs Digital Services Division o: 206-288-0334 m: 425.351.7340 AMDOCS | EMBRACE CHALLENGE EXPERIENCE SUCCESS Did you know...? Amdocs Mobile Payments enables operators to manage any number of app stores, merchants and aggregators and generate revenues from digital content and mobile commerce Follow Amdocs on Facebookhttp://www.facebook.com/amdocsinc/, Twitterhttp://twitter.com/AmdocsInc, LinkedInhttp://www.linkedin.com/company/amdocs, YouTubehttp://www.youtube.com/amdocsinc and Google+https://plus.google.com/105657940751678445194 - and read the latest on the Amdocs blog networkhttp://blogs.amdocs.com/. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp I'm also a new Maven user. How about: mvn dependency:tree http://maven.apache.org/plugins/maven-dependency-plugin/usage.html . . . . just my two cents. /mde/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] New Reflow Maven skin released
I am pleased to announce the first release of a new Maven skin: Reflow Maven skin! The new skin allows generating a Maven site that builds on Bootstrap and offers responsive design, modern web components, JavaScript goodies and wide customisation options. See it in action and read the documentation at Reflow skin website: http://andriusvelykis.github.com/reflow-maven-skin/ Reflow skin aims to modernise the Maven site by providing various components, layouts, themes and other customisation options. Some of them are listed below: - Built on Bootstrap: responsive design, modern CSS and JavaScript components; - Themes: custom Bootstrap themes or select an excellent free theme from Bootswatch; - Layouts: Write in Markdown or APT, then assign different layouts for page sections, such as carousel, thumbnails, multi-column text and more; - New or enhanced components and goodies: table of contents, filtered menus, code highlighting, image previews and more; - Flexible customisation: global or per-page configuration of every option; - Custom Velocity tools: more power to your own Maven skin templates with tools for skin configuration access and HTML rewriting; - Sorry, no sidebar navigation for now: tried going for an alternative look with top and bottom menus. ...and more! Check out the website for all details. To use it, specify the skin in your site.xml: project name=xxx ... skin groupIdlt.velykis.maven.skins/groupId artifactIdreflow-maven-skin/artifactId version1.0.0/version /skin ... /project Furthermore, the skin requires accompanying Reflow Velocity tools (lt.velykis.maven.skins:reflow-velocity-tools:1.0.0) as a dependency as well as Apache Velocity 1.7. Add them as dependencies to maven-site-plugin. For more info on usage, refer to the website: http://andriusvelykis.github.com/reflow-maven-skin/skin/#Usage The code is open source and licensed under Apache license. Source code is available on GitHub: http://github.com/andriusvelykis/reflow-maven-skin/ I welcome contributions, issues and feature requests - use the GitHub repo for that. Hope the skin is useful! Enjoy, ~Andrius http://andrius.velykis.lt P.S. This project is not part of Apache, but I hope maven-users will benefit from the announcement. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Hi, 2012/12/12 Jeff Care car...@gmail.com: Is there any documentation about what's new in maven-compiler-plugin 3.0 over the 2.5.1 version? I scoured the project site found nothing; various Google searches have also found nothing. After switching to maven-compiler-plugin 3.0 I'm seeing compilation problems that do not show up when using the 2.5.1 version, nor do they show up in Eclipse. I missed something in release notes. See coming new version doc: http://maven.apache.org/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/ Since 3.0, the default compiler is javax.tools.JavaCompiler (if you are using java 1.6) and is used to compile Java sources. If you want to force the plugin using javac, you must configure the plugin option forceJavacCompilerUse. This can definitely show more warning than the previous versions of plexus compiler could missed. If you don't want that add configuration field on compiler plugin: forceJavacCompilerUsetrue/forceJavacCompilerUse or -Dmaven.compiler.forceJavacCompilerUse=true -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Wayne Fay wrote Can you be more specific (with error messages etc), or perhaps even create a little sample Maven project to share that demonstrates the issues you're seeing? Eclipse has its own compiler so it is not necessarily true that no failures in Eclipse means no failures when compiling with Oracle's JDK. These were errors, not warnings. I've since switched back to 2.5.1 so I don't have the exact messages but the one I specifically remember was a purported syntax error (class, interface or enum expected) on the same line (or one previous to) as the location of the package declaration. As I mentioned, the same file compiles fine after switching back to 2.5.1 also compiles fine in Eclipse. I attempted to put together a small test case but I wasn't able to replicate the problem. This build is very large (~150 modules) we are using multithreading; my supposition is that there's some combination of things that is messing up the compiler. I will be experimenting with single threading on 3.0 to see if I can replicate the problem that way on the real build. -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738296.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
olamy wrote Since 3.0, the default compiler is javax.tools.JavaCompiler (if you are using java 1.6) and is used to compile Java sources. If you want to force the plugin using javac, you must configure the plugin option forceJavacCompilerUse. This can definitely show more warning than the previous versions of plexus compiler could missed. If you don't want that add configuration field on compiler plugin: forceJavacCompilerUsetrue /forceJavacCompilerUse or -Dmaven.compiler.forceJavacCompilerUse=true Hmm, this is interesting. I will have to try this report back. -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738297.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Anders Hammar wrote Do you mean compilation errors or warnings? There's some major changes in the the underlying plexus-compiler that will provide compilation info in a better way. So although you didn't see this in earlier version you might still have had the problems. They were errors in that they caused Maven to stop. In my test I had not changed any compiler plugin configuration settings, just the version. The specific error that I remember was about a syntax error (class, interface or enum expected) in a Java file that is syntactically correct. -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738298.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
The specific error that I remember was about a syntax error (class, interface or enum expected) in a Java file that is syntactically correct. OK, looks like a bug. Would be very good if you could reproduce this so it could get fixed. /Anders -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738298.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
These were errors, not warnings. I've since switched back to 2.5.1 so I don't have the exact messages but the one I specifically remember was a purported syntax error (class, interface or enum expected) on the same line (or one previous to) as the location of the package declaration. As I mentioned, the same file compiles fine after switching back to 2.5.1 also compiles fine in Eclipse. Would be great if you could switch back to 3.0 and try again, then report back with the error details (ideally with a small sample) so it can be looked into and resolved if it is a problem/bug. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Anders Hammar wrote OK, looks like a bug. Would be very good if you could reproduce this so it could get fixed. I was able to confirm a few things: 1) Multi-threaded (-T 2C) builds with compiler plugin 3.0 consistently fail when *forceJavacCompilerUse* is false. 2) Single-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is false. 3) Multi-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is true. I wish I could put together a simple test case to demonstrate the issue but unfortunately I can't share the code where I am seeing the problem. Hopefully the above will yield some clues. Other potentially pertinent info: * java -version* java version 1.6.0 Java(TM) SE Runtime Environment (build pxa6460sr10-20111208_01(SR10)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10-20111207_96808 (JIT enabled, AOT enabled) J9VM - 20111207_096808 JIT - r9_2007_21307ifx1 GC - 20110519_AA) JCL - 2004_02 * uname -a* Linux REDACTED 2.6.32-220.7.1.el6.x86_64 #1 SMP Fri Feb 10 15:22:22 EST 2012 x86_64 x86_64 x86_64 GNU/Linux * cat /proc/cpuinfo | grep processor | wc -l* 24 -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738310.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Wayne Fay wrote Would be great if you could switch back to 3.0 and try again, then report back with the error details (ideally with a small sample) so it can be looked into and resolved if it is a problem/bug. Just responded to Anders with details of additional testing. Bottom line, 3.0 works for me single-threaded, or multithreaded when *forceJavacCompilerUse* is true, but fails otherwise. Unfortunately my small sample wasn't able to reproduce the problem. My hunch is that our combination of a large project (~150 modules) multi-threading (-T 2C on a 24-way box) is exposing a problem that a small sample wouldn't expose. -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738311.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
2012/12/14 Jeff Care ca...@us.ibm.com: Anders Hammar wrote OK, looks like a bug. Would be very good if you could reproduce this so it could get fixed. I was able to confirm a few things: 1) Multi-threaded (-T 2C) builds with compiler plugin 3.0 consistently fail when *forceJavacCompilerUse* is false. What you can do is to use compilerReuseStrategy parameter see http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerReuseStrategy maybe in your case alwaysNew can help. The compiler is very platform dependent (I have tested some but not this one :-) ) 2) Single-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is false. 3) Multi-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is true. I wish I could put together a simple test case to demonstrate the issue but unfortunately I can't share the code where I am seeing the problem. Hopefully the above will yield some clues. Other potentially pertinent info: * java -version* java version 1.6.0 Java(TM) SE Runtime Environment (build pxa6460sr10-20111208_01(SR10)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10-20111207_96808 (JIT enabled, AOT enabled) J9VM - 20111207_096808 JIT - r9_2007_21307ifx1 GC - 20110519_AA) JCL - 2004_02 * uname -a* Linux REDACTED 2.6.32-220.7.1.el6.x86_64 #1 SMP Fri Feb 10 15:22:22 EST 2012 x86_64 x86_64 x86_64 GNU/Linux * cat /proc/cpuinfo | grep processor | wc -l* 24 -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738310.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
Could I please ask you to file a ticket with this info, so we have it on the board. Thanks, /Anders On Fri, Dec 14, 2012 at 11:16 PM, Jeff Care ca...@us.ibm.com wrote: Anders Hammar wrote OK, looks like a bug. Would be very good if you could reproduce this so it could get fixed. I was able to confirm a few things: 1) Multi-threaded (-T 2C) builds with compiler plugin 3.0 consistently fail when *forceJavacCompilerUse* is false. 2) Single-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is false. 3) Multi-threaded builds with compiler plugin 3.0 work fine when *forceJavacCompilerUse* is true. I wish I could put together a simple test case to demonstrate the issue but unfortunately I can't share the code where I am seeing the problem. Hopefully the above will yield some clues. Other potentially pertinent info: * java -version* java version 1.6.0 Java(TM) SE Runtime Environment (build pxa6460sr10-20111208_01(SR10)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10-20111207_96808 (JIT enabled, AOT enabled) J9VM - 20111207_096808 JIT - r9_2007_21307ifx1 GC - 20110519_AA) JCL - 2004_02 * uname -a* Linux REDACTED 2.6.32-220.7.1.el6.x86_64 #1 SMP Fri Feb 10 15:22:22 EST 2012 x86_64 x86_64 x86_64 GNU/Linux * cat /proc/cpuinfo | grep processor | wc -l* 24 -- View this message in context: http://maven.40175.n5.nabble.com/What-s-new-in-maven-compiler-plugin-3-0-tp5738129p5738310.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
What's new in maven-compiler-plugin 3.0?
Is there any documentation about what's new in maven-compiler-plugin 3.0 over the 2.5.1 version? I scoured the project site found nothing; various Google searches have also found nothing. After switching to maven-compiler-plugin 3.0 I'm seeing compilation problems that do not show up when using the 2.5.1 version, nor do they show up in Eclipse.
Re: What's new in maven-compiler-plugin 3.0?
Is there any documentation about what's new in maven-compiler-plugin 3.0 over the 2.5.1 version? I scoured the project site found nothing; various Google searches have also found nothing. -- Forwarded message -- From: Olivier Lamy ol...@apache.org Date: Mon, Nov 19, 2012 at 2:29 AM Subject: [ANN] Maven Compiler Plugin 3.0 Released To: annou...@maven.apache.org, Maven Users List users@maven.apache.org Cc: Maven Developers List d...@maven.apache.org The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 3.0 ...snip... Release Notes - Maven 2.x Compiler Plugin - Version 3.0 ** Bug * [MCOMPILER-160] - javac error but build SUCCESS * [MCOMPILER-173] - use new maven plugin annotations * [MCOMPILER-179] - Warnings * [MCOMPILER-181] - Exception on compilation are not properly reported * [MCOMPILER-182] - Case sensitivity changes in class names not detected by compiler * [MCOMPILER-184] - use last plexus-compiler 2.0 api * [MCOMPILER-186] - mojos are in wrong package (org.apache.maven.plugin) ** Task * [MCOMPILER-171] - use maven-plugin-tools' java 5 annotations After switching to maven-compiler-plugin 3.0 I'm seeing compilation problems that do not show up when using the 2.5.1 version, nor do they show up in Eclipse. Can you be more specific (with error messages etc), or perhaps even create a little sample Maven project to share that demonstrates the issues you're seeing? Eclipse has its own compiler so it is not necessarily true that no failures in Eclipse means no failures when compiling with Oracle's JDK. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What's new in maven-compiler-plugin 3.0?
After switching to maven-compiler-plugin 3.0 I'm seeing compilation problems that do not show up when using the 2.5.1 version, nor do they show up in Eclipse. Do you mean compilation errors or warnings? There's some major changes in the the underlying plexus-compiler that will provide compilation info in a better way. So although you didn't see this in earlier version you might still have had the problems. /Anders
New to Maven
Hi , I am new to Maven . I have an existing eclipse project which is dependent on a lot of libraries . I would like to use maven to download this for me [ using local repository ]. i would like to know how to write a pom.xml for that. Any working example will be of great help. -- Niyas -- View this message in context: http://maven.40175.n5.nabble.com/New-to-Maven-tp4890634p4890634.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven
On Tue, Oct 11, 2011 at 2:51 PM, niyasmansoor niyas.mans...@gmail.com wrote: Hi , I am new to Maven . I have an existing eclipse project which is dependent on a lot of libraries . I would like to use maven to download this for me [ using local repository ]. i would like to know how to write a pom.xml for that. Any working example will be of great help. There are millions of examples, maven itself being a great one. Have you done any reading? Being new to Maven you have tried to educate yourself first right? There are plenty of good (and free) books available to start yourself on the journey at http://maven.apache.org/articles.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven
Hi Barrie, Many thanks for your prompt response . I have a project handover with source code . This eclipse project is having dependency and is using maven repository concept . I do not have much time to go through extensively , that was the reason why i asked for a quick solution. -- Regards, Niyas -- View this message in context: http://maven.40175.n5.nabble.com/New-to-Maven-tp4890634p4890678.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven
Niyas, There's really no effective way to use email for a precise solution to your problem. The only way to solve a problem is to know what the problem is in the first place, and if it had already been solved, you could just copy it. But the fact is, the problems are never the same (so there is no answer we can point you toward), and it turns out it really is faster to read a little or hire someone that knows it to come in than to ask one question after another over email for days on end. It will take you forever! http://catb.org/~esr/faqs/smart-questions.html might be a better resource to start with though. You must understand that everyone on the internet wants to go home and do other things just as much as you do. Your respect for their time and presenting concise, interesting, and localized problems that demonstrate gaps in the documentation will get you answers far more quickly. In other words, as the FAQ says: The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, Good question! is a strong and sincere compliment. Please think about others first, whether you would ask the same question of someone who worked with you in your office, do some reading, and ask smart questions! Cheers, Brian On Oct 11, 2011, at 12:58 AM, niyasmansoor wrote: Hi Barrie, Many thanks for your prompt response . I have a project handover with source code . This eclipse project is having dependency and is using maven repository concept . I do not have much time to go through maven extensively , that was the reason why i asked for a quick solution. -- Regards, Niyas -- View this message in context: http://maven.40175.n5.nabble.com/New-to-Maven-tp4890634p4890682.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Brand new to Maven, first build, didn't go well.
Hi all, I'm a QA tester who is researching functional testing tools for an upcoming Agile project. One of the projects I want to build requires Maven. I have some intermittent experience building from source. I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go. I downloaded Maven 3.0.2 and tried to do a build. Here are the errors I got: Any help, advice, will be appreciated. Thanks. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.concordion:concordion-extensions-demo-selenium2:jar:1.0.1.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 130, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure fire-plugin is missing. @ line 138, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building concordion-extensions-demo-selenium2 1.0.1.1 [INFO] Downloading: http://repo1.maven.org/maven2/org/codehaus/gmaven/gmaven-plugin/1.3 /gmaven-plugin-1.3.pom [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5.488s [INFO] Finished at: Thu Feb 03 09:56:56 EST 2011 [INFO] Final Memory: 1M/15M [INFO] [ERROR] Plugin org.codehaus.gmaven:gmaven-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.gmave n:gmaven-plugin:jar:1.3: Could not transfer artifact org.codehaus.gmaven:gmaven- plugin:pom:1.3 from/to central (http://repo1.maven.org/maven2): Error transferri ng file: repo1.maven.org: Unknown host repo1.maven.org - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException
Re: Brand new to Maven, first build, didn't go well.
On Thu, Feb 3, 2011 at 10:28 AM, Amy o627m...@yahoo.com wrote: I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go. Here is some information about configuring Maven to go through your http proxy: http://maven.apache.org/guides/mini/guide-proxies.html Are the developers in your organization already using Maven? If so, they should have an internal Maven repository that you can build against -- ask them for advice on what to put in your settings.xml file. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
AW: Brand new to Maven, first build, didn't go well.
And you need -Dhttp.auth.preference=Basic in case your firewall is from MS and knows NTLM and Basic authentication schemas; It would be so nice from maven if maven's settings.xml could express this as well ! all in one place :-) Got old unless I got that far and from OpenVMS through the firewall. Not required from a PC wich does NTLM by default. Josef -Ursprüngliche Nachricht- Von: Wendy Smoak [mailto:wsm...@gmail.com] Gesendet: Donnerstag, 3. Februar 2011 16:34 An: Maven Users List; Amy Betreff: Re: Brand new to Maven, first build, didn't go well. On Thu, Feb 3, 2011 at 10:28 AM, Amy o627m...@yahoo.com wrote: I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go. Here is some information about configuring Maven to go through your http proxy: http://maven.apache.org/guides/mini/guide-proxies.html Are the developers in your organization already using Maven? If so, they should have an internal Maven repository that you can build against -- ask them for advice on what to put in your settings.xml file. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
pom.xml clarification; new to Maven
Hello, As stated I'm new to Maven and have been reading a getting started guide. I'm trying to learn Maven because I want to use i-Jetty (for Android webapps). At first I had no idea what the provided pom.xml file meant but I think I understand it so if I'm not correct then please correct me. I'm going to post a snippet to make sure I understand what is going on. The artifacts are like jars posted to a central repository such as the exec-maven-plugin used in the snippet below. What I don't understand is the variables they used below under the configuration tag: ${android.home}. Where would these variables be defined? For now I'm following the simple webapp for Android so no libraries for Android are called but if I used any I would have a dependency with and artifactId for Android, correct? SNIPPET --- plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.1/version executions !-- Convert the compiled classes into a clases.dex. -- execution idgenerate-dex/id phaseprocess-classes/phase goals goalexec/goal /goals configuration executable${android.home}/${android-platform}/tools/dx/executable arguments !--argument-JXmx1024M/argument-- argument--dex/argument argument--verbose/argument argument--core-library/argument argument--output=${project.build.directory}/classes.dex/argument argument--positions=lines/argument argument${project.build.directory}/classes//argument /arguments /configuration /execution /executions /plugin I will be importing the project into Eclipse which gives errors for some unresolved calls, but they will be resolved when I compile with mvn? Thanks, I will surely be asking more Chris -- View this message in context: http://old.nabble.com/pom.xml-clarification--new-to-Maven-tp28823522p28823522.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: pom.xml clarification; new to Maven
I'm trying to learn Maven because I want to use i-Jetty (for Android webapps). At first I had no idea what the provided pom.xml file meant but I Please join the Maven Android Developers Google Group for these discussions: To post to this group, send email to maven-android-develop...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/maven-android-developers?hl=en Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
New to maven and loving it :) Need a little help please...
Hello, google has helped me fantastically up to now and I am in a little need of further info. I am in the process of changing my development environment (JEE5 + JEE6) and have started to utilise Maven. I am looking for a xml pom snippet that can help me deploy directly to Jboss6 or glassfish v3 when building my pom. If no solution exists, I am open to trying geronimo in the hope of better integration with maven.
Re: New to maven and loving it :) Need a little help please...
Try the cargo plugin or the jboss specific one: http://cargo.codehaus.org/Maven2+plugin http://mojo.codehaus.org/jboss-maven-plugin/ /Anders On Fri, Mar 12, 2010 at 14:06, Yucca Nel yucca...@live.co.za wrote: Hello, google has helped me fantastically up to now and I am in a little need of further info. I am in the process of changing my development environment (JEE5 + JEE6) and have started to utilise Maven. I am looking for a xml pom snippet that can help me deploy directly to Jboss6 or glassfish v3 when building my pom. If no solution exists, I am open to trying geronimo in the hope of better integration with maven.
[archetype] Creating a new archetype Maven
Hello, I want to write a new archetype Maven. But I have a problem. Here is my top pom: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion !--parent groupIdcosmos.cosmos-mavenarchetype/groupId artifactIdparent/artifactId version0.1.7-SNAPSHOT/version /parent-- groupIdcosmos.cosmos-mavenarchetype/groupId artifactIdjulia/artifactId version0.1.7-SNAPSHOT/version packagingjar/packaging nameCOSMOS Maven Archetype - julia/name /project In fact, with this pom, it works well. But you can see that I commented on the parent. In my archetype, I want to use parent. When I use parent, I received one error as the following: [ERROR] BUILD ERROR [INFO] [INFO] Error assembling JAR Embedded error: Problem creating jar: /home/kinh/workspace/cosmos/trunk/cosmos/mavenarchetype/julia/target/classes (Is a directory) Could anyone give me suggestions to solve my problem? Thanks in advance! Kinh - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [archetype] Creating a new archetype Maven
Hello, In fact, I see that if I replace this parent by : parent artifactIdmaven-archetype-bundles/artifactId groupIdorg.apache.maven.archetypes/groupId version3/version /parent it works. Could anyone explain it? NGUYEN Cong Kinh a écrit : Hello, I want to write a new archetype Maven. But I have a problem. Here is my top pom: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion !--parent groupIdcosmos.cosmos-mavenarchetype/groupId artifactIdparent/artifactId version0.1.7-SNAPSHOT/version /parent-- groupIdcosmos.cosmos-mavenarchetype/groupId artifactIdjulia/artifactId version0.1.7-SNAPSHOT/version packagingjar/packaging nameCOSMOS Maven Archetype - julia/name /project In fact, with this pom, it works well. But you can see that I commented on the parent. In my archetype, I want to use parent. When I use parent, I received one error as the following: [ERROR] BUILD ERROR [INFO] [INFO] Error assembling JAR Embedded error: Problem creating jar: /home/kinh/workspace/cosmos/trunk/cosmos/mavenarchetype/julia/target/classes (Is a directory) Could anyone give me suggestions to solve my problem? Thanks in advance! Kinh - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: New to Maven - need help
I went through the book,i donot find any information regarding adding our own dependencies in maven. I read a article as : dependency groupIdquartz/groupId artifactIdquartz/artifactId version1.5.1/version scopecompile/scope /dependency Maven downloads and use Quartz as a dependency for our project.So whatever dependency we need,maven will download right?but i have some predefined dependency for my project which doesnot exist in maven.Please let me know how should i load my own dependency into maven and call it using dependency tag. Jan K wrote: Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20027612.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]
Re: New to Maven - need help
Jan, I would first suggest you search the main repository to make sure that the dependency you're looking for is truly not already in there. Here is the site to search: http://www.mvnrepository.com/ If you can't find what you're looking for there, then you can always add dependencies to your local repository using the install command. It goes something like this: mvn install:install-file -DgroupId=grouIp -DartifactId=artifactId -Dversion=version -Dpackaging=jar -Dfile=/path/to/file If you need to share that dependency among a team of developers, then I would suggest looking at Artifactory to set up your own site-wide repository. It will also cache dependencies pulled from the main repository and save you a little bit of network bandwidth: http://www.jfrog.org/sites/artifactory/1.2/ Dave Jan K wrote: I went through the book,i donot find any information regarding adding our own dependencies in maven. I read a article as : dependency groupIdquartz/groupId artifactIdquartz/artifactId version1.5.1/version scopecompile/scope /dependency Maven downloads and use Quartz as a dependency for our project.So whatever dependency we need,maven will download right?but i have some predefined dependency for my project which doesnot exist in maven.Please let me know how should i load my own dependency into maven and call it using dependency tag. Jan K wrote: Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - 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]
Re: New to Maven - need help
I will explain in detail what i have in my hand. I created a project.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave files(with the folder structure such as client ,servlet etc) i have in my project and placed it there.Now in src/main/java,i have nearly 6 folders have java files.I have run it using ant.Now i asked to do the same in Maven.In ant,i have dependency written for each a every thing required and finally will call the dependency in build.xml. How should i do this using maven?Also i read in a article as : maven will download the the dependency required for our project.How can i add my own dependencies in maven?please help. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20027789.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]
Re: New to Maven - need help
You're rushing too fast. Seriously, Try walking through the sonatype book or one of the other maven tutorials. It will not take as long as you think. You will end up understanding what you are doing and get where you are going faster than playing table tennis with the mailing list -Stephen 2008/10/17 Jan K [EMAIL PROTECTED] I will explain in detail what i have in my hand. I created a project.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave files(with the folder structure such as client ,servlet etc) i have in my project and placed it there.Now in src/main/java,i have nearly 6 folders have java files.I have run it using ant.Now i asked to do the same in Maven.In ant,i have dependency written for each a every thing required and finally will call the dependency in build.xml. How should i do this using maven?Also i read in a article as : maven will download the the dependency required for our project.How can i add my own dependencies in maven?please help. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20027789.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]
Re: New to Maven - need help
Hi dchicks, I will explain in detail what i have in my hand. I created a project in maven.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave files(with the folder structure such as client ,servlet etc) i have in my project and placed it there.Now in src/main/java,i have nearly 6 folders having java files.I have run it using ant.Now i asked to do the same in Maven.In ant,i have dependency written for each a every thing required in a xml file and finally will call all the xml files in build.xml. How should i do this using maven?Also i read in a article as : maven will download the the dependency required for our project.How can i add my own dependencies in maven?please help. dchicks wrote: Jan, I would first suggest you search the main repository to make sure that the dependency you're looking for is truly not already in there. Here is the site to search: http://www.mvnrepository.com/ If you can't find what you're looking for there, then you can always add dependencies to your local repository using the install command. It goes something like this: mvn install:install-file -DgroupId=grouIp -DartifactId=artifactId -Dversion=version -Dpackaging=jar -Dfile=/path/to/file If you need to share that dependency among a team of developers, then I would suggest looking at Artifactory to set up your own site-wide repository. It will also cache dependencies pulled from the main repository and save you a little bit of network bandwidth: http://www.jfrog.org/sites/artifactory/1.2/ Dave Jan K wrote: I went through the book,i donot find any information regarding adding our own dependencies in maven. I read a article as : dependency groupIdquartz/groupId artifactIdquartz/artifactId version1.5.1/version scopecompile/scope /dependency Maven downloads and use Quartz as a dependency for our project.So whatever dependency we need,maven will download right?but i have some predefined dependency for my project which doesnot exist in maven.Please let me know how should i load my own dependency into maven and call it using dependency tag. Jan K wrote: Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: New to Maven - need help
See Stephen's comment from a previous email. You're getting *way* ahead of yourself. You've got some very basic problems that are going to get in your way long before dependencies are an issue. Either get yourself a copy of Maven: The Definitive Guide or use the online copy - http://www.sonatype.com/community/definitive_guide.html. And, as Stephen pointed out, go slow! It will help you learn if you don't try to do too much all at one time. Good luck! Jan K wrote: Hi dchicks, I will explain in detail what i have in my hand. I created a project in maven.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave files(with the folder structure such as client ,servlet etc) i have in my project and placed it there.Now in src/main/java,i have nearly 6 folders having java files.I have run it using ant.Now i asked to do the same in Maven.In ant,i have dependency written for each a every thing required in a xml file and finally will call all the xml files in build.xml. How should i do this using maven?Also i read in a article as : maven will download the the dependency required for our project.How can i add my own dependencies in maven?please help. dchicks wrote: Jan, I would first suggest you search the main repository to make sure that the dependency you're looking for is truly not already in there. Here is the site to search: http://www.mvnrepository.com/ If you can't find what you're looking for there, then you can always add dependencies to your local repository using the install command. It goes something like this: mvn install:install-file -DgroupId=grouIp -DartifactId=artifactId -Dversion=version -Dpackaging=jar -Dfile=/path/to/file If you need to share that dependency among a team of developers, then I would suggest looking at Artifactory to set up your own site-wide repository. It will also cache dependencies pulled from the main repository and save you a little bit of network bandwidth: http://www.jfrog.org/sites/artifactory/1.2/ Dave Jan K wrote: I went through the book,i donot find any information regarding adding our own dependencies in maven. I read a article as : dependency groupIdquartz/groupId artifactIdquartz/artifactId version1.5.1/version scopecompile/scope /dependency Maven downloads and use Quartz as a dependency for our project.So whatever dependency we need,maven will download right?but i have some predefined dependency for my project which doesnot exist in maven.Please let me know how should i load my own dependency into maven and call it using dependency tag. Jan K wrote: Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed
Re: New to Maven - need help
I able to build the project successfully.I get a target folder created.But i donot find any class files created for the project.Here is my sample pom.xml file: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcareertales.net/groupId artifactIdcareertales/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameCT/name urlhttp://localhost:8080/ct2/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project Please correct me.Please let me know what i am missing. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20008277.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]
Re: New to Maven - need help
Based on the information you are providing, it is nearly impossible to tell you what's going on/wrong/missing/etc in your specific project. Are your Java source files in src/main/java? When you run mvn compile, what happens? Does it say BUILD SUCCESSFUL near the bottom of the output? When you look in the target directory, what kinds of files (if any) do you find? You may need to go into target/classes to see your Java class files. The free e-books linked to by Arnaud are basically considered mandatory reading for people posting on this list. If you have not read them yet, you should go do it now. Wayne On Thu, Oct 16, 2008 at 12:06 AM, Jan K [EMAIL PROTECTED] wrote: I able to build the project successfully.I get a target folder created.But i donot find any class files created for the project.Here is my sample pom.xml file: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcareertales.net/groupId artifactIdcareertales/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameCT/name urlhttp://localhost:8080/ct2/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project Please correct me.Please let me know what i am missing. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20008277.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven - need help
Hi Wayne, Sorry to miss this information.I have a folder called classes in the target folder.It has the entire java files used in my project.I should instead have class files right?Please let me know. Wayne Fay wrote: Based on the information you are providing, it is nearly impossible to tell you what's going on/wrong/missing/etc in your specific project. Are your Java source files in src/main/java? When you run mvn compile, what happens? Does it say BUILD SUCCESSFUL near the bottom of the output? When you look in the target directory, what kinds of files (if any) do you find? You may need to go into target/classes to see your Java class files. The free e-books linked to by Arnaud are basically considered mandatory reading for people posting on this list. If you have not read them yet, you should go do it now. Wayne On Thu, Oct 16, 2008 at 12:06 AM, Jan K [EMAIL PROTECTED] wrote: I able to build the project successfully.I get a target folder created.But i donot find any class files created for the project.Here is my sample pom.xml file: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcareertales.net/groupId artifactIdcareertales/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameCT/name urlhttp://localhost:8080/ct2/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project Please correct me.Please let me know what i am missing. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20008277.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20010431.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]
Re: New to Maven - need help
First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20011195.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]
Re: New to Maven - need help
Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven - need help
Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20013278.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]
Re: New to Maven - need help
I went through the site given by arnaud.It is really useful for as i am new maven. It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help Wayne Fay wrote: Based on the information you are providing, it is nearly impossible to tell you what's going on/wrong/missing/etc in your specific project. Are your Java source files in src/main/java? When you run mvn compile, what happens? Does it say BUILD SUCCESSFUL near the bottom of the output? When you look in the target directory, what kinds of files (if any) do you find? You may need to go into target/classes to see your Java class files. The free e-books linked to by Arnaud are basically considered mandatory reading for people posting on this list. If you have not read them yet, you should go do it now. Wayne On Thu, Oct 16, 2008 at 12:06 AM, Jan K [EMAIL PROTECTED] wrote: I able to build the project successfully.I get a target folder created.But i donot find any class files created for the project.Here is my sample pom.xml file: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcareertales.net/groupId artifactIdcareertales/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameCT/name urlhttp://localhost:8080/ct2/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project Please correct me.Please let me know what i am missing. Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20008277.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20009878.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]
Re: New to Maven - need help
On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin signature.asc Description: This is a digitally signed message part.
Re: New to Maven - need help
the maven definitive book is very useful for the beginner of maven ,maybe you should read it through. 2008/10/16 Jan K [EMAIL PROTECTED] Is there any possiblity of adding our own dependencies in maven? Thomas Lutz wrote: Jan K schrieb: First time i created a project using mvn archetype:create -DgroupId=com.careertales -DartifactId=careertales -DarchetypeArtifactId=maven-archetype-webapp. I got a folder structure as : src/main -- resources -- webapp In resources folder,i placed a simple java file(Test.java) which just prints a string.In webapp folder,I got some default index.jsp file and a web-inf folder.Then i executed mvn install command.I got Build Successful in my console.I am able to see a target folder created.Inside this target folder i have war,classes,careertales.war folders.Then i executed mvn compile command.Inside classes folder, my point is i should see the class file of Test.But instead i can see the same Test.java file in classes folder.What is going wrong? resources is not compiled.. it's for resources. place it in src/main/java... follow the maven in 5 minutes guide from http://maven.apache.org ... start with the standard java archetype... makes it easier :-) After that i placed a java file(This file prints a string) matinh wrote: On Thursday 16 October 2008 Jan K wrote: I went through the site given by arnaud.It is really useful for as i am new maven. Through the whole book? Really? It get the following message in the console: [INFO] OldArchetype created in dir: /home/jano/CVS/margadarsi/ct3/src/careertales [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 17 seconds [INFO] Finished at: Thu Oct 16 13:44:21 GMT+05:30 2008 [INFO] Final Memory: 7M/13M The build succeeds. The question is, what did you build? Accoring to the messages above I guess you executed some mvn archetype:create command, right? This does not compile anything, it generates a new project. I have placed my java files in src/main/java.I dont get the class files generated when i compile.What is wrong in my code?please help How do you compile? As I explained earlier you should execute mvn compile to compile your classes. The result can be found in the folder target/classes. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p20013278.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]
Re: New to Maven - need help
What are the mandatory fields(tags) to be used for settings.xml? Arnaud HERITIER wrote: You'll have more information in : - http://www.sonatype.com/community/definitive_guide.html - http://www.exist.com/better-build-maven Arnaud On Tue, Oct 14, 2008 at 12:54 PM, Jan K [EMAIL PROTECTED] wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p19971205.html Sent from the Maven - Users mailing list archive at Nabble.com. -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p19988056.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]
Re: New to Maven - need help
On Wednesday 15 October 2008 Jan K wrote: What are the mandatory fields(tags) to be used for settings.xml? You don't need a settings.xml file at all. A good overview is available at http://maven.apache.org/settings.html hth, - martin signature.asc Description: This is a digitally signed message part.
Re: New to Maven - need help
You'll have more information in : - http://www.sonatype.com/community/definitive_guide.html - http://www.exist.com/better-build-maven Arnaud On Tue, Oct 14, 2008 at 12:54 PM, Jan K [EMAIL PROTECTED] wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p19971205.html Sent from the Maven - Users mailing list archive at Nabble.com. -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ...
Re: New to Maven - need help
On Tuesday 14 October 2008 Jan K wrote: I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next? Depends on what you want to do. You'll find the sources in my-app/src/main/java and the tests in my-app/src/test/java. Adapt both as you need. To compile, package and install into your local repository cd into 'my-app' and run 'mvn compile', 'mvn package' resp. 'mvn install'. As Arnaud poited out, more information can be found in the books Maven, The Definitve Guide and Better Builds with Maven. hth, - martin signature.asc Description: This is a digitally signed message part.
New to Maven - need help
I am very new to maven.I have downloaded apache-maven-2.0.9.I read the doc's and installed maven. I executed the following commands in command prompt, mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app I got a folder as my-app in my local path.I can see the pom.xml.Please help me what should i do next?How to change it the project i am willing to run? -- View this message in context: http://www.nabble.com/New-to-Maven---need-help-tp19971205p19971205.html Sent from the Maven - Users mailing list archive at Nabble.com.
very new to maven Eclipse and java
environmental.xml also. what it does?? Sorry if my questions are too imple or stupid. I wanted to learn maven by actually doing a project. thats wht i m trying to do. if anybody could help me thank you in advance. -- View this message in context: http://www.nabble.com/very-new-to-maven---Eclipse-and-java-tp16790642s177p16790642.html Sent from the Maven - Users mailing list archive at Nabble.com.
Re: very new to maven Eclipse and java
configuration source1.4/source target1.4/target debugtrue/debug /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration includes include**/*TestCase.java/include /includes skiptrue/skip /configuration /plugin /plugins /build /project Ques#6: I have seen environmental.xml also. what it does?? Sorry if my questions are too imple or stupid. I wanted to learn maven by actually doing a project. thats wht i m trying to do. if anybody could help me thank you in advance. -- View this message in context: http://www.nabble.com/very-new-to-maven---Eclipse-and-java-tp16790642s177p16790643.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]
Re: very new to maven Eclipse and java
Hi Hossain, On 20/04/2008, at 4:27 PM, hossainsaad wrote: I have wrote one test case in my new work place. now i have seen in other codes they have POM.xml. ques # 1==Could anybody tell me what exactly I have to put there to run my test. I am adding a pom.xml which i tried but did not work. let me know what i have to add. We are using Spring jdbc template. I am adding the test code and the pom.xml. I'm also relatively new to maven... but I think you'll find that you'll have better success if you do the tutorial here: http://maven.apache.org/guides/getting-started/index.html There's one bug in the tutorial under 'How do I create documentation?' you should type the following rather than what's written. mvn site:site the rough pom i have wrote is //Ques#2:what should be groupID?? if my folder name is Sadd Think of groupId like packages in java. It's up to you - but you'd normally use your reverse domain, for example. artifactIdsimple/artifactId // Ques#3what should I put here in artifactId, what does it mean Something that uniquely identifies your project/artifact (i.e., the thing you're building) from other artifacts that might live one day in a repository. dependency groupIdSadd/groupId // Ques#4 Again if my folder name is Sadd, am i doing right? Doesn't hurt. But it doesn't matter. artifactIdcom.core/artifactId // Ques#5my Sadd folder is dependant on com.core, am i doing right?? Check the pom declaration for core. They should match. artifactIds shouldn't have '.'s in them. They're usually the final part of a fully qualified id. It sounds like the group id for core should be Sadd.com i.e., artifactIdcore/artifactId groupIdSadd.com/groupId Sorry if my questions are too imple or stupid. I wanted to learn maven by actually doing a project. thats wht i m trying to do. if anybody could help me thank you in advance. I think maven is one of those things that you really need to do some reading first - before trying to piece things together like you've attempted to. See the tutorial link above... you should find after going through it bit by bit that you'll have a better idea of things. with regards, -- Lachlan Deck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
i am new to maven pls help
Hi I am new to this maven, in my project we are using tomcat 6.0 and maven 2.0.8, I written the following code. I have facing problem for start / stop the server with the pom build script, I don't this is the correct code; I followed in cargo sample code. But it is not working, 1) What maven commands I need use for starts / stop server? 2) Is this code correct or not? 3) Is there any diff code for start / stop the server? 4) How to give (tomcat\webapp folder) target folder for war? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.attainware.maven2example/groupId artifactIdmaven2example_webapp/artifactId packagingwar/packaging version1.0-SNAPSHOT/version namemaven2example_webapp Maven Webapp/name dependencies dependency groupIdorg.springframework/groupId artifactIdspring-core/artifactId version2.5/version scopeprovided/scope /dependency dependency groupIdorg.springframework/groupId artifactIdspring-webmvc/artifactId version2.5/version scopeprovided/scope /dependency dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.1/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.0/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.5/version scopeprovided/scope /dependency /dependencies build directorytarget/directory outputDirectorytarget/classes/outputDirectory finalName${project.artifactId}-${project.version}/finalName sourceDirectory${basedir}/src/main/java/sourceDirectory resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource resource targetPath com/accenture/demonstrator/multilingual /targetPath directory ${basedir}/src/main/java/com/accenture/demonstrator/multilingual /directory /resource /resources plugins plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version /plugin plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-2/version /plugin plugin artifactIdmaven-clean-plugin/artifactId version2.2/version /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.6/source target1.6/target /configuration /plugin plugin artifactIdmaven-dependency-plugin/artifactId version2.0/version /plugin plugin artifactIdmaven-deploy-plugin/artifactId version2.3/version
Re: New to Maven, and got frustrated the first time to use it...HELP...
Kevin Tse wrote: Below there are the messages I got when trying to create a Maven project. Please help, your reply will be greatly appreciated. -- D:\Workspace\MavenPrjmvn archetype:create -DgroupId=org.kevin.mavendemo -Dartif act=app [snip] [INFO] Parameter: artifactId, Value: null [snip] Embedded error: Artifact ID must be specified when creating a new project from a n archetype. Looks like maven doesn't see the artifact ID you specified. Looking at your command line, I suspect the command line option is supposed to be -DartifactId=app, double check the docs for the archetype plugin to be sure. Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature
Re: New to Maven, and got frustrated the first time to use it...HELP...
On 05/12/2007, Kevin Tse [EMAIL PROTECTED] wrote: Below there are the messages I got when trying to create a Maven project. Please help, your reply will be greatly appreciated. try -DartifactId=app rather than -Dartifact=app -- D:\Workspace\MavenPrjmvn archetype:create -DgroupId=org.kevin.mavendemo -Dartif act=app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.pr operties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime. resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo aderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource. ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org .apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V M_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob al in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [archetype:create] [INFO] Defaulting package to group ID: org.kevin.mavendemo [INFO] - --- [INFO] Using following parameters for creating Archetype: maven-archetype-quicks tart:RELEASE [INFO] - --- [INFO] Parameter: groupId, Value: org.kevin.mavendemo [INFO] Parameter: packageName, Value: org.kevin.mavendemo [INFO] Parameter: package, Value: org.kevin.mavendemo [INFO] Parameter: artifactId, Value: null [INFO] Parameter: basedir, Value: D:\Workspace\MavenPrj [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Artifact ID must be specified when creating a new project from a n archetype. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Dec 05 18:37:46 CST 2007 [INFO] Final Memory: 5M/9M [INFO] -- View this message in context: http://www.nabble.com/New-to-Maven%2C-and-got-frustrated-the-first-time-to-use-it...HELP...-tf4948806s177.html#a14169257 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cheers, Stuart
New to Maven, and got frustrated the first time to use it...HELP...
Below there are the messages I got when trying to create a Maven project. Please help, your reply will be greatly appreciated. -- D:\Workspace\MavenPrjmvn archetype:create -DgroupId=org.kevin.mavendemo -Dartif act=app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.pr operties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime. resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo aderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource. ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org .apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V M_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob al in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [archetype:create] [INFO] Defaulting package to group ID: org.kevin.mavendemo [INFO] - --- [INFO] Using following parameters for creating Archetype: maven-archetype-quicks tart:RELEASE [INFO] - --- [INFO] Parameter: groupId, Value: org.kevin.mavendemo [INFO] Parameter: packageName, Value: org.kevin.mavendemo [INFO] Parameter: package, Value: org.kevin.mavendemo [INFO] Parameter: artifactId, Value: null [INFO] Parameter: basedir, Value: D:\Workspace\MavenPrj [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Artifact ID must be specified when creating a new project from a n archetype. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Dec 05 18:37:46 CST 2007 [INFO] Final Memory: 5M/9M [INFO] -- View this message in context: http://www.nabble.com/New-to-Maven%2C-and-got-frustrated-the-first-time-to-use-it...HELP...-tf4948806s177.html#a14169257 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven, and got frustrated the first time to use it...HELP...
Graham Leggett wrote: Kevin Tse wrote: Below there are the messages I got when trying to create a Maven project. Please help, your reply will be greatly appreciated. -- D:\Workspace\MavenPrjmvn archetype:create -DgroupId=org.kevin.mavendemo -Dartif act=app [snip] [INFO] Parameter: artifactId, Value: null [snip] Embedded error: Artifact ID must be specified when creating a new project from a n archetype. Looks like maven doesn't see the artifact ID you specified. Looking at your command line, I suspect the command line option is supposed to be -DartifactId=app, double check the docs for the archetype plugin to be sure. Regards, Graham -- Thank you so much, Graham, the problem solved, it is the command line option that I typed incorrectly...Thanks. -- View this message in context: http://www.nabble.com/New-to-Maven%2C-and-got-frustrated-the-first-time-to-use-it...HELP...-tf4948806s177.html#a14170495 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to maven
hi, you can try with the eclipse plugin: http://maven.apache.org/plugins/maven-eclipse-plugin/ Giancarlo 2007/10/25, Ian Godman [EMAIL PROTECTED]: Hi I am new to Maven 2. I have been converting an application consisting of 4 eclipse projects, 3 producing library jars the the final one running the application. I have got to the stage where every thing now compiles and the 3 jar files are deployed in my repository (I am using artifactory). My application also compiles. My issues is that despite a lot of reading I still can not work out how to run my application! There are external jars required, these are set as dependencies in the POM. What I would like to achieve is to be able to run the application from within the eclipse debug environment. To do this I need to get not only the generated jar files but also the library jars and the XML configuration files on the class path. Ideally also in a directory so that I can copy it and run the application on another machine. I am sure this is not difficult to do but at this moment in time I am unable to work it out. Ian ___ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new using maven., please help me
How can i overwrite he default source and webapp drectory? this: my app drectories are: JavaSource for one proyect and java.javs for other (this into the java sorces) and html or WebContent or WebApplication for the web application How can i use maven 2 for using this directories for the sorce files? thanks plese help me Unfortunately the default maven repository does not work, you will have to configure a mirror: create a file ~/.m2/settings.xml: settings mirrors mirror idisu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror mirror idibiblio.org/id urlhttp://www.ibiblio.org/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings Then you must re-arrange your code to match the maven layout. Source code goes in src/main/java/ web app code goes in src/main/webapp Then your pom might look something like this: project modelVersion4.0.0/modelVersion parent groupIdcom.mydomain.myproject/groupId artifactIdmyproject/artifactId version1.0/version /parent artifactIdmyproject/artifactId namemyproject web app/name packagingwar/packaging descriptionWeb App/description dependencies !-- Commons Libraries -- dependency groupIdcommons-email/groupId artifactIdcommons-email/artifactId version1.0/version scopeprovided/scope /dependency dependency groupIdcommons-fileupload/groupId artifactIdcommons-fileupload/artifactId version1.1/version scopeprovided/scope /dependency !-- Database Library -- dependency groupIdpostgresql/groupId artifactIdpostgresql/artifactId version8.1-404.jdbc3/version scopeprovided/scope /dependency !-- javax -- dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4/version scopeprovided/scope /dependency !-- JSTL -- dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.0/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.4/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdjstl/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdstandard/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version typetld/type /dependency dependency groupIdtaglibs/groupId artifactIdsql/artifactId version1.1.2/version typetld/type /dependency /dependencies /project Alex On 8/19/06, Miren [EMAIL PROTECTED] wrote: hello i am begining using maven. i hve use ant and i am trying using maven but i dont know how towork or beging using maven. i am reading better builds with maven but i cannot begin, i dont work fine with it. i have one proyect in java. the structure of my proyect is this: /myproyect -src -WebContent into ther rc directory i have the java sources into the Webcontent i have the web part (jsp, web.xml, tld...) the output for thi proyect must to be one war file can anyody helps me to make one pom file, correct file for using ths with maven? can anybody send me one example for using with my proyect? for using as demo and with my dcumenttion know how works maven. other questios: 1.- m pryect uses some lib, jar files. i must to put it into the pom file .. but must i to put them into some directories? 2.- when i execute my pom file appears this error: [INFO] the pluging org.apache.maven.plugins:maven-archetype-pluging dos not exist or not valid version could be found. Why pears this error? i have nstall the file from the apache site, maven site (2.0.4 thanks please help me with one example THANKS - 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]
Re: new using maven., please help me
The point of using maven is to use convention over configuration - if you override the conventions, you loose half the benefit of using maven. Move your source directory rather than configuration maven. Alex. On 8/22/06, Miren [EMAIL PROTECTED] wrote: How can i overwrite he default source and webapp drectory? this: my app drectories are: JavaSource for one proyect and java.javs for other (this into the java sorces) and html or WebContent or WebApplication for the web application How can i use maven 2 for using this directories for the sorce files? thanks plese help me Unfortunately the default maven repository does not work, you will have to configure a mirror: create a file ~/.m2/settings.xml: settings mirrors mirror idisu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror mirror idibiblio.org/id urlhttp://www.ibiblio.org/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings Then you must re-arrange your code to match the maven layout. Source code goes in src/main/java/ web app code goes in src/main/webapp Then your pom might look something like this: project modelVersion4.0.0/modelVersion parent groupIdcom.mydomain.myproject/groupId artifactIdmyproject/artifactId version1.0/version /parent artifactIdmyproject/artifactId namemyproject web app/name packagingwar/packaging descriptionWeb App/description dependencies !-- Commons Libraries -- dependency groupIdcommons-email/groupId artifactIdcommons-email/artifactId version1.0/version scopeprovided/scope /dependency dependency groupIdcommons-fileupload/groupId artifactIdcommons-fileupload/artifactId version1.1/version scopeprovided/scope /dependency !-- Database Library -- dependency groupIdpostgresql/groupId artifactIdpostgresql/artifactId version8.1-404.jdbc3/version scopeprovided/scope /dependency !-- javax -- dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4/version scopeprovided/scope /dependency !-- JSTL -- dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.0/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.4/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdjstl/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdstandard/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version typetld/type /dependency dependency groupIdtaglibs/groupId artifactIdsql/artifactId version1.1.2/version typetld/type /dependency /dependencies /project Alex On 8/19/06, Miren [EMAIL PROTECTED] wrote: hello i am begining using maven. i hve use ant and i am trying using maven but i dont know how towork or beging using maven. i am reading better builds with maven but i cannot begin, i dont work fine with it. i have one proyect in java. the structure of my proyect is this: /myproyect -src -WebContent into ther rc directory i have the java sources into the Webcontent i have the web part (jsp, web.xml, tld...) the output for thi proyect must to be one war file can anyody helps me to make one pom file, correct file for using ths with maven? can anybody send me one example for using with my proyect? for using as demo and with my dcumenttion know how works maven. other questios: 1.- m pryect uses some lib, jar files. i must to put it into the pom file .. but must i to put them into some directories? 2.- when i execute my pom file appears this error: [INFO] the pluging org.apache.maven.plugins:maven-archetype-pluging dos not exist or not valid version could be found. Why pears this error? i have nstall the file from the apache site, maven site (2.0.4 thanks please help me with one example THANKS - 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]
Re: new using maven., please help me
Hi Miren, On 8/22/06, Miren [EMAIL PROTECTED] wrote: How can i overwrite he default source and webapp drectory? something like: build sourceDirectory src/YOUR/DIRECTORY /sourceDirectory ... /build By the way, you should think carefully about adopting maven conventions, which is strongly suggested (not to mention that some plugin could possibly not work). cheers, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni
new using maven., please help me
hello i am begining using maven. i hve use ant and i am trying using maven but i dont know how towork or beging using maven. i am reading better builds with maven but i cannot begin, i dont work fine with it. i have one proyect in java. the structure of my proyect is this: /myproyect -src -WebContent into ther rc directory i have the java sources into the Webcontent i have the web part (jsp, web.xml, tld...) the output for thi proyect must to be one war file can anyody helps me to make one pom file, correct file for using ths with maven? can anybody send me one example for using with my proyect? for using as demo and with my dcumenttion know how works maven. other questios: 1.- m pryect uses some lib, jar files. i must to put it into the pom file .. but must i to put them into some directories? 2.- when i execute my pom file appears this error: [INFO] the pluging org.apache.maven.plugins:maven-archetype-pluging dos not exist or not valid version could be found. Why pears this error? i have nstall the file from the apache site, maven site (2.0.4 thanks please help me with one example THANKS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new using maven., please help me
Unfortunately the default maven repository does not work, you will have to configure a mirror: create a file ~/.m2/settings.xml: settings mirrors mirror idisu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror mirror idibiblio.org/id urlhttp://www.ibiblio.org/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings Then you must re-arrange your code to match the maven layout. Source code goes in src/main/java/ web app code goes in src/main/webapp Then your pom might look something like this: project modelVersion4.0.0/modelVersion parent groupIdcom.mydomain.myproject/groupId artifactIdmyproject/artifactId version1.0/version /parent artifactIdmyproject/artifactId namemyproject web app/name packagingwar/packaging descriptionWeb App/description dependencies !-- Commons Libraries -- dependency groupIdcommons-email/groupId artifactIdcommons-email/artifactId version1.0/version scopeprovided/scope /dependency dependency groupIdcommons-fileupload/groupId artifactIdcommons-fileupload/artifactId version1.1/version scopeprovided/scope /dependency !-- Database Library -- dependency groupIdpostgresql/groupId artifactIdpostgresql/artifactId version8.1-404.jdbc3/version scopeprovided/scope /dependency !-- javax -- dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4/version scopeprovided/scope /dependency !-- JSTL -- dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.0/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.4/version scopeprovided/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdjstl/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdstandard/artifactId version1.1.2/version scopeprovided/scope /dependency dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version typetld/type /dependency dependency groupIdtaglibs/groupId artifactIdsql/artifactId version1.1.2/version typetld/type /dependency /dependencies /project Alex On 8/19/06, Miren [EMAIL PROTECTED] wrote: hello i am begining using maven. i hve use ant and i am trying using maven but i dont know how towork or beging using maven. i am reading better builds with maven but i cannot begin, i dont work fine with it. i have one proyect in java. the structure of my proyect is this: /myproyect -src -WebContent into ther rc directory i have the java sources into the Webcontent i have the web part (jsp, web.xml, tld...) the output for thi proyect must to be one war file can anyody helps me to make one pom file, correct file for using ths with maven? can anybody send me one example for using with my proyect? for using as demo and with my dcumenttion know how works maven. other questios: 1.- m pryect uses some lib, jar files. i must to put it into the pom file .. but must i to put them into some directories? 2.- when i execute my pom file appears this error: [INFO] the pluging org.apache.maven.plugins:maven-archetype-pluging dos not exist or not valid version could be found. Why pears this error? i have nstall the file from the apache site, maven site (2.0.4 thanks please help me with one example THANKS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven
I think Simon is right, have you setted your proxy correctly? On 4/27/06, ajayasahoo [EMAIL PROTECTED] wrote: Hi alan, I did try with -U option and get back the same error. Thx, Ajaya -- View this message in context: http://www.nabble.com/New-to-Maven-t1512971.html#a4123451 Sent from the Maven - Users forum 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]
Re: New to Maven
On Wed, 2006-04-26 at 09:59 -0700, ajayasahoo wrote: I am new to Maven. I have downloaded maven-2.0.4 and following the Maven Getting Started Guide. I am under How do I make my first Maven project? and issue the following command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I get this error: [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found. Try mvn -X . to show debug output. I expect that you're running behind some kind of firewall that is preventing maven from downloading the plugins it needs. The maven download is just the core of maven; many of the plugins it needs to do its job are downloaded on demand. If a firewall is the issue, see the documentation on the maven site re defining proxy settings in a settings.xml file. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven
Hi alan, I did try with -U option and get back the same error. Thx, Ajaya -- View this message in context: http://www.nabble.com/New-to-Maven-t1512971.html#a4123451 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New to Maven
I am new to Maven. I have downloaded maven-2.0.4 and following the Maven Getting Started Guide. I am under How do I make my first Maven project? and issue the following command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I get this error: [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found. -- View this message in context: http://www.nabble.com/New-to-Maven-t1512971.html#a4105333 Sent from the Maven - Users forum at Nabble.com.
Re: New to Maven
Hi there, Have you tried appending -U to your mvn command? allan ajayasahoo wrote: I am new to Maven. I have downloaded maven-2.0.4 and following the Maven Getting Started Guide. I am under How do I make my first Maven project? and issue the following command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I get this error: [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found. -- View this message in context: http://www.nabble.com/New-to-Maven-t1512971.html#a4105333 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
what is new in maven 2.0.2
There are no releasenotes .. ? Does anyone know what is new between 2.0.1 and 2.0.2 ? Tony __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: what is new in maven 2.0.2
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=10500fixfor=12125 -allan tony nys wrote: There are no releasenotes .. ? Does anyone know what is new between 2.0.1 and 2.0.2 ? Tony __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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]
new to Maven
Hi, I started using Maven few hours ago I have integrated it to my existing project ... I have some problems with the maven site:generate command it is not creating all the reports ... Change Log, Developer Activity etc are all missing do I have to make any changes somewhere to see all the reports ? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to Maven
You have to add the reports you want to be generatet to your POM, like that: reportmaven-dashboard-plugin/report reportmaven-changelog-plugin/report reportmaven-clover-plugin/report reportmaven-file-activity-plugin/report reportmaven-changes-plugin/report reportmaven-developer-activity-plugin/report reportmaven-javadoc-plugin/report reportmaven-junit-report-plugin/report reportmaven-simian-plugin/report reportmaven-tasklist-plugin/report reportmaven-checkstyle-plugin/report reportmaven-jdepend-plugin/report reportmaven-jxr-plugin/report Regards, Gisbert Amm Hamza Hydri wrote: Hi, I started using Maven few hours ago I have integrated it to my existing project ... I have some problems with the maven site:generate command it is not creating all the reports ... Change Log, Developer Activity etc are all missing do I have to make any changes somewhere to see all the reports ? Thanks in advance. - 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]
Re: new to Maven
Thnx Gisbert, I have another problem now ... when I enter the foll at the cmd prompt in the project base directory .. maven -D package=com.company.test.dummy genapp it asks for a template, ID and name of application ... I dont understand what template should I give ... I believe the name and ID are the details we describein the project.xml file ... right ? then whats with this template thing ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to Maven
Hamza, Those reports need to access your SCM to compute this information. Check you've defined repository access in your project.xml (for instance CVS using persver): repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/yourrepo:yourmodule/connection /repository If you are using CVSNT, check this: http://maven.apache.org/reference/plugins/changelog/ Cheers, Stéphane -Original Message- From: Hamza Hydri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 10:11 AM To: users@maven.apache.org Subject: new to Maven Hi, I started using Maven few hours ago I have integrated it to my existing project ... I have some problems with the maven site:generate command it is not creating all the reports ... Change Log, Developer Activity etc are all missing do I have to make any changes somewhere to see all the reports ? Thanks in advance. - 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]
Re: maven-genapp-plugin: What template should I give (was: new to Maven)
Have you read the documentation on http://maven.apache.org/reference/plugins/genapp/ ? http://maven.apache.org/reference/plugins/genapp/templates.html gives you a list of the default templates. The Id and the name of the application you enter will be written into the gnerated POM. Regards, Gisbert Amm Hamza Hydri wrote: I have another problem now ... when I enter the foll at the cmd prompt in the project base directory .. maven -D package=com.company.test.dummy genapp it asks for a template, ID and name of application ... I dont understand what template should I give ... I believe the name and ID are the details we describein the project.xml file ... right ? then whats with this template thing ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New to Maven - looking to integrate UNO (cpp) components
Hi All, I'm new to maven, and have a requirement to (continuously) build/test UNO (g++/cpp) components. Is there a best practice approach for how to proceed with this using maven? I have a set of working makefiles to start with. Perhaps equivalent ant tasks integrated with maven might be a possibility? Thanks for any assistance! John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Maven -- please help
Or you may have a JDK which is sensitive to the index files in the jars. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Kumar, Vaidhyanatha K. [EMAIL PROTECTED] wrote on 06/08/2003 09:49:36 PM: Shelly, You can try installing JDK1.4.2 and maven b10. OR you might have a unsupported proxy server. The email thread below has some pointers. http://www.mail-archive.com/[EMAIL PROTECTED]/thrd2.html#01898 Vaidhy -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:35 AM To: Maven Users List Subject: New to Maven -- please help Hi, I get the following exception when I tried to run Maven. The following is the command i tried: maven -o genApp From one of the users in the list, I got the idea that this is happening because I am probably behind firewall ( I do not even have intrnet access ). Please guide me. Any pointers will be most helpful. Thanks in advance, Shelly sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$2.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:346) at java.lang.ClassLoader.getResource(ClassLoader.java:734) at java.lang.Class.getResource(Class.java:1249) at org.apache.commons.betwixt.XMLIntrospector. findByXMLDescriptor(XMLInt rospector.java:531) at org.apache.commons.betwixt.XMLIntrospector. introspect(XMLIntrospector .java:256) at org.apache.commons.betwixt.io.BeanReader. registerBeanClass(BeanReader .java:143) at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560) at org.apache.maven.MavenUtils. getProjectBeanReader(MavenUtils.java:324) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession. initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) -Original Message- From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:05 PM To: Maven Users List Subject: RE: New to Maven Shelly, I have been using maven for a month. From what I know, you need web ONLY to do the initial install, CVS updates etc. Beyond that, you really don't need a web connection. Most of the jar files can be kept in the local repository. Maven is the way to go! Vaidhy Kumar -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:04 AM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - 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]
New to Maven -- please help
Hi, I get the following exception when I tried to run Maven. The following is the command i tried: maven -o genApp From one of the users in the list, I got the idea that this is happening because I am probably behind firewall ( I do not even have intrnet access ). Please guide me. Any pointers will be most helpful. Thanks in advance, Shelly sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$2.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:346) at java.lang.ClassLoader.getResource(ClassLoader.java:734) at java.lang.Class.getResource(Class.java:1249) at org.apache.commons.betwixt.XMLIntrospector.findByXMLDescriptor(XMLInt rospector.java:531) at org.apache.commons.betwixt.XMLIntrospector.introspect(XMLIntrospector .java:256) at org.apache.commons.betwixt.io.BeanReader.registerBeanClass(BeanReader .java:143) at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560) at org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:324) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) -Original Message- From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:05 PM To: Maven Users List Subject: RE: New to Maven Shelly, I have been using maven for a month. From what I know, you need web ONLY to do the initial install, CVS updates etc. Beyond that, you really don't need a web connection. Most of the jar files can be kept in the local repository. Maven is the way to go! Vaidhy Kumar -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:04 AM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - 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]
RE: New to Maven -- please help
I am on WIndows NT 4. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:26 AM To: Maven Users List Subject: RE: New to Maven -- please help 1.3 is fine. On which platform? We've had this sort of report from people on Solaris 1.3 before -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Shelly_Singh [EMAIL PROTECTED] wrote on 07/08/2003 01:23:47 PM: I have jdk version 1.3.0? Which jdk version can be used with maven? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:45 AM To: Maven Users List Subject: RE: New to Maven -- please help Or you may have a JDK which is sensitive to the index files in the jars. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Kumar, Vaidhyanatha K. [EMAIL PROTECTED] wrote on 06/08/2003 09:49:36 PM: Shelly, You can try installing JDK1.4.2 and maven b10. OR you might have a unsupported proxy server. The email thread below has some pointers. http://www.mail-archive.com/[EMAIL PROTECTED]/thrd2.html#01898 Vaidhy -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:35 AM To: Maven Users List Subject: New to Maven -- please help Hi, I get the following exception when I tried to run Maven. The following is the command i tried: maven -o genApp From one of the users in the list, I got the idea that this is happening because I am probably behind firewall ( I do not even have intrnet access ). Please guide me. Any pointers will be most helpful. Thanks in advance, Shelly sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$2.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:346) at java.lang.ClassLoader.getResource(ClassLoader.java:734) at java.lang.Class.getResource(Class.java:1249) at org.apache.commons.betwixt.XMLIntrospector. findByXMLDescriptor(XMLInt rospector.java:531) at org.apache.commons.betwixt.XMLIntrospector. introspect(XMLIntrospector .java:256) at org.apache.commons.betwixt.io.BeanReader. registerBeanClass(BeanReader .java:143) at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560) at org.apache.maven.MavenUtils. getProjectBeanReader(MavenUtils.java:324) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession. initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) -Original Message- From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:05 PM To: Maven Users List Subject: RE: New to Maven Shelly, I have been using maven for a month. From what I know, you need web ONLY to do the initial install, CVS updates etc. Beyond that, you really don't need a web connection. Most of the jar files can be kept in the local repository. Maven is the way to go! Vaidhy Kumar -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:04 AM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - 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
RE: New to Maven -- please help
Thanks fovery useful input. But, I want to run maven in offline mode. The command I am trying is : maven -o In this case the proxy configurations should not interfare with maven. Any pointers? Regards Shelly -Original Message- From: Keld Mikkelsen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:35 AM To: Maven Users List Subject: RE: New to Maven -- please help Hi, I had the same problem, when I startet usng maven some days. I have put an entry i mavenwiki faq: http://wiki.codehaus.org/maven/FrequentlyAskedQuestions#head-b010b7e0b46fc1304d0815693dd81d3df6ff1b8d This is usually a problem with your firewall. Check the logfiles on your firewall server for errors. Also make sure that your jdk level is 1.4.2 or higher Keld Mikkelsen My problem was that the jdk 1.3 did not dupport the proxy configuration settings I made for maven, and it did not tell what was wrong. The jdk 1.4..2 supports the proxy settings, and maven is doing a better job of telling what goes wrong under this jdk. Do we need an faq regarding supported software levels ? /Keld Mikkelsen - 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]
RE: New to Maven -- please help
Shelly, You can try installing JDK1.4.2 and maven b10. OR you might have a unsupported proxy server. The email thread below has some pointers. http://www.mail-archive.com/[EMAIL PROTECTED]/thrd2.html#01898 Vaidhy -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:35 AM To: Maven Users List Subject: New to Maven -- please help Hi, I get the following exception when I tried to run Maven. The following is the command i tried: maven -o genApp From one of the users in the list, I got the idea that this is happening because I am probably behind firewall ( I do not even have intrnet access ). Please guide me. Any pointers will be most helpful. Thanks in advance, Shelly sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$2.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:346) at java.lang.ClassLoader.getResource(ClassLoader.java:734) at java.lang.Class.getResource(Class.java:1249) at org.apache.commons.betwixt.XMLIntrospector.findByXMLDescriptor(XMLInt rospector.java:531) at org.apache.commons.betwixt.XMLIntrospector.introspect(XMLIntrospector .java:256) at org.apache.commons.betwixt.io.BeanReader.registerBeanClass(BeanReader .java:143) at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560) at org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:324) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) -Original Message- From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:05 PM To: Maven Users List Subject: RE: New to Maven Shelly, I have been using maven for a month. From what I know, you need web ONLY to do the initial install, CVS updates etc. Beyond that, you really don't need a web connection. Most of the jar files can be kept in the local repository. Maven is the way to go! Vaidhy Kumar -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:04 AM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - 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]
New to Maven
Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Maven -- please help
1.3 is fine. On which platform? We've had this sort of report from people on Solaris 1.3 before -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Shelly_Singh [EMAIL PROTECTED] wrote on 07/08/2003 01:23:47 PM: I have jdk version 1.3.0? Which jdk version can be used with maven? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:45 AM To: Maven Users List Subject: RE: New to Maven -- please help Or you may have a JDK which is sensitive to the index files in the jars. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Kumar, Vaidhyanatha K. [EMAIL PROTECTED] wrote on 06/08/2003 09:49:36 PM: Shelly, You can try installing JDK1.4.2 and maven b10. OR you might have a unsupported proxy server. The email thread below has some pointers. http://www.mail-archive.com/[EMAIL PROTECTED]/thrd2.html#01898 Vaidhy -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:35 AM To: Maven Users List Subject: New to Maven -- please help Hi, I get the following exception when I tried to run Maven. The following is the command i tried: maven -o genApp From one of the users in the list, I got the idea that this is happening because I am probably behind firewall ( I do not even have intrnet access ). Please guide me. Any pointers will be most helpful. Thanks in advance, Shelly sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$2.run(URLClassLoader.java:349) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:346) at java.lang.ClassLoader.getResource(ClassLoader.java:734) at java.lang.Class.getResource(Class.java:1249) at org.apache.commons.betwixt.XMLIntrospector. findByXMLDescriptor(XMLInt rospector.java:531) at org.apache.commons.betwixt.XMLIntrospector. introspect(XMLIntrospector .java:256) at org.apache.commons.betwixt.io.BeanReader. registerBeanClass(BeanReader .java:143) at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560) at org.apache.maven.MavenUtils. getProjectBeanReader(MavenUtils.java:324) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession. initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) -Original Message- From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:05 PM To: Maven Users List Subject: RE: New to Maven Shelly, I have been using maven for a month. From what I know, you need web ONLY to do the initial install, CVS updates etc. Beyond that, you really don't need a web connection. Most of the jar files can be kept in the local repository. Maven is the way to go! Vaidhy Kumar -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:04 AM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174 - 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]
RE: New to Maven
you can use it offline by specifying the -o switch (or setting maven.mode.offline in ~/build.properties). However, you will need to manually construct a local repository of JAR files and other artifacts so that Maven can find its dependencies. The structure will need to be identical to http://www.ibiblio.org/maven/ http://www.ibiblio.org/maven/ (although you'll only need the specific JARs you and the maven plugins use). - Brett -Original Message- From: Shelly_Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 August 2003 3:04 PM To: Maven Users List Subject: New to Maven Hi All, I am very new to maven. I do not have internet access, but have access to the web documents. Can I use maven, or do I need to have internet access to use maven. Is there a workaround without using internet. Please guide me. Thanks and Regards, Shelly Singh Infosys Technologies Ltd., Pune. Tel: +91 20 2932800 Ext: 2174