If I have an application thats not in a Maven repository, I usually put it in my local (or company) repository - for instance adding functionaljava.jar mvn install:install-file -DgroupId=org.other -DartifactId=functionaljava -Dversion=2.17 -Dpackaging=jar -Dfile=functionaljava.jar -DgeneratePom=true
But, before you do this, as suggested below, you might want to google for the application (eg "ibiblio functionaljava") to make sure its not in a maven repository. On Fri, Jun 26, 2009 at 6:16 PM, Timothy Perrett <timo...@getintheloop.eu>wrote: > > To clarify - you only need that system path if its a JAR not in a > maven repository anywhere. What JAR are you trying to add? > > Cheers, Tim > > On Jun 26, 9:01 am, Caoyuan <dcaoy...@gmail.com> wrote: > > On Fri, Jun 26, 2009 at 3:51 PM, Jeppe Nejsum Madsen<je...@ingolfs.dk> > wrote: > > > > > On 26 Jun 2009, fbettag wrote: > > > > >> Hey guys, > > > > >> i was wondering how (and where) i have to put jars in my liftweb > > >> project to get them included. i know it's a beginners question, but > > >> i've been playing around all night and i couldn't get it to work. > > > > > Normally, you would put jars in the WEB-INF/lib folder and they will be > > > picked up by the servlet container.... > > > > > They need to be available at compile time too... > > > > > /Jeppe > > > > Usually, jar files should be put under maven's dependency management, > > but you can try to add them by adding something like the following to > > pom.xml > > > > <!-- local dependency --> > > <dependency> > > <groupId>com.xxx</groupId> > > <artifactId>com.xxx.xxx</artifactId> > > <version>4.7.1</version> > > <scope>system</scope> > > > <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/xxxxx-4.7.1.jar</systemP > ath> > > </dependency> > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---