maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kakunin" <akaku...@gmail.com>
Subject Re: M2, AntRun, Multi-Module Project and ant-classpath
Date Wed, 06 Sep 2006 19:19:05 GMT
Thank you, it helps me to find workaround!


2006/9/6, Chris Hilton <chilton@alterpoint.com>:
>
> Looks like MANTRUN-52.
>
> http://jira.codehaus.org/browse/MANTRUN-52
>
> Chris
>
> > -----Original Message-----
> > From: Alexey Kakunin [mailto:akakunin@gmail.com]
> > Sent: Tuesday, 05 September, 2006 14:34
> > To: users@maven.apache.org
> > Subject: M2, AntRun, Multi-Module Project and ant-classpath
> >
> > Hello!
> >
> > I have followed strcuture of the project:
> > masterProject
> > - pom.xml
> >  - moduleProject
> >   - pom.xml
> >     <plugin>
> >       <artefactId>maven-antrun-plugin</artefactId>
> >        <ant antfile"...."/>
> >        <dependencies>
> >          <dependency>junit</dependency>
> >        </dependencies>
> >     </plugin>
> >
> >
> > So, I have master project. TYhis master project has no any
> > own settings - just included subprojects as modules,
> > moduleProject used maven-antrun-plugin to call thirdParty ant
> > build. This build is required to have JUnit in ant-classpath.
> > To do it I added JUnit into plugin dependency - and
> > everything work ok.
> > But! Only in case if I call build from modelProject directory.
> >
> > If I call build in masterProject directory, it calls
> > moduleProject, it calls thirdParty ant build.xml - but in
> > this case JUnit is not in ant-classpath (even it is descibed
> > in maven-antrun-plugin dependency).
> > Why? Does anybody know why build may differ depending is it
> > called directly from module directory - or from master project?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message