Hi

The ant script is doing a whole set of things, XSLT, reg ex, copy files
etc.. etc..  

The trouble seems to be the antrun plugin is not attaching the dependencies
if the maven module is called form a parent.  There are 2 parents, and both
are using <module> tag to call the next child.

Here is the code for the maven-antrun-plugin, I have no other dependencies
in the maven pom.xml.

<plugin>
  <artifactId>maven-antrun-plugin</artifactId>
  <version>1.3</version>
  <executions>
    <execution>
      <id>auto-gen</id>
      <phase>generate-sources</phase>
      <configuration>
        <tasks>
          <ant antfile="${basedir}/build.xml" />
        </tasks>
      </configuration>
      <goals>
        <goal>run</goal>
      </goals>
    </execution>
  </executions>
  <dependencies>
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant-trax</artifactId>
      <version>1.7.1</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant-apache-regexp</artifactId>
      <version>1.6.5</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant-optional</artifactId>
      <version>1.5.3-1</version>
    </dependency>
  </dependencies>
</plugin>

The ant script has the line:

<replaceregexp byline="true">
  // stuff....
</replaceregexp>


I will try and get a debugger on the antrun plugin in the next couple of
days to work out what is happening, unless this question has been answered
on here..

Regards
          
-- 
View this message in context: 
http://old.nabble.com/Antrun-plugin-reg-exp-tp27833419p27835642.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to