You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Levine <ml...@echostorm.net> on 2006/03/24 17:14:49 UTC

Plugin Properties

Maven Users,

I've been trying to use maven properties, such as  
pom.build.sourceDirectory within the maven-antrun-plugin with no  
sucess.  The maven.compile.classpath property works fine as a  
classpathref, but when used within evaluation brackets ${ ... }, the  
properties are no being evaluated.  Here is the source:

         <plugins>
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
                         <phase>generate-sources</phase>
                         <configuration>
                             <tasks>
                                 <taskdef
                                     resource="axis-tasks.properties"
                                      
classpathref="maven.compile.classpath" />
                                 <axis-wsdl2java
                                     output="$ 
{pom.build.sourceDirectory}" verbose="true"
                                     url="http:// 
lightning.echostorm.net:8080/CaptureManager/majiic_video- 
capturemanager.wsdl">
                                     <mapping
                                         namespace="http:// 
www.dod.mil/majiic-video/1.0/majiic_video-capturemanager#"
                                          
package="majiic.isris.domain" />
                                     <mapping
                                         namespace="http:// 
www.dod.mil/majiic-video/1.0/majiic_video-core#"
                                          
package="majiic.isris.domain" />
                                     <mapping
                                         namespace="urn:majiic_video- 
capturemanager-wsdl#"
                                          
package="majiic.isris.capmanager.service.axis" />
                                 </axis-wsdl2java>
                             </tasks>
                         </configuration>
                         <goals>
                             <goal>run</goal>
                         </goals>
                     </execution>
                 </executions>
             </plugin>
         </plugins>

Any help would be greatly appreciated.  Thanks.