Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how generate p2 repository/update site with source of features with tycho?

See inline.

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of e92-330cd@xxxxxxxxx
> Sent: Freitag, 13. Juli 2012 11:58
> To: Tycho user list
> Subject: Re: [tycho-user] how generate p2 repository/update site with
> source of features with tycho?
> 
> Yeah sorry,
> 
> 1] i would like to know if this is correct step how to make update site
> with sources
What do you mean by "this"?


> 2] if yes, the error is:
> 
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.eclipse.tycho:tycho-p2-
> plugin:0.14.1:p2-metadata (attached-p2-metadata) on project
> <nameOfMyProduct> : Execution attached-p2-metadata of goal
> org.eclipse.tycho:tycho-p2-plugin:0.14.1:p2-metadata failed.
> cause : Execution attached-p2-metadata of goal org.eclipse.tycho:tycho-p2-
> plugin:0.14.1:p2-metadata failed.
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.eclipse.tycho:tycho-p2-plugin:0.14.1:p2-metadata (attached-p2-
> metadata) on project <nameOfMyProduct>: Execution attached-p2-metadata of
> goal org.eclipse.tycho:tycho-p2-plugin:0.14.1:p2-metadata failed.
> 	at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
> :225)
> 	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(Li
> fecycleModuleBuilder.java:84)
> 	at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Li
> fecycleModuleBuilder.java:59)
> 	at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(L
> ifecycleStarter.java:183)
> 	at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStar
> ter.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:7
> 9)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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(InterceptingExecutorSer
> vice.java:72)
> 	at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
> java:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :908)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> attached-p2-metadata of goal org.eclipse.tycho:tycho-p2-plugin:0.14.1:p2-
> metadata failed.
> 	at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
> PluginManager.java:110)
> 	at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
> :209)
> 	... 27 more
> Caused by: java.lang.NullPointerException
> 	at
> org.eclipse.tycho.p2.impl.publisher.P2GeneratorImpl.getProductFiles(P2Gene
> ratorImpl.java:224)
> 	at
> org.eclipse.tycho.p2.impl.publisher.P2GeneratorImpl.getPublisherActions(P2
> GeneratorImpl.java:172)


artifact.getLocation() must have evaluated to null. Didn't track this down further.


> 	at
> org.eclipse.tycho.p2.impl.publisher.AbstractMetadataGenerator.generateMeta
> data(AbstractMetadataGenerator.java:56)
> 	at
> org.eclipse.tycho.p2.impl.publisher.P2GeneratorImpl.generateMetadata(P2Gen
> eratorImpl.java:99)
> 	at
> org.eclipse.tycho.plugins.p2.P2MetadataMojo.attachP2Metadata(P2MetadataMoj
> o.java:118)
> 	at
> org.eclipse.tycho.plugins.p2.P2MetadataMojo.execute(P2MetadataMojo.java:68
> )
> 	at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
> PluginManager.java:101)
> 	... 28 more
> channel stopped
> Finished: FAILURE
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top