If you don't need to use the JRuby jars during compiling, but instead only need them at runtime, you should use <scope>runtime</scope>.
Compile is default scope, so if you don't declare a scope, it will use compile. Wayne On 11/5/06, Laurent Bois <[EMAIL PROTECTED]> wrote:
Yes, I want to declare some JRuby beans with Spring 2 (support of dynamic languages including JRuby) How add this dependency in my project package : when deployed , the JRuby Backed bean will be instantiated (as declared in the Spring 2 config file) and JRuby jar should be there. Laurent Le 5 nov. 06 à 17:31, Eric Redmond a écrit : > What are you trying to do with that JRuby project? It looks like > you're > trying to run a "compile" goal with it. Its a dependency package, > not a > plugin. > > Eric > > On 11/5/06, Laurent Bois <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I've included the jruby 0.9.1 dependency in a Maven Project (groupId: >> org.jruby, artifactId : jruby, version:0.9.1) >> >> When building the project with Maven i get the warning: >> [WARN]POM for 'org.jruby:jruby:pom:0.9.1:compile' is invalid. It will >> be ignored for artifact resolution. Reason: Failed to validate POM >> >> The JRuby jar has been downloaded from : >> http://repo1.maven.org/maven2 >> >> Has it an effect in my packaging (i should distribute the jruby jar >> in my web app) >> >> Thanks >> >> Laurent Bois >> >> http://www.laurentbois.com/ >> http://jurassicgeek.blogspot.com/ >> http://social.hortis.ch/ >> >> Skype me at : laurentbois >> Yahoo Id: lbois >> >> >> >> >> > > > -- > Eric Redmond > http://codehaus.org/~eredmond Laurent Bois http://www.laurentbois.com/ http://jurassicgeek.blogspot.com/ http://social.hortis.ch/ Skype me at : laurentbois Yahoo Id: lbois
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
