ok, have my plugin's configuration as

            <configuration>
              <tasks>
                 <ant inheritRefs="true">
                   <property name="build.dir" value="${
project.build.directory}"/>
                 </ant>
              </tasks>
            </configuration

and have my build.xml to reference maven.plugin.classpath, but got error

Embedded error: The following error occurred while executing this line:
M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:249: The
following er
ror occurred while executing this line:
M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:279: Reference
maven.
plugin.classpath not found.


Suggestion on how to trouble shoot this issue is greatly appreciated.

-Dan






On 1/4/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
>
> You need to use the plugin classpath in your build.xml and call <ant>
> with inheritRefs="true"
>
> <classpath refid="maven.plugin.classpath"/>
>
> On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> > Folks,
> >
> > Here is my build :
> >
> >
> >       <plugin>
> >         <artifactId>maven-antrun-plugin</artifactId>
> >         <version>1.1-SNAPSHOT</version>
> >         <dependencies>
> >           <dependency>
> >             <groupId>ant</groupId>
> >             <artifactId>ant-nodeps</artifactId>
> >             <version>1.6.5</version>
> >           </dependency>
> >           <dependency>
> >             <groupId>antlr</groupId>
> >             <artifactId>antlr</artifactId>
> >             <version>2.7.4</version>
> >           </dependency>
> >         </dependencies>
> >
> >         <executions>
> >           <execution>
> >             <phase>compile</phase>
> >             <configuration>
> >               <tasks>
> >                  <ant>
> >                    <property name="build.dir" value="${
> > project.build.directory}"/>
> >                  </ant>
> >
> >               </tasks>
> >             </configuration>
> >             <goals>
> >               <goal>run</goal>
> >             </goals>
> >           </execution>
> >         </executions>
> >       </plugin>
> >
> >
> >
> > and antrun complains
> >
> > Embedded error: The following error occurred while executing this line:
> > M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:299: Could
> not
> > create
> >  task or type of type: antlr.
> >
> > Ant could not find the task or a class this task relies upon.
> >
> >
> >
> >
> >
> > Any suggestions?
> >
> > Thanks
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to