I have also run up against the bug filed in jira under MNG-1323.

http://jira.codehaus.org/browse/MNG-1323

The basic issue is that in a multi-module build, for child modules,
plugin dependencies are not always resolved.

I'm trying to come up with a workaround, but haven't yet come up with a
successful way of doing it.  In this case, I need to write a jacidl
plugin, but how would I get the jar (a dependency) on the classpath for
this plugin to execute?


The original pom snippet is below:



          <plugin>
             <artifactId>maven-antrun-plugin</artifactId>
             <executions>
                <execution>
                   <id>jacidl</id>
                   <phase>process-resources</phase>
                   <configuration>
                      <tasks>
                                               
                        <taskdef name="jacidl"
classname="org.jacorb.idl.JacIDL"/>
                        
                        <jacidl srcdir="${basedir}/src"
                           destdir="${basedir}/output/gen-src"
                           includepath="${basedir}/output/idl"
 
includes="**/TransactionService.idl,**/SASCurrent.idl"/>
                           
                               
                      </tasks>
                   </configuration>
                   <goals>
                     <goal>run</goal>
                   </goals>
                </execution>
            <!-- this plugin will need the jacorb jar as a dependency
-->
            <dependencies>
              <dependency>
                <groupId>jacorb</groupId>
                <artifactId>idl</artifactId>
                <version>2.2.2.jboss.patch3</version>
             </dependencies>
         </plugin>   
Ruel Loehr
JBoss QA
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to