Thanks Wayne - That's a great tip for future use. Fortunately it ended up being the dependency scope set to runtime, like Alexandre said, that was the issue.
Thanks again, - Ole --- Wayne Fay <[EMAIL PROTECTED]> wrote: > Perhaps try mvn -o for offline mode? Since problem > just started > recently, maybe it is related to the various repos > being down etc? > > Wayne > > On 5/17/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: > > Stefan, > > > > Thanks for the tips. It's not just myfaces that > are > > not resolving, but any dependency. I've tried it > with > > other dependencies and maven says it can't find > the > > packages. > > > > The strange thing is that it was working fine > before, > > and this only started happening a yesterday. > > > > Thanks for trying though. > > > > Cheers, > > - Ole > > > > --- Stefan Hübner <[EMAIL PROTECTED]> > wrote: > > > > > make sure to check this out: > > > > > > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html > > > > > > cheers, > > > Stefan > > > > > > 2006/5/18, Stefan Hübner > <[EMAIL PROTECTED]>: > > > > Bruno, > > > > > > > > > > I first run the eclipse plugin and eclipse > is > > > able to > > > > > > load the dependencies. > > > > > > > > > > > > I then attempt to install, and the maven > > > compiler > > > > > > gives me messages like this: > > > > > > > > > > > > > > > > > > > > > > > > /home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29] > > > > > > package javax.faces.component does not > exist > > > > > > > > > > > > > > so, does this mean, that your project depends > upon > > > JSF? if so, the > > > > artifact "javax.faces:jsf-api" - as found in > > > maven's central > > > > repository - can't actually be downloaded. > Reason > > > is, there's just a > > > > placeholder POM in the repo because of license > > > considerations. > > > > > > > > this thought, the jsf-library shouldn't be > > > referenced by eclipse > > > > either. If it does, does eclipse reference to > a > > > jar in your local > > > > maven repo or somewhere else? > > > > > > > > > > > > > > > > > > > > > > So eclipse sees the dependencies in the > > > repository, > > > > > > but maven does not. > > > > > > > > > > > > > > the eclipse-plugin might have told you, to > > > download the jsf-api.jar > > > > manually, because that JAR can't be found in > the > > > global repository. > > > > you might have a second look on the > > > eclipse-plugin's output. > > > > > > > > > > > > just my 2c - may be, I'm misleaded > > > > > > > > Stefan > > > > > > > > > > > > > __________________________________________________ > > 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] > > __________________________________________________ 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]