Re: code location for junit and cobetura plugins
Hi Salvador, Thanks, I will give that a try. Mark Salvador Diaz wrote: > > Have you tried declaring a > path/to/your/tests in the > build section of your pom ? > > Regards, > > Salvador > Mark-E wrote: >> Hi, >>I have several projects that I currently build with maven. I want to >> start using the junit and cobertura plugins however the junit code does >> not >> live under the src folder. It is in /test. >> >> Is there a parameter that I can set that tells maven the location to look >> in >> for the junti code, for example, ${basedir}/tests, for both these >> plugins? >> >> I have seen the one in the cobertura plugin but I think it assumes the >> junit >> code lives under the src folder . >> >> I would perfer not to move the code or to try and use an ant task to >> relocate it during the build if I can set the location with a simple >> parameter. >> >> Thanks, >> Mark >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/code-location-for-junit-and-cobetura-plugins-tp16850553s177p16941924.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: code location for junit and cobetura plugins
Have you tried declaring a path/to/your/tests in the build section of your pom ? Regards, Salvador Mark-E wrote: Hi, I have several projects that I currently build with maven. I want to start using the junit and cobertura plugins however the junit code does not live under the src folder. It is in /test. Is there a parameter that I can set that tells maven the location to look in for the junti code, for example, ${basedir}/tests, for both these plugins? I have seen the one in the cobertura plugin but I think it assumes the junit code lives under the src folder . I would perfer not to move the code or to try and use an ant task to relocate it during the build if I can set the location with a simple parameter. Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
code location for junit and cobetura plugins
Hi, I have several projects that I currently build with maven. I want to start using the junit and cobertura plugins however the junit code does not live under the src folder. It is in /test. Is there a parameter that I can set that tells maven the location to look in for the junti code, for example, ${basedir}/tests, for both these plugins? I have seen the one in the cobertura plugin but I think it assumes the junit code lives under the src folder . I would perfer not to move the code or to try and use an ant task to relocate it during the build if I can set the location with a simple parameter. Thanks, Mark -- View this message in context: http://www.nabble.com/code-location-for-junit-and-cobetura-plugins-tp16850553s177p16850553.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]