> Hi there, Hi,
> > 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? The groupId is define in the master pom and not in maven-scm-api. I removed it 2 days ago. > > 2/ Most elements are duplicated from the master pom. Is that normal? Which? > > 3/ Is it necessary to have <modelVersion>4.0.0</modelVersion> in all > subprojects or can it be inherited? No, it's necessary to define the model version for know which model reader we want to use. A project will can extend an other with a different model version. > > 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 What is your artifactId? > > <modules> > <module>cargo-core-util</module> > </modules> > > What am I doing wrong? The module declare in a pom correspond to artifactId of a sub-project > > That's enough questions for now. I'll have many more questions coming... ;-) > Anytime, feel free to point me to some doc/code. > Emmanuel