You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Érico Teixeira <er...@yahoo.com.br> on 2007/07/18 21:21:06 UTC
EL Dependency
Hi
I need to use the following dependencies in my project :
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>el-impl</groupId>
<artifactId>el-impl</artifactId>
<version>1.0</version>
</dependency>
I would like to fix the depency problem inside eclipse with the Maven plugin
when I finish my changes in POM and save the file I receive an error
18/07/07 13h42min41s GMT-03:00: Missing:
1) javax.el:el-api:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.el -DartifactId=el-api \
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
...
I install the dependency in my local repository and when I compile my project through command line there is no problem but when I try to add the dependency in eclipse i get the same error ...
Could I use my local repository inside Eclipse ? How would I do that ?
Does any one knows a repository that provides these dependencies ?
I'm using http://repo1.maven.org/maven2 in my POM
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
Re: EL Dependency
Posted by Ian Springer <ia...@redhat.com>.
Those deps are both available from the java.net Maven1 repo
(http://download.java.net/maven/1/).
Add this to the repositories section of your POM:
<repository>
<id>java.net-m1-releases</id>
<name>Java.net Maven1 Repository - for javax.faces, javax.el,
com.sun.el, and com.sun.facelets releases</name>
<url>http://download.java.net/maven/1/</url>
<layout>legacy</layout>
</repository>
Érico Teixeira wrote:
> Hi
>
> I need to use the following dependencies in my project :
>
> <dependency>
> <groupId>javax.el</groupId>
> <artifactId>el-api</artifactId>
> <version>1.0</version>
> </dependency>
>
> <dependency>
> <groupId>el-impl</groupId>
> <artifactId>el-impl</artifactId>
> <version>1.0</version>
> </dependency>
>
> I would like to fix the depency problem inside eclipse with the Maven plugin
>
> when I finish my changes in POM and save the file I receive an error
>
> 18/07/07 13h42min41s GMT-03:00: Missing:
> 1) javax.el:el-api:jar:1.0
> Try downloading the file manually from the project website.
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.el -DartifactId=el-api \
> -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
> Path to dependency:
> ...
>
> I install the dependency in my local repository and when I compile my project through command line there is no problem but when I try to add the dependency in eclipse i get the same error ...
>
> Could I use my local repository inside Eclipse ? How would I do that ?
>
> Does any one knows a repository that provides these dependencies ?
>
> I'm using http://repo1.maven.org/maven2 in my POM
>
>
>
>
>
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org