Hi Rorbert,

I didn't see such a plugin for m1.

The common practice is to create a new project for your common classes
http://maven.apache.org/maven-1.x/using/bestpractices.html#Refactor_Your_Build
"If you need to share test code among different projects, put that test code
in its own artifact (this time included in the main source tree) and depend
on that artifact for your tests in other projects."

Arnaud

On 10/11/06, RobertK <[EMAIL PROTECTED]> wrote:


Hi,

using Maven 1.0.2, I am just wondering is this plugin available for maven
1:
http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html

Using multiproject and some tests have dependencies on common files so
would
be nice not to have to duplicate the resources.

Is a viable alternative to run a custom maven goal (ant task?) to compile
a
jar and then add a dependency to it in the project.xml file?
--
View this message in context:
http://www.nabble.com/Maven-1%2C-need-help-jar%3Atest-jar-tf2422460.html#a6753737
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to