You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Osborne, Matthew" <Ma...@suny.edu> on 2005/11/29 14:59:53 UTC

Referencing archive files outside a repository in Maven 2.0

Hello
    I am currently porting an existing project we have here at work from
ANT to Maven 2.0.  In this process, I am trying to disturb the directory
structure of our project as little as possible.  The problem I've
encountered is that we reference different library files from each
individual module as opposed to a central repository.  Is it possible to
duplicate this structure in Maven, or are you required to place all of
your library files in a central repository somewhere?

Matthew Osborne

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


Re: Referencing archive files outside a repository in Maven 2.0

Posted by Brett Porter <br...@gmail.com>.
You need to move your libraries into a central repository to make the
dependency mechanism work. This doesn't actually disturb your
structure as you are just duplicating those files in the repository.
This takes the most time for the first project converted, but is
obviously a lot faster subsequently as artifacts are already in the
repository.

- Brett

On 11/30/05, Osborne, Matthew <Ma...@suny.edu> wrote:
> Hello
>     I am currently porting an existing project we have here at work from
> ANT to Maven 2.0.  In this process, I am trying to disturb the directory
> structure of our project as little as possible.  The problem I've
> encountered is that we reference different library files from each
> individual module as opposed to a central repository.  Is it possible to
> duplicate this structure in Maven, or are you required to place all of
> your library files in a central repository somewhere?
>
> Matthew Osborne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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