"Jochen Wiedmann" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I have a parent project (Apache XML-RPC) with several childs: common,
> client, server, and tests.
>
> When deploying, they are all transmitted to the server. For obvious
> reasons, I do not want the tests to be published, so I remove the
> tests folder from the repository later on. However, the best solution
> would be, if I could tell the maven-deploy-plugin not to deploy the
> tests project at all.
>
> Is that possible? Another thrick to achieve the same goal?
>
Hi,
You could use profiles: they allow you to control modules. Something
like this:
(profiles
(profile
(id 'testing')
(modules (module 'my-module')
))))
Then you can
mvn -P testing test
or
mvn deploy
HTH
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]