Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Hudson Build Fails After Running update-pom

So I tried it locally, and it worked:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:43.672s
[INFO] Finished at: Mon Jun 03 17:25:16 CDT 2013
[INFO] Final Memory: 202M/856M
[INFO] ------------------------------------------------------------------------

So does that mean the Hudson Maven integration is broken?  If so, what does that mean / how can I fix / how can I prevent?

Thanks,

JD


On Mon, Jun 3, 2013 at 10:31 AM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote:

I suspect that the Hudson Maven integration is broken. To check this, try to reproduce the problem with a local build from the command line.

 

Note that you can also have your Hudson/Jenkins execute builds via shell build steps. This should work just as a local build.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Joseph D Carroll Jr
Sent: Freitag, 31. Mai 2013 22:00
To: Tycho user list
Subject: [tycho-user] Hudson Build Fails After Running update-pom

 

I am able to sucessfully run update-pom for my build, and I have verified the updated poms in the build workspace.

 

However, the build fails just afterwards with:

 

org.osgi.framework.BundleException: Error converting plugin at /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

Root exception:

org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in /var/lib/hudson/jobs/Workbench Future - DEV/workspace.

 

Attached is the full log.  Any insight would be appreciated.

 

At the very bottom it states:

 

[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)

[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not instantiate required component

[DEBUG] Closing connection to remote

[ERROR] Internal error: java.lang.RuntimeException: Could not instantiate required component: com.google.inject.ProvisionException: Guice provision errors:

[ERROR] 

[ERROR] 1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

[ERROR] Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

[ERROR] while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

[ERROR] 

[ERROR] 1 error

[ERROR] role: org.eclipse.tycho.core.TargetPlatformResolver

[ERROR] roleHint: p2

[ERROR] -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not instantiate required component

Caused by: java.lang.RuntimeException: Could not instantiate required component

Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors:

 

1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

 Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

  while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

 

1 error

      role: org.eclipse.tycho.core.TargetPlatformResolver

  roleHint: p2

Caused by: com.google.inject.ProvisionException: Guice provision errors:

 

1) Error notifying ProvisionListener org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager of org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2).

 Reason: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

  while locating org.eclipse.tycho.core.TargetPlatformResolver annotated with @com.google.inject.name.Named(value=p2)

 

1 error

Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

Caused by: java.lang.IllegalStateException: Service is not registered class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'

 

Thanks,

 

JD


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top