Thank you, it helps me to find workaround!

2006/9/6, Chris Hilton <[EMAIL PROTECTED]>:

Looks like MANTRUN-52.

http://jira.codehaus.org/browse/MANTRUN-52

Chris

> -----Original Message-----
> From: Alexey Kakunin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 05 September, 2006 14:34
> To: [email protected]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to