On Fri, Aug 15, 2008 at 11:49 AM, Mark Hobson <[EMAIL PROTECTED]> wrote: > Hi Hubert, > > 2008/8/15 Hubert Behaghel <[EMAIL PROTECTED]>: >> I am using the APT maven plugin with success up to now but was >> wondering what would be suggested when it comes to taking into account >> sources that are inside jars as project dependencies. > > It seems like a valid feature to request. I'd like to see it > implemented by specifying the dependencies to process in the plugin > configuration, for example: > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>apt-maven-plugin</artifactId> > <configuration> > <sourceDependencies> > <sourceDependency>mygroup:myartifact</sourceDependency> > </sourceDependencies> > </configuration> > <dependencies> > <dependency> > <groupId>mygroup</groupId> > <artifactId>myartifact</artifactId> > <version>1.0</version> > <classifier>sources</classifier> > </dependency> > </dependencies> > </plugin> > > We could then perhaps supply jar urls to apt to avoid unzipping them, > if apt supports such a feature. Feel free to raise an issue under the > apt component here for this: > http://jira.codehaus.org/browse/MOJO
Thank you Mark, it's created. From what I have understood, I am afraid APT won't understand an URI which targets a jar file... I hope I am wrong. By the way, thank you for this plugin, I learnt a lot on maven plugin development by reading its code ;-) -- Hubert --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email