[JENKINS] Archiving E:MavenTestSkinBuilderLAFtargetskinBuilderLaf-1.0.0-SNAPSHOT.swc to D:Program Files (x86)JenkinsjobsMaven2Testmodulesorg.aswing.GuiBuilder$skinBuilderLafbuilds2012-08-23_11-48-53archiveorg.aswing.GuiBuilderskinBuilderLaf1.0.0-SNAPSHOTskinBuilderLaf-1.0.0-SNAPSHOT.swc
[JENKINS] Archiving E:MavenTestSkinBuilderLAFtargetskinBuilderLaf-1.0.0-SNAPSHOT.swf to D:Program Files (x86)JenkinsjobsMaven2Testmodulesorg.aswing.GuiBuilder$skinBuilderLafbuilds2012-08-23_11-48-53archiveorg.aswing.GuiBuilderskinBuilderLaf1.0.0-SNAPSHOTskinBuilderLaf-1.0.0-SNAPSHOT.swf
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-alpha-5:sign-air (default) on project GuiBuilder: Error invoking AIR api
cause : Error invoking AIR api
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-alpha-5:sign-air (default) on project GuiBuilder: Error invoking AIR api
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error invoking AIR api
at org.sonatype.flexmojos.plugin.air.SignAirMojo.execute(SignAirMojo.java:266)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Caused by: java.lang.NullPointerException
at com.adobe.air.ADTOutputStream.addApplicationDescriptor(ADTOutputStream.java:330)
at com.adobe.air.AIROutputStream.addApplicationDescriptor(AIROutputStream.java:63)
at com.adobe.air.ApplicationPackager.addSpecialFiles(ApplicationPackager.java:242)
at com.adobe.air.AIRPackager.addSpecialFiles(AIRPackager.java:172)
at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:63)
at com.adobe.air.AIRPackager.createAIR(AIRPackager.java:133)
at org.sonatype.flexmojos.plugin.air.SignAirMojo.execute(SignAirMojo.java:243)
... 29 more
channel stopped
发布评论
评论(9)
还真没试过air打包签名,晚上回去试试。
我不是大侠,你是想做持续集成吧?
回复
对的 现在在构建的过程中遇到另外一个问题,你能帮忙看一下吗
@cook_fly 什么问题?
回复
这里字数有限制,我粘贴在下面
https://docs.sonatype.org/display/FLEXMOJOS/Home
https://docs.sonatype.org/display/FLEXMOJOS/Building+an+AIR+Application
但是能导出eclipse设置文件,用来导入到flashbuilder的flexmojos的版本是3.9,而且导出的配置文件有些问题,需要小小的修改才能导入flash builder,我的版本是4.5其他不知道。
能给一下地址链接么
WIKI上有完整的示例。