Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig Build Fail

This is a really imported to keep versions sync between:
plugin pom's and mainifest
feature pom's and feature.xml
product pom's and product files

otherwise the build will fail. This versions plugin does it for you to
get the maven and osgi version naming world together (-SNAPSHOT &
.qualifier). You don't have to care about it anymore. If you switch to
releases it removes the qualifier/SNAPHOT stuff. It does pretty much
the same like the maven-version-plugin but in addition changes the
eclipse files (product, feature, mainifest) as well.

Hope it helps
Frank


2012/9/7 Jody Garnett <jody.garnett@xxxxxxxxx>:
> My bad - pushing up the fix now.
>
> Frank I do not understand what the tycho-versions-plugin does? What is it
> you are suggesting...
>
> --
> Jody Garnett
>
> On Friday, 7 September 2012 at 4:21 PM, Frank Gasdorf wrote:
>
> update of the version in the manifest required as well. I like to
> suggest to use the tycho-versions-plugin as follows to update version:
>
> mvn org.eclipse.tycho:tycho-versions-plugin:0.15.0:set-version
> -DnewVersion=1.3.3-SNAPSHOT -Dtycho.mode=maven
>
> use this command line in the project you like to update (in this case
> net.refractions.udig.libs)
>
> Cheers,
> Frank
>
> 2012/9/7 Nazareno Chan <Nazareno.Chan@xxxxxxxxxxxx>:
>
> Hey Guys,
>
> Just checked uDig build, had the ff failure logs:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13:32.050s
> [INFO] Finished at: Fri Sep 07 16:04:40 EST 2012
> [INFO] Final Memory: 385M/682M
> [INFO]
> ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal
> org.eclipse.tycho:tycho-packaging-plugin:0.15.0:validate-version
> (default-validate-version) on project net.refractions.udig.libs: OSGi
> version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version
> 1.3.2.qualifier in pom.xml
> cause : OSGi version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match
> Maven version 1.3.2.qualifier in pom.xml
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.eclipse.tycho:tycho-packaging-plugin:0.15.0:validate-version
> (default-validate-version) on project net.refractions.udig.libs: OSGi
> version 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version
> 1.3.2.qualifier in pom.xml
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 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:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at
> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
> 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.launchStandard(Launcher.java:329)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> at
> org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:287)
> at
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.MojoExecutionException: OSGi version
> 1.3.3.qualifier in META-INF/MANIFEST.MF does not match Maven version
> 1.3.2.qualifier in pom.xml
> at
> org.eclipse.tycho.buildversion.ValidateVersionMojo.fail(ValidateVersionMojo.java:88)
> at
> org.eclipse.tycho.buildversion.ValidateVersionMojo.validateReleaseVersion(ValidateVersionMojo.java:52)
> at
> org.eclipse.tycho.buildversion.ValidateVersionMojo.execute(ValidateVersionMojo.java:46)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
>
>
> Thanks,
> Naz Chan
>
>
> ________________________________
> The contents of this email are confidential and may be subject to legal or
> professional privilege and copyright. No representation is made that this
> email is free of viruses or other defects. If you have received this
> communication in error, you may not copy or distribute any part of it or
> otherwise disclose its contents to anyone. Please advise the sender of your
> incorrect receipt of this correspondence.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>


Back to the top