On Wed, 12 Jan 2005 23:24:27 -0800 (PST), rajas kumar <[EMAIL PROTECTED]> wrote: > Hai, If i am using groupId and artifactId then i need to give vesion also. I > dont want to give version.That is the problem for me.
Check out the pom doc: http://maven.apache.org/reference/project-descriptor.html#dependency You will have to use the <jar> tag if you don't specify a version. <groupId>jsf</groupId> <artifactId>jsf-api</artifactId> <version/> <jar>jsf-api.jar</jar> -- Rune > > Dion Gillard <[EMAIL PROTECTED]> wrote:On Wed, 12 Jan 2005 22:48:20 -0800 > (PST), rajas kumar > > wrote: > > Hai, > > > > I am still unable to solving the problem of dependency with out version.It > > giving compilatin errors. Now its become a major issue for me.My leaders > > dont want to give dummy version for jsf libraries.How can i solve this > > problem. I got some references previously for maven user i am very thakful > > for that. I need some help.Here it my dependency structure > > > > > > jsf > > jsf-api.jar > > > > > > > > jsf > > jsf-impl.jar > > > > > > > > jsf > > jsp-api.jar > > > > > > jsf > > jstl.jar > > > > if i am putting like this i am getting compilatin errors. > > That's because you're using jsf for all of them. Use the > , combination like you do below. > > > > en\target\classes > > E:\starteam\conformia\pcm\dev\src\com\cfm\pcm\web\core\cfmfaces\helper\UIRendere > > rHelper.java:10: package com.sun.faces.util does not exist > > import com.sun.faces.util.Util; > > > > if i renamed that jars files and i have given dependencies like this > > > > jsf > > jsf-api > > 1.0 > > > > > > jsf > > jsf-impl > > 1.0 > > > > > > jsf > > jsp-api > > 1.0 > > > > > > jsf > > jstl > > 1.0 > > > > > > > > there is no compilatin errors. > > > > How can i put dependencies with out version. > > > > Thanx&&Regards > > praveen. > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > -- > http://www.multitask.com.au/people/dion/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------- > Do you Yahoo!? > Meet the all-new My Yahoo! â Try it today! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
