If its really that much work, you could merge all your jars into a
single huge jar, then you only have one jar to install and one
dependency to add to your pom.xml files.

But more seriously, Maven does not have the ability to utilize jars in
lib folders. The only way it gets dependencies is via the <dependency>
node in the pom.xml file, which requires that your artifacts be
installed in a Maven repository.

A while back, someone wrote a little shell script which installed all
jars in a directory with a standard groupId and version (and utilized
the file name as the artifactId), and then produced a report at the
end with all the <dependency> nodes for all the artifacts just
installed. They sent the script to this email list, so if you search
Nabble or Google, you should probably be able to find it.

Wayne

On 6/1/07, CasMeiron <[EMAIL PROTECTED]> wrote:
I dont think u can do that.
Maven uses repository (groupId + artifactID) to find urs dependencies, its
not that hard to create them using maven install command line.

U should try.

On 6/1/07, Maarten Volders <[EMAIL PROTECTED]> wrote:
>
> All,
>
> I have a lot of libs which are not in the repository (central) each of
> them
> depending on a whole bunch of other libs, and manually putting them in the
> internal repository is really a lot of work, type-work :-) because all the
> dependencies have to be declared manually. So instead I want to make use
> of
> a lib directory instead of retrieving all my jar from the repository.
>
> How can this be accomplished with Maven?
>
> Grtz
>



--
Paulo Cesar Silva Reis
-------------------------------
Powered by GMAIL


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

Reply via email to