[jira] Commented: (MPLUGIN-21) Use of Java 5 annotations in Mojos produce error in QDox Parser
[ http://jira.codehaus.org/browse/MPLUGIN-21?page=comments#action_68461 ] Jurgen De Landsheer commented on MPLUGIN-21: is a copy of http://jira.codehaus.org/browse/MPLUGIN-1 > Use of Java 5 annotations in Mojos produce error in QDox Parser > --- > > Key: MPLUGIN-21 > URL: http://jira.codehaus.org/browse/MPLUGIN-21 > Project: Maven 2.x Plugin Plugin > Type: Bug > Versions: 2.1 > Environment: Windows 2000 > JAVA5 1.5.0_06 > Reporter: Chris Wewerka > > > If you use Java5 annotations in Mojos, the java extractor throws the > following exception: > com.thoughtworks.qdox.parser.ParseException: syntax error @[16,5] in > file:/E:/prj/o2/o2-sg/sd_area51_3/OcToPuS/tools/maven/plugins/maven-jax > wstools-plugin/src/main/java/com/o2/m2/plugins/jaxwstools/TestMojo.java > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504) > [...] > The mojo I've used: > package com.o2.m2.plugins.jaxwstools; > import org.apache.maven.plugin.AbstractMojo; > import org.apache.maven.plugin.MojoExecutionException; > import org.apache.maven.plugin.MojoFailureException; > /** > * @goal testgoal > * @phase process-classes > * > */ > public class TestMojo extends AbstractMojo > { > @Override > public boolean equals(Object obj) > { return super.equals(obj); } > > public void execute() throws MojoExecutionException, MojoFailureException > {} > } -- 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
[jira] Commented: (MPLUGIN-1) Maven fails while developing plugin with 1.5 compliant sources
[ http://jira.codehaus.org/browse/MPLUGIN-1?page=comments#action_68462 ] Jurgen De Landsheer commented on MPLUGIN-1: --- qdox doesn't support any annotation another problem is generic maps Map for example breaks during jar creation/installation of a plugin by any other collection does not would really like to see this resolved, thx > Maven fails while developing plugin with 1.5 compliant sources > -- > > Key: MPLUGIN-1 > URL: http://jira.codehaus.org/browse/MPLUGIN-1 > Project: Maven 2.x Plugin Plugin > Type: Bug > Reporter: Jose Gonzalez Gomez > > > I'm developing a plugin for Maven, and my sources contains 1.5 features, such > as use of generics. When I try to install the plugin in my local repository I > get the following: > [INFO] Scanning for projects... > [INFO] > > [INFO] Building Maven Docbook plugin > [INFO]task-segment: [install] > [INFO] > > [INFO] [plugin:descriptor] > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] syntax error @[129,64] in file:/C:/Documents and > Settings/jgonzalez/Mis > documentos/proyectos/otros/maven-opendocbook-plugin/src/ > main/java/com/openinput/tools/maven/opendocbook/TransformMojo.java > [INFO] > > [INFO] Trace > com.thoughtworks.qdox.parser.ParseException: syntax error @[129,64] in > file:/C:/Documents and Settings/jgonzalez/Mis > documentos/proyectos/otros/maven-opendocbook-plugin/src/main/java/com/openinput/tools/maven/opendocbook/TransformMojo.java > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504) > at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610) > at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488) > at > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296) > at > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312) > at > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:308) > at > com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:365) > 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.scan(DirectoryScanner.java:52) > at > com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:362) > at > org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.execute(JavaMojoDescriptorExtractor.java:477) > at > org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:69) > at > org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:99) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccesso
[jira] Commented: (ARCHETYPE-32) including png in site resources breaks an archetype (stacktrace+archetype.xml included)
[ http://jira.codehaus.org/browse/ARCHETYPE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97369 ] Jurgen De Landsheer commented on ARCHETYPE-32: -- maybe the field 'filtered' should be automatically set to false on binary files as I see no reason at all to filter them and even most textual files do not need to be filtered, so setting filtered to false on all files would be ok for me images (jpg, jpeg, png, etc) documents (pdf) etc > including png in site resources breaks an archetype (stacktrace+archetype.xml > included) > --- > > Key: ARCHETYPE-32 > URL: http://jira.codehaus.org/browse/ARCHETYPE-32 > Project: Maven Archetype > Issue Type: Bug > Components: Plugin >Reporter: Jurgen De Landsheer >Assignee: Jason van Zyl > > if I drop the png: creation is correct but it seems it wants to parse a png > or something? > > maven-ugent-plugin-archetype > > > src/main/java/org/codehaus/mojo/test/TestMojo.java > > > > > > src/test/java/org/codehaus/mojo/test/TestMojoTestSuite.java > > > > src/main/resources/jalopy.xml > src/main/resources/plugin.properties > > > src/test/resources/test.properties > > > src/site/site.xml > src/site/apt/usage.apt > > src/site/resources/images/logobalk_small.png > > > C:\JAVA\maven-plugins>mvn -e archetype:create > -DarchetypeGroupId=be.ugent.dict > -DarchetypeArtifactId=maven-ugent-plugin-archetype -DgroupId= > -DartifactId=test > C:\JAVA\maven-plugins>set MAVEN_OPTS=-Xmx32m -Xmx200m > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] maven-ugent-plugin-archetype > [INFO] maven-mojo-report-plugin > [INFO] maven-lint4j-plugin > [INFO] maven-juge-plugin > [INFO] maven-project-info-plugin > [INFO] maven-spring-beandoc-plugin > [INFO] maven-linguine-maps-plugin > [INFO] maven-hibernate-tools-plugin > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] org.apache.maven.plugins: checking for updates from missing-plugins > [INFO] org.apache.maven.plugins: checking for updates from ugent-plugins > [INFO] org.codehaus.mojo: checking for updates from missing-plugins > [INFO] org.codehaus.mojo: checking for updates from ugent-plugins > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for > updates from missing-plugins > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for > updates from ugent-plugins > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for > updates from missing-plugins > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for > updates from ugent-plugins > [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for > updates from missing-plugins > [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for > updates from ugent-plugins > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for > updates from missing-plugins > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for > updates from ugent-plugins > [INFO] > > [INFO] Building maven-mojo-report-plugin > [INFO]task-segment: [archetype:create] (aggregator-style) > [INFO] > > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] ** > [INFO] Starting Jakarta Velocity v1.4 > [INFO] RuntimeInstance initializing. > [INFO] Default Properties File: > org\apache\velocity\runtime\defaults\velocity.properties > [INFO] Default ResourceManager initializing. (class > org.apache.velocity.runtime.resource.ResourceManagerImpl) > [INFO] Resource Loader Instantiated: > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader > [INFO] ClasspathResourceLoader : initialization starting. > [INFO] ClasspathResourceLoader : initialization complete. > [INFO] ResourceCache : initialized. (class > org.apache.velocity.runtime.resource.ResourceCacheImpl) > [INFO] Default ResourceManager initialization complete. > [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal > [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro > [INFO] Loaded System Direc
[jira] Created: (MPIR-38) sort Project Dependencies and Project Transitive Dependencies on groupId, then artifactId
sort Project Dependencies and Project Transitive Dependencies on groupId, then artifactId - Key: MPIR-38 URL: http://jira.codehaus.org/browse/MPIR-38 Project: Maven 2.x Project Info Reports Plugin Type: Improvement Reporter: Jurgen De Landsheer Priority: Trivial it should be great if the dependencies in the site report are sorted because some projects tend to have dozens of libraries -- 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