Re: WELCOME to users@maven.apache.org
Greetings, I have a custom maven plugin that uses MavenProject to getCompileDependencies() on. This works fine. But now i realize that I want to get all the dependencies for a multi module pom. So i use, @Parameter(property = "reactorProjects", readonly = true, required = true) private List reactorProjects; This injection seems to work, as i'm able to get attributes from each, like output directory. However, when i ask for getCompileDependencies(); for these reactor projects, nothing is returned. Any idea what i could be doing wrong, or is there another way of doing this? Code here. https://github.com/mebigfatguy/fbp-maven-plugin/blob/master/src/main/java/com/mebigfatguy/fbp/FBPMojo.java thanks, dave - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: WELCOME to users@maven.apache.org
Hi, How can I exclude certain JAR files (like those that are only needed during unit testing, say TestNG JARs, or for code generation, like XDoclet) from being added to my distribution ZIP file? -- Science is a differential equation. Religion is a boundary limit - Alan Turing Behrang Saeedzadeh http://www.jroller.com/page/behrangsa http://my.opera.com/behrangsa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WELCOME to users@maven.apache.org
Hi, Assuming you are using Maven 2.0.x, you can add a scope element to your dependency, like this: dependency groupId... artifactId... version... scopetest/scope /dependency If you are using Maven 1.0.x I think you need to do this manually via some jelly script hooking... On 12/18/05, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi, How can I exclude certain JAR files (like those that are only needed during unit testing, say TestNG JARs, or for code generation, like XDoclet) from being added to my distribution ZIP file? -- Science is a differential equation. Religion is a boundary limit - Alan Turing Behrang Saeedzadeh http://www.jroller.com/page/behrangsa http://my.opera.com/behrangsa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, _ Arik Kfir[EMAIL PROTECTED]