[Design of JBoss Build System] - Cannot release test project
by scott.stark@jboss.org
This is getting ridiculous. Now I can't release the test project due to a javadoc failure:
| [INFO] ------------------------------------------------------------------------
| [INFO] Error while creating archive:Exit code: 1 - /home/svn/JBossHead/projects/test/trunk/target/checkout/src/main/java/org/jboss/test/JBossTestClusteredServices.java:231: warning - @return tag has no arguments.
| java.util.MissingResourceException: Can't find resource for bundle com.sun.tools.doclets.formats.html.resources.standard, key doclet.malformed_html_link_tag
| at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
| at java.util.ResourceBundle.getString(ResourceBundle.java:285)
| at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:114)
| at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:92)
| at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:81)
| at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.warning(MessageRetriever.java:290)
| at com.sun.tools.doclets.formats.html.HtmlDocletWriter.redirectRelativeLinks(HtmlDocletWriter.java:1526)
| at com.sun.tools.doclets.formats.html.HtmlDocletWriter.commentTagsToString(HtmlDocletWriter.java:1438)
| at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printCommentTags(HtmlDocletWriter.java:1397)
| at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1370)
| at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1366)
| at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printComment(AbstractIndexWriter.java:192)
| at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printDescription(AbstractIndexWriter.java:164)
| at com.sun.tools.doclets.formats.html.AbstractIndexWriter.generateContents(AbstractIndexWriter.java:89)
| at com.sun.tools.doclets.formats.html.SingleIndexWriter.generateIndexFile(SingleIndexWriter.java:76)
| at com.sun.tools.doclets.formats.html.SingleIndexWriter.generate(SingleIndexWriter.java:52)
| at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:103)
| at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122)
| at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
| at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
| at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
| 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 com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
| at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
| at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
| at com.sun.tools.javadoc.Start.begin(Start.java:128)
| at com.sun.tools.javadoc.Main.execute(Main.java:41)
| at com.sun.tools.javadoc.Main.main(Main.java:31)
|
| Command line was:"cd /home/svn/JBossHead/projects/test/trunk/target/checkout/target/apidocs && /usr/java/jdk1.5.0_11/jre/../bin/javadoc" @options @packages
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 10 seconds
| [INFO] Finished at: Thu Sep 06 10:04:31 PDT 2007
| [INFO] Final Memory: 24M/297M
| [INFO] ------------------------------------------------------------------------
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Maven execution failed, exit code: '1'
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 20 seconds
| [INFO] Finished at: Thu Sep 06 10:04:31 PDT 2007
| [INFO] Final Memory: 10M/168M
| [INFO] ------------------------------------------------------------------------
| [starksm@succubus trunk]$ type mvn
| mvn is hashed (/home/starksm/java/maven-2.0.7/bin/mvn)
|
Looks like a javadoc bug caused by a bad link.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081775#4081775
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081775
17 years, 1 month
[Design of JBoss Build System] - Cannot release javaee project
by scott.stark@jboss.org
I'm trying to run mvn release:prepare -DdryRun=true in a checkout of the https://svn.jboss.org/repos/jbossas/projects/javaee/trunk/ build dir, but its failing with an NPE. Looks to be some problem with the assembly descriptor. I see the same problem just trying to do an mvn install as well.
| [INFO] Transforming 'JBoss JavaEE 5.0 Build'...
| [INFO] Transforming 'JBoss EJB 3.0 API'...
| [INFO] Updating jboss-transaction-api to 1.0.1
| [INFO] Transforming 'JBoss JACC 1.1 API'...
| [INFO] Transforming 'JBoss JavaEE Application Deployment 1.2 API'...
| [INFO] Transforming 'JBoss Java API for XML Registries 1.0'...
| [INFO] Transforming 'JBoss Streaming API for XML 1.0'...
| [INFO] Transforming 'JBoss J2EE Connector Architecture 1.5 API'...
| [INFO] Transforming 'JBoss JMS 1.1 API'...
| [INFO] Transforming 'JBoss Persistence 3.0 API'...
| [INFO] Transforming 'JBoss Java Servlet 2.5 API'...
| [INFO] Transforming 'JBoss Transaction 1.0.1 API'...
| [INFO] Transforming 'JBoss Java Authentication SPI for Containers 1.0-PR API'...
| [INFO] Not generating release POMs
| [INFO] Executing preparation goals - since this is simulation mode it is running against the original project, not the rewritten ones
| [INFO] Executing goals 'clean verify'...
| [INFO] Executing: mvn clean verify --no-plugin-updates -P local-properties
| [INFO] Scanning for projects...
| [INFO] Reactor build order:
| [INFO] JBoss JavaEE 5.0 Build
| [INFO] JBoss EJB 3.0 API
| [INFO] JBoss JACC 1.1 API
| [INFO] JBoss JavaEE Application Deployment 1.2 API
| [INFO] JBoss Java API for XML Registries 1.0
| [INFO] JBoss Streaming API for XML 1.0
| [INFO] JBoss J2EE Connector Architecture 1.5 API
| [INFO] JBoss JMS 1.1 API
| [INFO] JBoss Persistence 3.0 API
| [INFO] JBoss Java Servlet 2.5 API
| [INFO] JBoss Transaction 1.0.1 API
| [INFO] JBoss Java Authentication SPI for Containers 1.0-PR API
| WAGON_VERSION: 1.0-beta-2
| [INFO] ----------------------------------------------------------------------------
| [INFO] Building JBoss JavaEE 5.0 Build
| [INFO] task-segment: [clean, verify]
| [INFO] ----------------------------------------------------------------------------
| [INFO] [clean:clean]
| [INFO] Deleting directory /home/svn/JBossHead/projects/javaee/trunk/build/target
| [INFO] Deleting directory /home/svn/JBossHead/projects/javaee/trunk/build/target/classes
| [INFO] Deleting directory /home/svn/JBossHead/projects/javaee/trunk/build/target/test-classes
| [INFO] Deleting directory /home/svn/JBossHead/projects/javaee/trunk/build/target/site
| [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from jboss
| [INFO] [site:attach-descriptor]
| [INFO] [source:jar {execution: attach-sources}]
| [INFO] NOT adding java-sources to attached artifacts for packaging: 'pom'.
| [INFO] [source:jar {execution: default}]
| [INFO] NOT adding java-sources to attached artifacts for packaging: 'pom'.
| [INFO] [assembly:attached {execution: default}]
| [INFO] Reading assembly descriptor: /home/svn/JBossHead/projects/javaee/trunk/build/assembly/bin.xml
| [INFO] Reading assembly descriptor: /home/svn/JBossHead/projects/javaee/trunk/build/assembly/sources.xml
| [INFO] ------------------------------------------------------------------------
| [ERROR] FATAL ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] null
| [INFO] ------------------------------------------------------------------------
| [INFO] Trace
| java.lang.NullPointerException
| at org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizer.getVirtualFiles(ManifestCreationFinalizer.java:99)
| at org.codehaus.plexus.archiver.AbstractArchiver.hasVirtualFiles(AbstractArchiver.java:546)
| at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:258)
| at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:242)
| at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:513)
| at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:103)
| at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:278)
| at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:280)
| 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)
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 4 seconds
| [INFO] Finished at: Thu Sep 06 09:16:00 PDT 2007
| [INFO] Final Memory: 21M/292M
| [INFO] ------------------------------------------------------------------------
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081748#4081748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081748
17 years, 1 month