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 great find — I've corrected that and it's using the tycho-version variable now. 
thanks

From: Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Mon, 10 Jun 2013 03:16:57 -0500
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Bamboo->Maven build of plugin is failing

I see something strange in your POM. You're installing Tycho 0.18.0 as a Maven extension but you're defining 0.16.0 for tycho-version. If this property is used in another place, it's likely you will get in trouble.

Jeff


On Fri, Jun 7, 2013 at 8:58 PM, Cohen, Tamar (ARC-TI)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)] <tamar.e.cohen@xxxxxxxx> wrote:
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

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



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top