Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] Build failure

Hi guys,

I've just checked out a clean copy of jgit and egit, and followed the instructions of the contributor guide.
JGit builds fine, but with EGit I get the following error:

[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-packaging-plugin:0.9.0:validate-version (default-validate-version) on project org.eclipse.egit: OSGi version 0.9.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds -> [Help 1]

I've seen that the Hudson build is ok, so it should be something related to the setup. I'm on Ubuntu 64-bit, JDK 6u21 (64-bit), Maven 3.0 beta 3.
Any ideas? Did you see this error before?

Thanks,
Tomás

PS: The full log:



[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] EGit Parent (Incubation) .......................... SUCCESS [0.686s]
[INFO] Eclipse Git (Incubation) .......................... FAILURE [0.373s]
[INFO] Git Team Provider (Core) (Incubation) ............. SKIPPED
[INFO] Git Team Provider (UI) (Incubation) ............... SKIPPED
[INFO] Git Team Provider (Documentation) (Incubation) .... SKIPPED
[INFO] Eclipse Git Feature (Incubation) .................. SKIPPED
[INFO] Eclipse EGit Sources Feature (Incubation) ......... SKIPPED
[INFO] Eclipse Git Plugin Update Site (Incubation) ....... SKIPPED
[INFO] Test Plug-in (Incubation) ......................... SKIPPED
[INFO] EGit UI Test Plug-in (Incubation) ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52.520s
[INFO] Finished at: Mon Sep 06 02:44:32 ART 2010
[INFO] Final Memory: 82M/364M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-packaging-plugin:0.9.0:validate-version (default-validate-version) on project org.eclipse.egit: OSGi version 0.9.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.tycho:maven-osgi-packaging-plugin:0.9.0:validate-version (default-validate-version) on project org.eclipse.egit: OSGi version 0.9.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:88)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:80)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:87)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: OSGi version 0.9.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds
    at org.codehaus.tycho.buildversion.ValidateVersionMojo.fail(ValidateVersionMojo.java:103)
    at org.codehaus.tycho.buildversion.ValidateVersionMojo.validateSnapshotVersion(ValidateVersionMojo.java:83)
    at org.codehaus.tycho.buildversion.ValidateVersionMojo.execute(ValidateVersionMojo.java:39)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    ... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.eclipse.egit


Back to the top