Here's what you are doing wrong:

you are trying to do things the ANT way (i.e. let's check in a
directory of jars into SCM) using Maven.

Use a repository manager and don't keep a local repo contained within
your project.

;-)

-Stephen

2009/4/21 nino martinez wael <nino.martinez.w...@gmail.com>:
> Hi
>
> I have a multimodule project where I have a local repo contained
> within the project currently it's defined as this:
>
>        <repositories>
>                <repository>
>                        <releases>
>                                <checksumPolicy>warn</checksumPolicy>
>                                <enabled>true</enabled>
>                                <updatePolicy>interval:60</updatePolicy>
>                        </releases>
>                        <id>local.3rd.party</id>
>                        <name>Local 3rd Party repo</name>
>                        <url>file://${basedir}/repo</url>
>                </repository>
>        </repositories>
>
> In my parent pom.xml however that generates a structure relative to
> the sub projects like this:
>
> parent
> |
> |--Sub\repo
>
> however what I want are this:
>
> parent
> |
> |-Repo\dependencies
> |-Sub
>
> I've tried substituting basedir with project.parent.basedir, it's not
> working... What am I doing wrong?
>
> regards Nino
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to