You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michal Maczka <mi...@cqs.ch> on 2003/05/28 15:05:53 UTC

RE: (sub)project dependencies without versioning (againsdevelopmentvers)

I personally use following layout:

foo-main (is used to start reactor)
foo-common (contains settings "inherited" by componentA, componentB etc.)
foo-componentA
foo-componentB
...



in "foo-main" project I have (in maven.xml)


 <goal name="foo:for-all">

    <maven:reactor
      basedir="${basedir}/.."
      includes="foo-*/project.xml"
      excludes="foo-main/*,foo-common/*"
      goals="${goals}"
      banner="Building"
      ignoreFailures="false"
    />
  </goal>


and after from foo-main I use it like:

maven foo:for-all -Dgoals=clean,eclipse,jar:install-snapshot


Plus I use the special settings for eclipse described in my previous email.



Michal



> -----Original Message-----
> From: Martin Skopp [mailto:skopp@riege.de]
> Sent: Wednesday, May 28, 2003 10:59 AM
> To: Maven Users List
> Subject: RE: (sub)project dependencies without versioning
> (againsdevelopmentvers)
> 
> 
> On Wed, 2003-05-28 at 10:33, Michal Maczka wrote:
> > <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.
> 
> You mean the eclipse plugin?
> Well well, that's good news anyway, but my project has
> commandline/non-eclipse guys (vi editor user(!)) and eclipse guys:
> 
> And so I search for the option for CLI maven user to get the
> jars/classes from dependency sub-projects into maven's classpath for
> compiling with maven CLI.
> -- 
> Martin Skopp
> Riege Software International GmbH
> Support: mailto:maint@riege.com, 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org