This may not work for you, but I use Eclipse with the Maven plugin (
http://m2eclipse.codehaus.org/) which will automatically do what you are
asking with other dependent projects open in the workspace.

On Fri, May 16, 2008 at 10:34 AM, BenDave <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I am working on 2 projects, one is Dependant on the other. The usual way of
> dealing with this is to add a dependency to a jar file located in the
> repository. This works fine but the source project (on which the target
> project depends) is constantly evolving, as we are doing some iterative
> development. The source and target project are modified at the same time.
> Consequently i don't want to work off a jar file of the source project,
> because generating jar files and deploying them to the repository takes too
> long (only 20 seconds but it adds up when this is done dozens / hundreds of
> times per day ).
> I do not want to merge these two projects into one as the source is a
> common
> project and is being used by other projects too, I need these two projects
> to be distinct.
>
> So the solution is to indicate to maven a source folder which the target
> project depends on rather than a JAR file.
>
> Can this be achieved ?
>
> Thanks,
>
> --
> View this message in context:
> http://www.nabble.com/Maven-2-Dependency-on-java-source-folder-rather-than-jar-file-tp17276237p17276237.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>

Reply via email to