Torsten,

While you are right that you can do this setup using relative paths and so on like Ansgar told you rightly and you have discovered yourself.. it wont work nicely.

If you are fighting Maven you are wasting a lot of time and effort. Just refactor the build to follow maven conventions.. it will be way easier to deal with it..

manfred

On 12-02-20 02:48 PM, Dipl.-Ing. Torsten Liermann wrote:
Hi,

you are right, but that was not my decision. Maven work with this
configuration, relative pathes to the child modules is sufficiently

<modules>
   <module>../child1</module>
   <module>../child2</module>
   ...
</modules>

Now I must see, if is it possible, to give the scm commands a working directory.

Greetings
Torsten

On Mon, 20 Feb 2012 22:22:13 +0100
  Ansgar Konermann<[email protected]>  wrote:
Hi Torsten,

Am 20.02.2012 22:02, schrieb Dipl.-Ing. Torsten Liermann:
My parent pom is on the same level as the children poms
If you mean "they're in the same directory": this is a configuration
error. Maven is not designed to work with this setup.

Please configure your project to follow Maven directory layout
conventions (i. e. put child modules in subdirectories and put the
pom.xml of each submodule in the corresponding directory).

If you cannot use Maven conventions at all for some reason, it's best to
choose a different tool.

Best regards

Ansgar

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to