[ http://jira.codehaus.org/browse/MDOCCK-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton closed MDOCCK-8. -------------------------------- Assignee: Vincent Siveton Resolution: Fixed Fix Version/s: 1.0-beta-2 bumped to commons-httpclient:3.0.1 as you suggested > NTLM proxy problems: Authentication state already initialized > ------------------------------------------------------------- > > Key: MDOCCK-8 > URL: http://jira.codehaus.org/browse/MDOCCK-8 > Project: Maven 2.x DOCCK Plugin > Issue Type: Bug > Affects Versions: 1.0-beta-1 > Reporter: Graham Leggett > Assignee: Vincent Siveton > Priority: Critical > Fix For: 1.0-beta-2 > > > When an attempt is made to build the maven-antrun-plugin, which uses the > docck plugin, from within a corporate network using an NTLM proxy, the > following exception below is thrown by commons-httpclient. > Google finds lots of references to this exception from around 2005, the fix > is probably to depend on a more recent version of commons-httpclient. > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Authentication state already initialized > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.IllegalStateException: Authentication state already initialized > at > org.apache.commons.httpclient.auth.AuthState.setPreemptive(AuthState. > java:119) > at > org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpM > ethodDirector.java:486) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt > pMethodDirector.java:390) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe > thodDirector.java:170) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav > a:396) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav > a:324) > at > org.apache.maven.plugin.docck.AbstractCheckDocumentationMojo.checkURL > (AbstractCheckDocumentationMojo.java:470) > at > org.apache.maven.plugin.docck.AbstractCheckDocumentationMojo.checkPom > Requirements(AbstractCheckDocumentationMojo.java:377) > at > org.apache.maven.plugin.docck.AbstractCheckDocumentationMojo.checkPro > ject(AbstractCheckDocumentationMojo.java:295) > at > org.apache.maven.plugin.docck.AbstractCheckDocumentationMojo.execute( > AbstractCheckDocumentationMojo.java:144) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:480) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy > cle(DefaultLifecycleExecutor.java:896) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def > aultLifecycleExecutor.java:739) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:510) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > 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) -- 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