You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rajas kumar <pr...@yahoo.com> on 2005/01/13 07:48:20 UTC
dependencies with out version
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.
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
Re: dependencies with out version
Posted by rajas kumar <pr...@yahoo.com>.
yaaa hoooooooo.Thanqqqqqqqqqqqqq.
Its working now.
Rune Fauske <ru...@gmail.com> wrote:
On Wed, 12 Jan 2005 23:24:27 -0800 (PST), rajas kumar
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 tag if you don't specify a version.
jsf
jsf-api
jsf-api.jar
--
Rune
>
> Dion Gillard 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------
> Do you Yahoo!?
> Meet the all-new My Yahoo! – Try it today!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.
Re: dependencies with out version
Posted by Rune Fauske <ru...@gmail.com>.
On Wed, 12 Jan 2005 23:24:27 -0800 (PST), rajas kumar
<pr...@yahoo.com> 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 <di...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------
> Do you Yahoo!?
> Meet the all-new My Yahoo! – Try it today!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies with out version
Posted by rajas kumar <pr...@yahoo.com>.
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.
Dion Gillard <di...@gmail.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! � Try it today!
Re: dependencies with out version
Posted by Dion Gillard <di...@gmail.com>.
On Wed, 12 Jan 2005 22:48:20 -0800 (PST), rajas kumar
<pr...@yahoo.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org