youhaodeyi schrieb:
> Sometimes a project has many sub-modules and each of them may have
> sub-sub-modules. I don't want to get all the source codes. How can I work on
> a sub-module without its parent pom file? 
>   
The parent pom just needs to be in a repository that can be seen when
you are building the sub-module.

So if the sub-module is referencing a "released" parent pom, there
should be no problem. The released pom will be in a repository.

If the sub-module is referencing a "snapshot" version of a parent pom,
then someone needs to set up a snapshot repository somewhere, and deploy
that parent pom into the snapshot repository. Then when building the
sub-module, you just need to have that snapshot repository defined,
either by having it in the pom.xml for the sub-module, or by adding it
to your personal ~/.m2/settings.xml file. Of course you won't see any
changes that people make to that parent pom until they deploy the
modified version to the snapshot repository again.

Regards, Simon


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

Reply via email to