Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2285

local repository path cannot have special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 3.0-alpha-3
    • None
    • Windows XP

    Description

      When there are special characters in the <localrepository> path and running the command mvn clean.causes the exception

      java.lang.NullPointerException
      at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginM
      anager.java:295)
      at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De
      faultPluginManager.java:200)
      at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
      inManager.java:165)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
      ultLifecycleExecutor.java:1218)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
      (DefaultLifecycleExecutor.java:1430)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
      AggregationNeeds(DefaultLifecycleExecutor.java:378)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
      fecycleExecutor.java:134)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      Attached is the settiings.xml.

      Attachments

        1. settings.xml
          9 kB
          Ravi Varanasi

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              ravi116 Ravi Varanasi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: