> That appears to work, but is that what Maven expects me to do 
> for each jar file?

The mail.jar (and a few others) are sort of special cases, as I understand
it, because Sun does not license them for redistribution. You have to
download it specifically from Sun and no one else is allowed to post it.
Therefore, the mail jar cannot be made available in the standard Maven
repository. Is this stupid of Sun? Yes. Is this annoying for Maven users?
Yes.

For this and a number of other reasons, our company created our own Maven
repository on our company intranet. This allows us to control the repository
ourselves and, since it is not public, put any jars we like on it (including
commercial stuff). Not least, we can post our own internal jars for use by
other projects within the company.

Basically, this means that every project needs to override maven.repo.remote
in its properties file, but that's pretty much as hard as it gets. The setup
is pretty much just setting up an Apache box somewhere and throwing stuff
into a directory.

(We actually build the repository with a script from our source control
system, but this is probably overkill for most companies.)

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

Reply via email to