maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Frey (JIRA)" <>
Subject [jira] Created: (MANTRUN-84) Taskdef classpath not reolved
Date Thu, 20 Mar 2008 16:04:46 GMT
Taskdef classpath not reolved

                 Key: MANTRUN-84
             Project: Maven 2.x Antrun Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Maven version: 2.0.7
Java version: 1.6.0_05
OS name: "windows xp" version: "5.1" arch: "x86"
Apache Ant version 1.7.0 compiled on December 13 2006
            Reporter: Daniel Frey

Trying to run an antrun tast ReplaceRegExp that relies on ant-optional and a regular expression
parser using Java 1.6. I have included a ZIP with the relevant files for a testcase as follows:

0. Running with JDK 1.6 and Maven 2.0.7
1. The pom.xml contains an antrun task that tries to replace some values in a given file.
2. Running the test with "mvn package" fails with the error "No supported regular expression
matcher found".
3. Decommenting the property line in pom.xml does lead to another error "ClassNotFoundException:"

On the other hand running the same task in ant 1.7 runs perfectly (as long as the property
line is not decommented).

Please try to reproduce the error.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message