Maven dies when trying to report a plugin error
-----------------------------------------------

         Key: MNG-1414
         URL: http://jira.codehaus.org/browse/MNG-1414
     Project: Maven 2
        Type: Bug
    Versions: 2.0    
    Reporter: mike perham


While trying to build an EAR with Maven 2.0.


[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-ear-plugin:2.0:generate-application-xml' --
>
[DEBUG]   (f) displayName = wsf-runtime-ear
[DEBUG]   (f) generatedDescriptorLocation = 
D:\perforce\depot\modules\cordoba\runtime-ear\target
[DEBUG]   (f) groupId = wsf
[DEBUG]   (f) artifactId = wsf-engine-web
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
---------------------------------------------------
constituent[0]: file:/c:/dev/maven-2.0/lib/commons-cli-1.0.jar
constituent[1]: file:/c:/dev/maven-2.0/lib/doxia-sink-api-1.0-alpha-4.jar
constituent[2]: file:/c:/dev/maven-2.0/lib/jsch-0.1.23.jar
constituent[3]: file:/c:/dev/maven-2.0/lib/maven-artifact-2.0-1.jar
constituent[4]: file:/c:/dev/maven-2.0/lib/maven-artifact-manager-2.0-1.jar
constituent[5]: file:/c:/dev/maven-2.0/lib/maven-core-2.0.jar
constituent[6]: file:/c:/dev/maven-2.0/lib/maven-error-diagnostics-2.0.jar
constituent[7]: file:/c:/dev/maven-2.0/lib/maven-model-2.0.jar
constituent[8]: file:/c:/dev/maven-2.0/lib/maven-monitor-2.0.jar
constituent[9]: file:/c:/dev/maven-2.0/lib/maven-plugin-api-2.0.jar
constituent[10]: file:/c:/dev/maven-2.0/lib/maven-plugin-descriptor-2.0.jar
constituent[11]: 
file:/c:/dev/maven-2.0/lib/maven-plugin-parameter-documenter-2.0.jar
constituent[12]: file:/c:/dev/maven-2.0/lib/maven-plugin-registry-2.0.jar
constituent[13]: file:/c:/dev/maven-2.0/lib/maven-profile-2.0.jar
constituent[14]: file:/c:/dev/maven-2.0/lib/maven-project-2.0-1.jar
constituent[15]: file:/c:/dev/maven-2.0/lib/maven-reporting-api-2.0.jar
constituent[16]: file:/c:/dev/maven-2.0/lib/maven-repository-metadata-2.0.jar
constituent[17]: file:/c:/dev/maven-2.0/lib/maven-settings-2.0.jar
constituent[18]: 
file:/c:/dev/maven-2.0/lib/plexus-interactivity-api-1.0-alpha-4.jar
constituent[19]: file:/c:/dev/maven-2.0/lib/wagon-file-1.0-alpha-5.jar
constituent[20]: 
file:/c:/dev/maven-2.0/lib/wagon-http-lightweight-1.0-alpha-5.jar
constituent[21]: file:/c:/dev/maven-2.0/lib/wagon-provider-api-1.0-alpha-5.jar
constituent[22]: file:/c:/dev/maven-2.0/lib/wagon-ssh-1.0-alpha-5.jar
---------------------------------------------------
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:758)
        at java.util.regex.Matcher.find(Matcher.java:414)
        at 
org.apache.maven.plugin.PluginConfigurationException.addParameterUsageInfo(PluginConfigur
ationException.java:92)
        at 
org.apache.maven.plugin.PluginConfigurationException.buildConfigurationDiagnosticMessage(
PluginConfigurationException.java:272)
        at 
org.apache.maven.usability.PluginConfigurationDiagnoser.diagnose(PluginConfigurationDiagn
oser.java:49)
        at 
org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose(ErrorDiagnostics.java:81
)
        at org.apache.maven.DefaultMaven.logDiagnostics(DefaultMaven.java:693)
        at org.apache.maven.DefaultMaven.logError(DefaultMaven.java:640)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:119)
        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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to