On Wed, 12 Jan 2005 22:48:20 -0800 (PST), rajas kumar
<[EMAIL PROTECTED]> 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
> 
>                        <dependency>
>                                   <id>jsf</id>
>                                  <jar>jsf-api.jar</jar>
> 
>                          </dependency>
>                          <dependency>
>                                   <id>jsf</id>
>                                  <jar>jsf-impl.jar</jar>
> 
>                          </dependency>
>                          <dependency>
>                                <id>jsf</id>
>                                   <jar>jsp-api.jar</jar>
>                          </dependency>
>                           <dependency>
>                               <id>jsf</id>
>                                     <jar>jstl.jar</jar>
>                             </dependency>
> if i am putting like this i am getting compilatin errors.

That's because you're using <id>jsf</id> for all of them. Use the
<groupId>,<artifactId> 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
>    <dependency>
>                                   <groupId>jsf</groupId>
>                                  <artifactId>jsf-api</artifactId>
>                                   <version>1.0</version>
>                          </dependency>
>                          <dependency>
>                                   <groupId>jsf</groupId>
>                                  <artifactId>jsf-impl</artifactId>
>                                  <version>1.0</version>
>                          </dependency>
>                          <dependency>
>                                  <groupId>jsf</groupId>
>                                   <artifactId>jsp-api</artifactId>
>                                   <version>1.0</version>
>                           </dependency>
>                           <dependency>
>                               <groupId>jsf</groupId>
>                             <artifactId>jstl</artifactId>
>                             <version>1.0</version>
>                            </dependency>
>                             <dependency>
> 
> 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]

Reply via email to