Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] please test staged tycho 0.24.0

Hi,

I've got an error on my first computed eclipse-test-plugins and couldn't find any documentation about it. It's nested into a all.tests pom plugin, itself in parent pom plugin.

The error is present on versions 0.24.0, 0.23.1 and 0.23.0. Only working with 0.22.0.

Here's the stack trace. Tell me if you need more information about it.

[ERROR] Invalid extraRequirement eclipse-test-plugin:com.centreon.studio.client.model.tests:0.0.0: Unknown artifact type "eclipse-test-plugin" -> [Help 1]
org.apache.maven.MavenExecutionException: Invalid extraRequirement eclipse-test-plugin:com.centreon.studio.client.model.tests:0.0.0: Unknown artifact type "eclipse-test-plugin"
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:100)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.tycho.core.shared.BuildFailureException: Invalid extraRequirement eclipse-test-plugin:com.centreon.studio.client.model.tests:0.0.0: Unknown artifact type "eclipse-test-plugin"
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:357)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:335)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:117)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
    ... 14 more
Caused by: org.eclipse.tycho.artifacts.IllegalArtifactReferenceException: Unknown artifact type "eclipse-test-plugin"
    at org.eclipse.tycho.p2.target.ArtifactTypeHelper.createRequirementFor(ArtifactTypeHelper.java:82)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addDependency(P2ResolverImpl.java:409)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:355)
    ... 17 more
[ERROR]






On Mon, Oct 26, 2015 at 9:42 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
> Nevertheless, we have still the problem to use offline mode with Tycho:

that's probably

https://bugs.eclipse.org/bugs/show_bug.cgi?id=461787

did not make it into 0.24.0 due to time restrictions

Jan



On 26/10/15 09:13, "tycho-user-bounces@xxxxxxxxxxx on behalf of LE FEVRE FRANCOIS" <tycho-user-bounces@xxxxxxxxxxx on behalf of francois.le-fevre@xxxxxx> wrote:

>Dear Tycho team,
>
>I have tested the migration from 0.23.0 to 0.24.0 for the sub project SysML
>1.4 of Eclipse papyrus project.
>It seems to work like a charm:
>https://git.eclipse.org/r/#/c/58896/
>
>Good job.
>
>Nevertheless, we have still the problem to use offline mode with Tycho:
>
>[flefevre@is227415 org.eclipse.papyrus-sysml]$ mvn clean install -o
> [INFO] Scanning for projects...
>[INFO] Computing target platform for MavenProject:
>org.eclipse.papyrus.sysml:org.eclipse.papyrus.sysml14:0.8.0-SNAPSHOT @
>/export/home/flefevre/git/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus
>.sysml14/pom.xml
>[INFO] Adding repository http://download.eclipse.org/releases/mars
>[ERROR] Failed to resolve target definition
>/export/home/flefevre/git/org.eclipse.papyrus-sysml/targetplatform/org.eclip
>se.papyrus.sysml14.targetplatform.mars/org.eclipse.papyrus.sysml14.targetpla
>tform.mars.target: Failed to load p2 metadata repository from location
>http://download.eclipse.org/releases/mars/: Repository system is offline and
>no local cache available for http://download.eclipse.org/releases/mars ->
>[Help 1]
>
>Have a good day.
>
>Francois
>
>
>
>-----Message d'origine-----
>De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
>De la part de Sievers, Jan
>Envoyé : vendredi 23 octobre 2015 15:03
>À : Tycho list <tycho-user@xxxxxxxxxxx>; Tycho list <tycho-dev@xxxxxxxxxxx>
>Objet : [tycho-user] please test staged tycho 0.24.0
>
>Tycho milestone release 0.24.0 has been staged. For details of new features
>and bugfixes, see release notes [1].
>Please help by testing the staged milestone build.
>To use it, change your tycho version to 0.24.0 and add snippet [2] to your
>~/.m2/settings.xml or pom.xml.
>
>We plan to promote this release in one week unless major regressions are
>found.
>
>Regards,
>Tycho team
>
>[1] http://wiki.eclipse.org/Tycho/Release_Notes/0.24
>[2]
><pluginRepositories>
> <pluginRepository>
>  <id>tycho-staged</id>
>
><url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-1028/</ur
>l>
> </pluginRepository>
></pluginRepositories>
>
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe from
>this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top