Right. It is in my classpath environment variable so that when I run ant, it picks up ant-jakarta-regexp. But when maven does the antrun, I get the error.
I had attempted to make ant-jakarta-regexp a dependency for the antrun plugin (as you can see in the pom, below (I put it into our local repository)), but it doesn't make the error go away. -->John -----Original Message----- From: Hassan Sajjad [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 6:42 PM To: users@maven.apache.org Subject: Maven 2 - Ant - Regular Expressions Are you missing a dependency? The documentation for regexp mapper here [http://ant.apache.org/manual/CoreTypes/mapper.html] says that you need "one of the supported regular expression libraries and the corresponding ant-[jakarta-oro, jakarta-regexp, apache-oro, apache-regexp].jar" in your classpath. ORIGINAL MESSAGE: I have an ant task (ant 1.6.5) that uses the regexpmapper. When I run the task with just ant, it works. When I add that task using antrun in maven, I get this error: Embedded error: The following error occurred while executing this line: /var/home/jmartin/build.xml:80: Could not create type regexpmapper due to No supported regular expression matcher found I don't understand where this is coming from. -->John My pom has this: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>ant-install</id> <phase>install</phase> <configuration> <tasks> <ant antfile="${basedir}/build.xml" inheritRefs="true"> <target name="prepare-portal"/> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>ant-apache-regexp</groupId> <artifactId>ant-apache-regexp</artifactId> <version>1.6.5</version> <scope>runtime</scope> </dependency> </dependencies> </plugin> </plugins> </build> --------------------------------------------------------------------- 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]