[jira] [Reopened] (WHISKER-13) Error during site generation with HelpMojo and Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg reopened WHISKER-13: Assignee: Dennis Lundberg (was: Philipp Ottlinger) The work-around made the site build fail for Java 6 and 7. Error during site generation with HelpMojo and Java8 Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (WHISKER-13) Error during site generation with HelpMojo and Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg resolved WHISKER-13. Resolution: Fixed The problem was that the version for maven-plugin-plugin was not specified in the build part of the POM, so the older buggy version 3.2 was used. Specified the correct version in [r1622985|http://svn.apache.org/viewvc?view=revisionrevision=1622985]. Error during site generation with HelpMojo and Java8 Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (WHISKER-14) Change artifactId for the Maven plugin
Dennis Lundberg created WHISKER-14: -- Summary: Change artifactId for the Maven plugin Key: WHISKER-14 URL: https://issues.apache.org/jira/browse/WHISKER-14 Project: Apache Whisker Issue Type: Improvement Reporter: Dennis Lundberg Assignee: Robert Burrell Donkin Fix For: 0.2 The Maven plugin for Whisker currently has an artifactId of apache-whisker-plugin4maven, which does not follow the standard naming conventions for Maven plugins. The standard recommends tool-maven-plugin, where tool is the tool that is run through the plugin. In our case the correct artifactId would be apache-whisker-maven-plugin. A hint that something is wrong can be seen by this warning in the build log: {noformat} [INFO] --- maven-plugin-plugin:3.3:descriptor (mojo-descriptor) @ apache-whisker-plugin4maven --- [WARNING] Goal prefix is specified as: 'plugin'. Maven currently expects it to be 'apache-whisker4'. {noformat} Somone has configured maven-plugin-plugin like this goalPrefixplugin/goalPrefix which translated to this syntax when calling the Whisker Maven plugin from the command line: {noformat} mvn plugin:generate {noformat} which doesn't make any sense. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (WHISKER-14) Change artifactId for the Maven plugin
[ https://issues.apache.org/jira/browse/WHISKER-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg resolved WHISKER-14. Resolution: Fixed Assignee: Dennis Lundberg (was: Robert Burrell Donkin) Fixed in [r1622990|http://svn.apache.org/viewvc?view=revisionrevision=1622990]. Change artifactId for the Maven plugin -- Key: WHISKER-14 URL: https://issues.apache.org/jira/browse/WHISKER-14 Project: Apache Whisker Issue Type: Improvement Reporter: Dennis Lundberg Assignee: Dennis Lundberg Fix For: 0.2 The Maven plugin for Whisker currently has an artifactId of apache-whisker-plugin4maven, which does not follow the standard naming conventions for Maven plugins. The standard recommends tool-maven-plugin, where tool is the tool that is run through the plugin. In our case the correct artifactId would be apache-whisker-maven-plugin. A hint that something is wrong can be seen by this warning in the build log: {noformat} [INFO] --- maven-plugin-plugin:3.3:descriptor (mojo-descriptor) @ apache-whisker-plugin4maven --- [WARNING] Goal prefix is specified as: 'plugin'. Maven currently expects it to be 'apache-whisker4'. {noformat} Somone has configured maven-plugin-plugin like this goalPrefixplugin/goalPrefix which translated to this syntax when calling the Whisker Maven plugin from the command line: {noformat} mvn plugin:generate {noformat} which doesn't make any sense. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Build failed in Jenkins: Creadur-Whisker-Site-Latest-Jdk #2
See https://builds.apache.org/job/Creadur-Whisker-Site-Latest-Jdk/2/ -- [...truncated 1732 lines...] [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/util/Map$Entry [java] java.lang.ArrayIndexOutOfBoundsException: 5735 [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38) [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268) [java] At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1260) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1233) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244) [java] At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:941) [java] At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997) [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/lang/CharSequence [java] java.lang.ArrayIndexOutOfBoundsException: 5747 [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38) [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268) [java] At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1260) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1233) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244) [java] At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:941) [java] At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997) [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/lang/Class [java] java.lang.ArrayIndexOutOfBoundsException: 207 [java] At org.objectweb.asm.ClassReader.a(Unknown Source) [java] At org.objectweb.asm.ClassReader.readUTF8(Unknown Source) [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At
Build failed in Jenkins: Creadur-Whisker-Site-Latest-Jdk #3
See https://builds.apache.org/job/Creadur-Whisker-Site-Latest-Jdk/3/changes Changes: [pottlinger] Tweking gitignore after current upstream changes. -- [...truncated 1879 lines...] [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/util/Map$Entry [java] java.lang.ArrayIndexOutOfBoundsException: 5735 [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38) [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268) [java] At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1260) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1233) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244) [java] At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:941) [java] At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997) [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/lang/CharSequence [java] java.lang.ArrayIndexOutOfBoundsException: 5747 [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38) [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268) [java] At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1260) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1233) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244) [java] At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:941) [java] At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997) [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) [java] Unable to get XClass for java/lang/Class [java] java.lang.ArrayIndexOutOfBoundsException: 207 [java] At org.objectweb.asm.ClassReader.a(Unknown Source) [java] At org.objectweb.asm.ClassReader.readUTF8(Unknown Source) [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110)
[jira] [Reopened] (WHISKER-13) Error during site generation with HelpMojo and Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg reopened WHISKER-13: Error during site generation with HelpMojo and Java8 Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (WHISKER-13) Error during site generation with Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg updated WHISKER-13: --- Summary: Error during site generation with Java8 (was: Error during site generation with HelpMojo and Java8) Error during site generation with Java8 --- Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WHISKER-13) Error during site generation with Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14124970#comment-14124970 ] Dennis Lundberg commented on WHISKER-13: Now that we have a Jenkins job that builds the site using the latest Java 8, another problem with the site build has been found. In the log it looks like this: {noformat} [INFO] Generating FindBugs report --- findbugs-maven-plugin:2.5.5:findbugs [INFO] Locale is en [INFO] Fork Value is true [java] The following errors occurred during analysis: [java] Unable to get XClass for java/lang/StringBuilder [java] java.lang.ArrayIndexOutOfBoundsException: 5747 [java] At org.objectweb.asm.ClassReader.readClass(Unknown Source) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44) [java] At org.objectweb.asm.ClassReader.accept(Unknown Source) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110) [java] At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76) [java] At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38) [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268) [java] At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1260) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1233) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275) [java] At edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244) [java] At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:941) [java] At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997) [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225) [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317) {noformat} This is most likely due to ASM, which is a common problem with Java 8. Error during site generation with Java8 --- Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (WHISKER-13) Error during site generation with Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg resolved WHISKER-13. Resolution: Fixed Added conditional versioning for Findbugs Maven Plugin in [r1622908|http://svn.apache.org/viewvc?view=revisionrevision=1622908]. When using Java 6 and 7 we use version 2.5.5 of the plugin, and when running on Java 8+ we use version 3.0.0 instead. This works for me locally. Let us hope it makes Jenkins happy as well. Error during site generation with Java8 --- Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (WHISKER-13) Error during site generation with Java8
[ https://issues.apache.org/jira/browse/WHISKER-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14124971#comment-14124971 ] Dennis Lundberg edited comment on WHISKER-13 at 9/7/14 5:13 PM: Added conditional versioning for Findbugs Maven Plugin in [r1623073|http://svn.apache.org/viewvc?view=revisionrevision=1623073]. When using Java 6 and 7 we use version 2.5.5 of the plugin, and when running on Java 8+ we use version 3.0.0 instead. This works for me locally. Let us hope it makes Jenkins happy as well. was (Author: denn...@apache.org): Added conditional versioning for Findbugs Maven Plugin in [r1622908|http://svn.apache.org/viewvc?view=revisionrevision=1622908]. When using Java 6 and 7 we use version 2.5.5 of the plugin, and when running on Java 8+ we use version 3.0.0 instead. This works for me locally. Let us hope it makes Jenkins happy as well. Error during site generation with Java8 --- Key: WHISKER-13 URL: https://issues.apache.org/jira/browse/WHISKER-13 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Dennis Lundberg Fix For: 0.2 The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds. It's not really clear why we get these build errors since https://jira.codehaus.org/browse/MPLUGIN-244 is solved in the version we are using (3.3) Explore what needs to be updated since we do not see this problem in RAT. The errors are: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate: [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed [ERROR] * Display help information on apache-whisker-plugin4maven.br/ [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author [ERROR] * @author [ERROR] ^ [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version [ERROR] * @version [ERROR] ^ [ERROR] [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir. [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] {noformat} when {noformat} mvn -Prat site:site {noformat} is run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Jenkins build is back to normal : Creadur-Whisker-Site-Latest-Jdk #4
See https://builds.apache.org/job/Creadur-Whisker-Site-Latest-Jdk/4/changes
[jira] [Commented] (WHISKER-12) Cleanup Build Infrastructure
[ https://issues.apache.org/jira/browse/WHISKER-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14124978#comment-14124978 ] Dennis Lundberg commented on WHISKER-12: Now we also have: - Jenkins jobs that build Whisker and generates the Maven site using the latest Java 8, both of which are now successful - Changed the minimum version to *use* the Whisker Maven Plugin from 3.2.3 to 2.2.1, which is the same as for Rat I think that we are finished with this issue now. Cleanup Build Infrastructure Key: WHISKER-12 URL: https://issues.apache.org/jira/browse/WHISKER-12 Project: Apache Whisker Issue Type: Bug Affects Versions: 0.2 Reporter: Philipp Ottlinger Assignee: Philipp Ottlinger Introduce Jenkins jobs that build the artifacts - triggered by checkins and run a site:site to ensure that the webpage can be build properly. See ci-section of pom.xml for job names. Each build should enforce the correct targetJdk version. Which maven version do we rely on - keep in sync with rat via RAT-167. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (RAT-167) Cleanup Build Infrastructure
[ https://issues.apache.org/jira/browse/RAT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14125034#comment-14125034 ] Philipp Ottlinger commented on RAT-167: --- All of the work is done, except for waiting for infra to repair the faulty Jenkins slaves. Cleanup Build Infrastructure Key: RAT-167 URL: https://issues.apache.org/jira/browse/RAT-167 Project: Apache Rat Issue Type: Bug Affects Versions: 0.11 Reporter: Philipp Ottlinger Assignee: Philipp Ottlinger Fix For: 0.12 Currently there are the following build jobs that need to be cleaned up and properly documented: # buildbot # Creadur-Rat # Creadur-Rat-Site Each build should enforce the correct targetJdk version. Furthermore we need to discuss which maven version we rely on - see WHISKER-12 for the same stuff in a different component. Since many maven plugins remain on JDK5-compliant compiler level we should use the same for all creadur maven plugins. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (RAT-167) Cleanup Build Infrastructure
[ https://issues.apache.org/jira/browse/RAT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Ottlinger resolved RAT-167. --- Resolution: Fixed Waiting for infra, but work from RAT's side is done. Cleanup Build Infrastructure Key: RAT-167 URL: https://issues.apache.org/jira/browse/RAT-167 Project: Apache Rat Issue Type: Bug Affects Versions: 0.11 Reporter: Philipp Ottlinger Assignee: Philipp Ottlinger Fix For: 0.12 Currently there are the following build jobs that need to be cleaned up and properly documented: # buildbot # Creadur-Rat # Creadur-Rat-Site Each build should enforce the correct targetJdk version. Furthermore we need to discuss which maven version we rely on - see WHISKER-12 for the same stuff in a different component. Since many maven plugins remain on JDK5-compliant compiler level we should use the same for all creadur maven plugins. -- This message was sent by Atlassian JIRA (v6.3.4#6332)