force a plugin to use the compile.classpath?

2009-05-19 Thread torsten . reinhard
Hi, I´m using soapUI from Eviware.com and their maven-soapui-pro-plugin. The Plugin has it´s own dependencies, but for execution time (where *.groovy Code is called) i need additional 3rd party libraries, and some code (java and or groovy) from my own project, lying at src\main\java or

Why isn't Surefire more easier and more sensible to use?

2009-05-19 Thread Ben Hutchison
Ive recently started using Surefire as part of a Maven project. I was surprised how inconvenient it was to use, and how things about it seemed, well... broken. 1. When running a suite of tests with surefire:test http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html, the main

Re: maven-compiler-plugin unpacking dependencies into target/classes

2009-05-19 Thread Michael Guyver
bump? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Have maven stop compilation when some rule is broken

2009-05-19 Thread bgik
Hi Brian Thanks for the swift reply. I'll take a look at this. much appreciated BRIAN FOX-5 wrote: The maven-enforcer-plugin is well suited for this. You could use one of the existing rules, perhaps the failIfFileExists or easily write your own rule. On Mon, May 18, 2009 at 12:47 PM,

Re: Maven: The Definitive Guide in French

2009-05-19 Thread Rémy Sanlaville
Same as Arnaud. I will try to do my best but I am very busy at the moment. Rémy On Mon, May 18, 2009 at 9:45 PM, Arnaud HERITIER aherit...@gmail.comwrote: I think you can create a google group to discuss in french.I'll join it, even if I don't think I'll have the time to help you before

Re: Maven: The Definitive Guide in French

2009-05-19 Thread nicolas de loof
I just created a dedicated Google Group and sent an invitation to this thread authors http://groups.google.com/group/maven-the-definitive-guide-in-french?lnk=gcimh http://groups.google.com/group/maven-the-definitive-guide-in-french Feel free to join if anyone is interested to contribute. I myself

Exploding dependencies in a war

2009-05-19 Thread Stevo Slavić
Hello Maven users, In a multimodule project, a module has war packaging and depends on some of the modules with jar packaging from the same project. Is there a way to configure war (or some other plugin like dependency or assembly) plugin so that war ends up with classes of other depenedant

Why isn't Surefire more easier and more sensible to use?

2009-05-19 Thread Ben Hutchison
Ive recently started using Surefire as part of a Maven project. I was really surprised how inconvenient it was to use, and how things about it seemed, well... stupid. 1. When running a suite of tests with surefire:test http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html,

Re: Why isn't Surefire more easier and more sensible to use?

2009-05-19 Thread Brett Porter
On 19/05/2009, at 11:50 AM, Ben Hutchison wrote: Ive recently started using Surefire as part of a Maven project. I was surprised how inconvenient it was to use, and how things about it seemed, well... broken. 1. When running a suite of tests with surefire:test

Processing resources multiple times - possible?

2009-05-19 Thread Andy Law
Apologies if the solution to what I am trying to achieve is obvious. If I have a directory of text resource files, is it possible to process/filter them *multiple* times in a single build? For example, if I have a file called general.xml in resources that contains... ${species}.wibble.wobble

Re: Have maven stop compilation when some rule is broken

2009-05-19 Thread bgik
Brian I've just tried to build and run your example from http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html. There's no problem building it, just my attempt to use it doesnt work. I'm using mvn 2.0.9. I consistently get the error below, any ideas? [ERROR] BUILD ERROR

jetty 7 maven plugin

2009-05-19 Thread tubin gen
plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version7.0.0.1beta0/version configuration contextPath/audit/contextPath jettyEnvXml${basedir}/jetty-env.xml/jettyEnvXml

Re: jetty 7 maven plugin

2009-05-19 Thread Mick Knutson
Here is mine: plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId !--version7.0.0.pre5/version-- configuration contextPath/${project.build.finalName}/contextPath

mvn install for ear project

2009-05-19 Thread tubin gen
my project has subprojects one for ear , one for war and one for jar . I get this error when I run mvn install java.lang.NullPointerException at org.apache.maven.plugin.war.util.WebappStructure.getDependencies(WebappStructure.java:109) at

When using pom hierarchies where is the best place to add the distributionManagement bits?

2009-05-19 Thread emerson cargnin
Hi I have a few leves of hierarquies in our system. What is the suggested place to add the distributionManagement tag? For building I will use projects individually, so I will check out only the project without the parents. regards Emerson

Re: jetty 7 maven plugin

2009-05-19 Thread fachhoch
it worked with version7.0.0.pre5/version thanks. mickknutson wrote: Here is mine: plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId !--version7.0.0.pre5/version--

Re: When using pom hierarchies where is the best place to add the distributionManagement bits?

2009-05-19 Thread Baptiste MATHUS
Well, I'd say it totally depends on your organization. But I guess you could begin by putting the dependencies used very widely (e.g. commons-lang?) in your top pom. About your second sentence, well I'm not sure I understand what you mean. I guess you know that the parent pom will indeed be

Re: Trouble finding correct repositories

2009-05-19 Thread daniel.green
After much pounding my head against the keyboard, I've made significant progress. I am unsure about satisfying one particular dependency though because I am unclear on why it's there... code profiles profile iddefault-tools.jar/id activation

Re: It's works, but I don't understand why...

2009-05-19 Thread prenaud76
We have the exact same issue here and we also don't understand why the solution found by Remy works. It seems to me like a bug... -- View this message in context: http://www.nabble.com/It%27s-works%2C-but-I-don%27t-understand-why...-tp21215546p23624547.html Sent from the Maven - Users mailing

target/test-classes priority over target/classes

2009-05-19 Thread Felipe Kamakura
Hello, Does Maven gives priority to classes and resources in target/test-classes over classes and resources in target/classes? I'm asking this because I making a test, and it uses a resource that has the same name of a resource in src/main/resources. I expect that my test sees this test

Re: [maven 2] assembly: repository from multiple modules

2009-05-19 Thread Dominic Mitchell
On 15 May 2009, at 22:36, Brian Fox wrote: The dependency:copy-dependencies can also produce a repository layout. Surely some combination of that plus assembly to zip it up should work. It's a good start, but it's not complete. For example, it doesn't include any plugins. Ideally,

Re: target/test-classes priority over target/classes

2009-05-19 Thread Artur Wystub
Put your test resource in src/test/resources so it should work. Felipe Kamakura schrieb: Hello, Does Maven gives priority to classes and resources in target/test-classes over classes and resources in target/classes? I'm asking this because I making a test, and it uses a resource that has the

Re: Why isn't Surefire more easier and more sensible to use?

2009-05-19 Thread Ben Hutchison
brettporter wrote: On 19/05/2009, at 11:50 AM, Ben Hutchison wrote: 1. When running a suite of tests with surefire:test http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html , the main thing you want to see a summary of all failed tests. It is THE most important and