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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...