Did a little research into this and found what MAY be a quick work-around. Not sure it's the final method and I haven't tested it, but it should work.
Basically, you can define "system" scope dependencies in Maven Poms. There are things that just get added to all goal class paths and can point to any directory on the system. So, you could add your template overrides as a system dependency. E.g.: ... <plugin> <dependencies> <dependency> <groupId>my.torque.overrides</groupId> <artifactId>templateDir</artifactId> <version>0.1</version> <scope>system</scope> <systemPath>${basedir}/src/template/myTemplates.jar</systemPath> </dependency> ... </dependencies> </plugin> Notes: - The ${basedir} property is the directory containing the pom.xml - Maven says it "checks for the existence of the file" pointed to by the systemPath tag. It might be possible use a directory rather than a jar. > -----Original Message----- > From: Greg Monroe [mailto:greg.mon...@dukece.com] > Sent: Wednesday, March 11, 2009 3:43 PM > To: 'Apache Torque Users List' > Subject: RE: Maven2 plugin and build property overrideDir > > You're correct, it isn't currently supported. If I remember > right, there was an issue with Maven 2 not letting you easily > modify a Mojo's class path (at least at the time the plug-in > was built). That's how the overrideDir is being implemented > in Maven 1. > > Full support of Maven 2 is one of the objectives of 4.0. In > fact, one of the developers (Thomas V) just asked recently > about this feature... and that led me to start looking at > Maven2 coding. No promises, but if I can find some time > I might work some on this (unless someone's already > doing it...) > > > -----Original Message----- > > From: Emmanuel Bardet [mailto:ebar...@bardet-u2ee.com] > > Sent: Wednesday, March 11, 2009 12:50 PM > > To: torque-user@db.apache.org > > Subject: Maven2 plugin and build property overrideDir > > > > Hello there, > > > > It seems the overrideDir property is not being used by the Maven2 > > plugin. Is this right? If so, is there any plan to add it to a later > > version? > > > > Thanks, > > > > Emmanuel > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org > > For additional commands, e-mail: torque-user-h...@db.apache.org > > > > DukeCE Privacy Statement: > Please be advised that this e-mail and any files transmitted with > it are confidential communication or may otherwise be privileged or > confidential and are intended solely for the individual or entity > to whom they are addressed. If you are not the intended recipient > you may not rely on the contents of this email or any attachments, > and we ask that you please not read, copy or retransmit this > communication, but reply to the sender and destroy the email, its > contents, and all copies thereof immediately. Any unauthorized > dissemination, distribution or copying of this communication is > strictly prohibited. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org > For additional commands, e-mail: torque-user-h...@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org For additional commands, e-mail: torque-user-h...@db.apache.org