Yea, it works Thanks, tony mraible wrote: > > If you remove the scope=system and systemPath, it should work (if you > have your coordinates defined correctly). > > Matt > > On Mar 5, 2009, at 7:04 PM, tonylu880042 <tonylu880...@gmail.com> wrote: > >> >> Hi, >> Thanks for the quick response. >> I did install:install-file my jar files into local repository. >> But, it seems still not copy to my war file. >> I will try to install the nexus as our local repository. >> Best regards, >> tony >> >> mraible wrote: >>> >>> I would recommend using the maven-install-plugin to run "mvn >>> install:install-file" and install the libraries in your local >>> repository. >>> >>> http://maven.apache.org/plugins/maven-install-plugin/ >>> >>> Another good solution is to setup a repository manager like Nexus >>> that >>> gets shared throughout your company/team. >>> >>> http://nexus.sonatype.org/ >>> >>> I recently switched AppFuse from using a file-based repository hosted >>> on Apache to Nexus at http://oss.sonatype.org. >>> >>> Cheers, >>> >>> Matt >>> >>> On Thu, Mar 5, 2009 at 6:17 PM, tonylu880042 <tonylu880...@gmail.com> >>> wrote: >>>> >>>> Hi people, >>>> I use several 3rd party libraries that is not in maven >>>> repository. So, >>>> in >>>> my pom.xml file's <dependency> using <scope>system</scope> and >>>> specified >>>> the jar file in <systemPath> tag. >>>> It works in compile time, however, it would not work when run war >>>> because >>>> the war process not copy the jar files into war. >>>> Is there possible to copy specific jar files in the war process ? >>>> Best regards, >>>> tony >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-to-move-thrid-party-libraries-to-war-file-tp22364444s2369p22364444.html >>>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>>> >>>> >>>> --- >>>> ------------------------------------------------------------------ >>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-move-thrid-party-libraries-to-war-file-tp22364444s2369p22364859.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > >
-- View this message in context: http://www.nabble.com/How-to-move-thrid-party-libraries-to-war-file-tp22364444s2369p22365668.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net