ok
did you try "mvn compile"?
did you try to bind your antrun to process-classes instead?
can you give us the output of a failing run? 

Le mercredi 8 août 2007, Mick Knutson a écrit :
> No. I have the ant run plugin running, but there is no maven compile first.
>
> It skips the compile altogether.
>
> On 8/7/07, Hervé BOUTEMY <[EMAIL PROTECTED]> wrote:
> > If I understand well, you've declared the antrun execution in a parent
> > pom,
> > and want it to be executed in your modules. That's it? And I suppose it's
> > executed in the parent project before modules.
> > Did you try to write the antrun execution in modules, and not in parent
> > pom?
> >
> > Le mardi 7 août 2007, Mick Knutson a écrit :
> > > I have the ant plugin for a group of modules:
> > >
> > >                 <plugin>
> > >                     <artifactId>maven-antrun-plugin</artifactId>
> > >                     <executions>
> > >                         <execution>
> > >                             <id>bpelc</id>
> > >                             <phase>package</phase>
> > >                             <configuration>
> > >                                 <tasks>
> > >                                         <ant
> > > antfile="${project.root
> >
> > }/tools/build-tools/src/main/resources/bpel/build.xm
> >
> > >l"
> > >
> > >                                          inheritRefs="true">
> > >                                         <property name="env.BPEL_HOME"
> > > value="${bpel.home}"/>
> > >                                         <property name="rev" value="${
> > > project.version}"/>
> > >                                         <target name="compile"/>
> > >                                     </ant>
> > >                                 </tasks>
> > >                             </configuration>
> > >                             <goals>
> > >                                 <goal>run</goal>
> > >                             </goals>
> > >                         </execution>
> > >
> > >
> > > Then my module has:
> > >             <plugin>
> > >                 <artifactId>maven-antrun-plugin</artifactId>
> > >             </plugin>
> > >
> > >
> > > Now, I have java files that need to 1st be compiled in order for this
> >
> > ant
> >
> > > task to run.
> > >
> > > But I never get my source compiled and I get an error.
> > > What am I missing to get this module to compile before the ant task?
> >
> > ---------------------------------------------------------------------
> > 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