You can use
<dependency>
      <groupId>foo</groupId>
      <artifactId>foo-baa</artifactId>
      <version>xx</version>
      <type>jar</type>
      <properties>
         <eclipse.dependency>true</eclipse.dependency>  <---- This makes a
trick
    </properties>
</dependency>


Try to see the latest, CVS HEAD version of the plugin.

Michal

> -----Original Message-----
> From: Martin Skopp [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 8:49 AM
> To: Maven Users; Christian Riege
> Subject: (sub)project dependencies without versioning (agains
> developmentvers)
>
>
> Eclipse has this wonderful feature where you can define project A to
> depend upon project B, C, D etc.  Which means, it depends upon the
> _current_ development snapshot (=sources) on your harddrive and eclipse
> compiles project B, C, D etc as well if required.
>
> Is the same possible in maven???  If yes, how?
>
> I know all the advantages of versioned jars and yes I know the SNAPSHOT
> feature.
> But it's not the same: You still have to deploy a SNAPSHOT version.  Is
> there any way get the Eclipse convenience in maven?
>
> A quick hack could be to add "../subprojectB/target/classes" etc. to the
> compile classpath.  If one knows the jelly sniplet that does that job,
> please post.
>
> Thanks,
> --
> Martin Skopp
> Riege Software International GmbH
> Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
>
> This email is intended to be viewed with a nonproportional font.
> Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
> Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to