Marco Mistroni wrote on Tuesday, September 19, 2006 10:25 AM:
> hi all,
> i am facing a problem with antrun plugin.
> I am running xdoclet task from antrun plugin (need to run
> strutsconfigxml task, which seems not to work with xdoclet plugin)
>
> I'd like to run my xdoclet task at
> <phase>generated-sources</phase>, however
> i always fall short in providing the right classpath,because
> i don't want to
> include my xdoclet jars in my web-inf\lib directory.
> for now (temporary) i am using <phase>test</phase>, but
> this is just a
> temprary solution while some maven guru can explain me what's wrong
> with my pom/dependencies/classpath
> situation as of now is that xdoclet files gets generated and xdoclet
> jars are included in web-inf\lib directory
> if i put <scope> of xdoclet files as test, xdoclet jars won't go into
> war lib directory, but still i am running the
> task at phase 'test'
[snip]
You should add the dependency to the ant-run-plugin:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
...
<dependencies>
...
</dependencies>
</plugin>
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]