Good day, And as for finding the artifacts that you need, you may want to use Archiva.
Cheers, Franz pkimber wrote: > > Hi Ute > > You can use the Maven 2 Exec plugin... > http://mojo.codehaus.org/exec-maven-plugin/ > > Although there is a bug which will prevent you passing parameters to > the application. > > Alternatively the dependency plugin will copy your jar files to a > folder. Try running: > mvn dependency:copy-dependencies > > Your dependencies will all be copied to: > target\dependency\ > > Hope this solves your problem, > > Patrick > > On 13/02/07, Ute Platzer <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a java program which I used to build with ant. Now I switched to >> maven >> because of the easier handling of jar file dpenedencies. Unfortunately >> now these >> jar files are no longer "there", they're somewhere in the repository but >> not >> inside my project directory and it's not trivial to find and add them to >> the >> classpath when I want to run my program. >> Is there a simple solution, how do I set the classpath in the shell to >> run the >> program? Or how do I make maven copy the jar files from the repository to >> somewhere I can use them? >> >> Thanks for your help, and best regards, >> ute >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/how-to-run-a-program-build-with-maven-tf3219341s177.html#a8941446 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
