Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-696

Internal Regexp Error with Windows Paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.4.1
    • None
    • None
    • Windows 7
      maven-assembly-plugin trunk@e785abb
    • Patch

    Description

      On windows the Assembly plugin shows this error:

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5-SNAPSHOT:single (default-cli) on project myproject: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.5-SNAPSHOT:single failed: Unexpected internal error near index 1
      \
       ^
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
      ....
      Caused by: java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
      \
       ^
              at java.util.regex.Pattern.error(Pattern.java:1924)
              at java.util.regex.Pattern.compile(Pattern.java:1671)
              at java.util.regex.Pattern.<init>(Pattern.java:1337)
              at java.util.regex.Pattern.compile(Pattern.java:1022)
              at java.lang.String.split(String.java:2313)
              at java.lang.String.split(String.java:2355)
              at org.apache.maven.plugin.assembly.utils.AssemblyFormatUtils.fixRelativeRefs(AssemblyFormatUtils.java:509)
      
      

      Attachments

        1. MASSEMBLY-696.tar.gz
          1.0 kB
          kenneyw
        2. MASSEMBLY-696.patch
          2 kB
          kenneyw

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            kenney Kenney Westerhof
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: