Hi Geeks
I just want to discuss this before adding it as an enhancement to the
project.
Problem:
Adding project level archives that I want to distribute with the project
and which are not available in the remote repository like JOTM, JAXB etc
through the POM dependencies.
Proposed Solution:
Adding a flag telling Maven to load the archive from a given URL:
<dependencies>
<dependency>
<groupId>test</groupId>
<artifactId>mytest</artifactId>
<version>1.2</version>
<localCache>file:./lib</localCache>
</dependency>
</dependencies>
Maven would then try to load 'mytest-1.0.jar' from './lib/test/jars/'
directory.
So far I had to add this archives manually by using 'maven:addPath' but
I think that declaring it in the POM would make it clearer to the user
and would avoid to hassle for the user to place it manually into the
local repository.
What do you think?
-Andy