Write a shell script to punch out <dependency> nodes (to a file or command line) that you can copy and paste into your pom every time it changes. I know of no other way to handle this situation.
Ideally you won't use system scope either -- you'll "mvn install:install-file" those files and then knock out the <dependencies> list for pasting into the pom with proper scopes declared. Wayne On 9/27/07, Raj Pillai <[EMAIL PROTECTED]> wrote: > > Hi Maven Users, > > Is it possible to add multiple jars in the dependency dynamically or as a > group. Else how else to handle this best. > I have like 30 jars under a specific directory and I am using systemPath > way to add the dependency. All these jars has timestamp in its name and will > keep changing. > > ----- > > This is how a typical maven dependency for a 'jar' dependency looks like. > <dependencies> > <dependency> > <groupId>thirdparty.eclipse</groupId> > <artifactId>jface-text</artifactId> > <version>3.2RC7</version> > <scope>system</scope> > > <systemPath>..../eclipse/plugins/org.eclipse.jface.text_3.2.1.r321_v20060810.jar</systemPath> > </dependency> > </dependencies> > > How can I add amlmost 30 jars in the plugin directory to the classpath. > > Thanks > Raj > > > > --------------------------------- > Be a better Globetrotter. Get better travel answers from someone who knows. > Yahoo! Answers - Check it out. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
