create shell project with scm url points to the directory containing your
parent + the 2 children modules
Then create a build definition :
command: mvn
arguramtent -f parent/pom.xml install ( what ever goal you like)
-Dan
On 4/24/06, Ryan Wynn <bigwynnr@gmail.com> wrote:
>
> Hi,
>
> I have an m2 parent project and a couple child projects. As I
> suspected I am running into problems with Maven's relativePath stuff
> in Continuum because Continuum is using numbered directories instead
> of my project names as directories.
>
> For example I have the following in the parent.
>
> <modules>
> <module>../child1</module>
> <module>../child2</module>
> </modules>
>
> This works okay running in Maven with parent and children on the same
> level of the directory structure.
>
> But of course in Continuum child1, child2, etc, are going to live in
> numbered directories. So I get a file not found exception.
>
> The problem also shows up in the child referencing the parent
>
> <parent>
> <relativePath>../parent/pom.xml</relativePath>
> </parent>
>
> because parent will be also be mapped to a number.
>
> How can I work around this? I couldn't find any others having this
> problem in the archives.
>
> Thanks,
> Ryan
>
|