maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-3517) Bump to org.codehaus.plexus:plexus-maven-plugin:1.3.8
Date Wed, 01 Jul 2009 17:14:05 GMT

     [ http://jira.codehaus.org/browse/MNG-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter closed MNG-3517.
-----------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.2.1)

the current Maven parent has been using this for some time.

> Bump to org.codehaus.plexus:plexus-maven-plugin:1.3.8
> -----------------------------------------------------
>
>                 Key: MNG-3517
>                 URL: http://jira.codehaus.org/browse/MNG-3517
>             Project: Maven 2
>          Issue Type: Task
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0.9
>            Reporter: Vincent Siveton
>            Assignee: Brett Porter
>
> Maven uses org.codehaus.plexus:plexus-maven-plugin:1.3.5 which is buggy when using anonymous
inner classes:
> {code:title=AddTableDialog.java|borderStyle=solid}
> public class AddTableDialog
>     extends AbstractDialog
> {
>     ...
>     private ModifyListener modifyListener = new ModifyListener()
>     {
>         /** {@inheritDoc} */
>         public void modifyText( ModifyEvent event )
>         {
>             if ( okButton != null )
>             {
>                 try
>                 {
>                     int rows = Integer.parseInt( rowsText.getText().trim() );
>                     int cols = Integer.parseInt( colsText.getText().trim() );
>                     okButton.setEnabled( rows > 0 && cols > 0 );
>                 }
>                 catch ( Exception e )
>                 {
>                     okButton.setEnabled( false );
>                 }
>             }
>         }
>     };
>     ...
> }
> {code} 
> We got the following stacktrace
> {noformat}
> [INFO] [plexus:descriptor {execution: default}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] syntax error @[92,41] in file:/D:/java/apache.org/maven/src/trunks/doxia/doxia-tools/dox
> ia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse.common.ui/src/main/java/org/apache/ma
> ven/doxia/ide/eclipse/common/ui/dialogs/AddTableDialog.java
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[92,41] in file:/D:/java/apache.org/
> maven/src/trunks/doxia/doxia-tools/doxia-ide/eclipse/plugins/org.apache.maven.doxia.ide.eclipse
> .common.ui/src/main/java/org/apache/maven/doxia/ide/eclipse/common/ui/dialogs/AddTableDialog.ja
> va
>         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:638)
>         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:747)
>         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:619)
>         at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:300)
>         at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:316)
>         at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312)
>         at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:369)
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34
> )
>         at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52
> )
>         at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:366)
>         at org.codehaus.plexus.cdc.DefaultComponentDescriptorCreator.processSources(DefaultComp
> onentDescriptorCreator.java:120)
>         at org.codehaus.plexus.maven.plugin.AbstractDescriptorMojo.generateDescriptor(AbstractD
> escriptorMojo.java:120)
>         at org.codehaus.plexus.maven.plugin.PlexusDescriptorMojo.execute(PlexusDescriptorMojo.j
> ava:71)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:4
> 51)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExe
> cutor.java:558)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(Default
> LifecycleExecutor.java:499)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExec
> utor.java:478)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(Def
> aultLifecycleExecutor.java:330)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifec
> ycleExecutor.java:291)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor
> .java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         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: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)
> {noformat}
> A workaround is to bump to org.codehaus.plexus:plexus-maven-plugin:1.3.8, ie:
> {noformat}
> <project>
>    ...
>   <build>
>    ...
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.codehaus.plexus</groupId>
>           <artifactId>plexus-maven-plugin</artifactId>
>           <version>1.3.8</version>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>     
>     <plugins>
>       <plugin>
>         <groupId>org.codehaus.plexus</groupId>
>         <artifactId>plexus-maven-plugin</artifactId>
>       </plugin>
>     </plugins>
>   </build>
> </project>
> {noformat}

-- 
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

        

Mime
View raw message