Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Bamboo->Maven build of plugin is failing

Ah it seems it was a maven configuration problem ...a different maven
install worked.

On 6/7/13 10:59 AM, "Cohen, Tamar (ARC-TI)[Stinger Ghaffarian Technologies
Inc. (SGT Inc.)]" <tamar.e.cohen@xxxxxxxx> wrote:

>Again, I'm working on automating our maven/tycho builds with Bamboo.
>I have manually run the build with success.  I am on maven 3, and I have
>confirmed the Bamboo build server can reach the p2 update site.
>
>When I set up a bamboo maven job, I get the following errors:
>
>WARNING: Error injecting:
>org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver
>com.google.inject.ProvisionException: Guice provision errors:
>
>
>1) Error notifying InjectionListener
>org.sonatype.guice.plexus.binders.PlexusBeanBinder@959fa1 of
>org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.
>Reason: java.lang.RuntimeException: java.lang.IllegalStateException:
>Service is not registered class='interface
>org.eclipse.tycho.core.facade.ProxyServiceFacade'
>  while locating org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver
>
>1 error
>        at 
>com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977)
>
>
>Caused by: java.lang.RuntimeException: java.lang.IllegalStateException:
>Service is not registered class='interface
>org.eclipse.tycho.core.facade.ProxyServiceFacade'
>        at 
>org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.checkSta
>r
>ted(DefaultEquinoxEmbedder.java:301)
>
>
>Caused by: java.lang.IllegalStateException: Service is not registered
>class='interface org.eclipse.tycho.core.facade.ProxyServiceFacade'
>        at 
>org.eclipse.sisu.equinox.embedder.internal.DefaultEquinoxEmbedder.getServi
>c
>e(DefaultEquinoxEmbedder.java:291)
>
>
>Pom is here:
><?xml version="1.0" encoding="UTF-8"?>
><project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>http://maven.apache.org/xsd/maven-4.0.0.xsd";
>xmlns="http://maven.apache.org/POM/4.0.0";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>gov.nasa</groupId>
>  <artifactId>com.ardor3d</artifactId>
>  <version>0.9.17</version>
>  <packaging>eclipse-plugin</packaging>
>  <properties>
>        <tycho-version>0.16.0</tycho-version>
>	<project.reporting.outputDirectory>reporting</project.reporting.outputDir
>e
>ctory>
>	<project.build.outputDirectory>output</project.build.outputDirectory>
>        
><maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
>  </properties>
>  <repositories>
>	<repository>
>  		<id>indigo</id>
>			<layout>p2</layout>
>			<url>http://download.eclipse.org/releases/indigo</url>
>	</repository>
>  </repositories>
>  <distributionManagement>
>    <repository>
>        <id>Ensemble Artifactory</id>
>        <name>Ensemble Artifactory-releases</name>
>        
><url>https://ensemble.jpl.nasa.gov/artifactory/plugins-release-local</url>
>    </repository>
>  </distributionManagement>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.eclipse.tycho</groupId>
>        <artifactId>tycho-maven-plugin</artifactId>
>        <version>0.18.0</version>
>        <extensions>true</extensions>
>      </plugin>
>    </plugins>
>  </build>
></project>
>
>Thanks!
>
>Tamar
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top