Hi there,

I'm using maven-scm as my example for trying to migrate cargo from m1 to m2.
I have a few questions:

1/ In maven-scm/scm-api/pom.xml, why is groupId equal to maven and not
org.apache.maven.scm?

Isn't the groupId inherited anyway from the master pom?

2/ Most elements are duplicated from the master pom. Is that normal?

3/ Is it necessary to have <modelVersion>4.0.0</modelVersion> in all
subprojects or can it be inherited?

4/ I have the following directory structure in Cargo:

cargo/
  |_ core/
    |_ util/
      |_ pom.xml
    |_ pom.xml
  |_ pom.xml

When I type "m2 install" in cargo/, it doesn't find the nested modules. I
have the following module definitions:

cargo/pom.xml:

  <modules>
    <module>cargo-core</module>
  </modules>

cargo/core/pom.xml

  <modules>
    <module>cargo-core-util</module>
  </modules>

What am I doing wrong?

That's enough questions for now. I'll have many more questions coming... ;-)
Anytime, feel free to point me to some doc/code.

Thanks
-Vincent



Reply via email to