[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] NPE on mvn release:perform
|
So all of the tasks specified are done by build engine? Or manually ?
On May 22, 2012 9:10 PM, "Igor Fedorenko" <
igor@xxxxxxxxxxxxxx> wrote:
Is there an alternative to maven-release-plugin, you mean? This is what
we do for m2e [1]. Ain't perfect but easy enough to make the lack of
maven-release-plugin support for tycho project a non-issue for me.
[1] https://docs.sonatype.org/display/M2ECLIPSE/Staging+and+releasing+new+M2Eclipse+release
--
Regards,
Igor
On 12-05-22 1:40 PM, Nadav Hoze wrote:
Igor Is there an alternative?
On May 22, 2012 8:34 PM, "Igor Fedorenko" <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:
Open a bug report with a sample project and steps to reproduce the NPE
and we'll have a look.
As for maven-release-plugin... I am not against using
maven-release-plugin for Tycho projects, but it does not work and there
is not much Tycho developers can do to make it work.
--
Regards,
Igor
On 12-05-22 12:46 PM, Craig Foote wrote:
I don't really see a choice. We all need to release and it's a big
gaping hole with tycho in my opinion. Judging by the number of
questions
on it it may not be just my opinion. At very least a NPE
shouldn't be
thrown on the "perform -clean", which is all we're doing. I
think that's
just checking out a tag and running clean so I'm not sure what
would be
null even. NPE sounds like a bug to me - a null check and meaningful
exception would be better in any such case.
Craig
On Tue, May 22, 2012 at 11:19 AM, Igor Fedorenko
<ifedorenko@xxxxxxxxxxxx <mailto:ifedorenko@sonatype.com>
<mailto:ifedorenko@sonatype.__com
<mailto:ifedorenko@sonatype.com>>> wrote:
maven release plugin is incompatible with tycho, don't use
it with tycho
projects.
--
Regards,
Igor
On 12-05-22 11:16 AM, Craig Foote wrote:
I understand mvn release is not supported by tycho but a
NullPointerException is very unhelpful. Can this be
fixed or at
least
explained please?
[INFO] [ERROR] Internal error:
java.lang.NullPointerException ->
[Help 1]
[INFO] org.apache.maven.____InternalErrorException:
Internal error:
java.lang.NullPointerException
[INFO] at
org.apache.maven.DefaultMaven.____execute(DefaultMaven.java:__168)
[INFO] at
org.apache.maven.cli.MavenCli.____execute(MavenCli.java:534)
[INFO] at
org.apache.maven.cli.MavenCli.____doMain(MavenCli.java:196)
[INFO] at
org.apache.maven.cli.MavenCli.____main(MavenCli.java:141)
[INFO] at
sun.reflect.____NativeMethodAccessorImpl.____invoke0(Native
Method)
[INFO] at
sun.reflect.____NativeMethodAccessorImpl.____invoke(____NativeMethodAccessorImpl.java:____39)
[INFO] at
sun.reflect.____DelegatingMethodAccessorImpl.____invoke(____DelegatingMethodAccessorImpl.____java:25)
[INFO] at
java.lang.reflect.Method.____invoke(Method.java:597)
[INFO] at
org.codehaus.plexus.____classworlds.launcher.Launcher.____launchEnhanced(Launcher.__java:__290)
[INFO] at
org.codehaus.plexus.____classworlds.launcher.Launcher.____launch(Launcher.java:230)
[INFO] at
org.codehaus.plexus.____classworlds.launcher.Launcher.____mainWithExitCode(Launcher.____java:409)
[INFO] at
org.codehaus.plexus.____classworlds.launcher.Launcher.____main(Launcher.java:352)
[INFO] Caused by: java.lang.NullPointerException
[INFO] at
org.apache.maven.plugin.____DefaultPluginDescriptorCache$____CacheKey.<init>(____DefaultPluginDescriptorCache.____java:165)
[INFO] at
org.apache.maven.plugin.____DefaultPluginDescriptorCache.____createKey(____DefaultPluginDescriptorCache.____java:62)
[INFO] at
org.apache.maven.plugin.____internal.____DefaultMavenPluginManager.____getPluginDescriptor(____DefaultMavenPluginManager.____java:136)
[INFO] at
org.eclipse.tycho.core.maven.____utils.PluginRealmHelper.____execute(PluginRealmHelper.____java:86)
[INFO] at
org.eclipse.tycho.p2.resolver.____P2TargetPlatformResolver.____getDependencyMetadata(____P2TargetPlatformResolver.java:____158)
[INFO] at
org.eclipse.tycho.p2.resolver.____P2TargetPlatformResolver.____setupProjects(____P2TargetPlatformResolver.java:____140)
[INFO] at
org.eclipse.tycho.core.____resolver.____DefaultTychoDependencyResolver____.setupProject(____DefaultTychoDependencyResolver____.java:76)
[INFO] at
org.eclipse.tycho.core.maven.______TychoMavenLifecycleParticipant____.afterProjectsRead(____TychoMavenLifecycleParticipant____.java:56)
[INFO] at
org.apache.maven.DefaultMaven.____doExecute(DefaultMaven.java:____273)
[INFO] at
org.apache.maven.DefaultMaven.____execute(DefaultMaven.java:__156)
[INFO] ... 11 more
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the
errors, re-run
Maven
with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to
enable full debug
logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and
possible
solutions, please read the following articles:
[INFO] [ERROR] [Help 1]
http://cwiki.apache.org/____confluence/display/MAVEN/____InternalErrorException
<http://cwiki.apache.org/__confluence/display/MAVEN/__InternalErrorException>
<http://cwiki.apache.org/__confluence/display/MAVEN/__InternalErrorException
<http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException>>
Craig Foote
___________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
<mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>__>
https://dev.eclipse.org/____mailman/listinfo/tycho-user
<https://dev.eclipse.org/__mailman/listinfo/tycho-user>
<https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>>
___________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
<mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>__>
https://dev.eclipse.org/____mailman/listinfo/tycho-user
<https://dev.eclipse.org/__mailman/listinfo/tycho-user>
<https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>>
_________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>
_________________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
https://dev.eclipse.org/__mailman/listinfo/tycho-user
<https://dev.eclipse.org/mailman/listinfo/tycho-user>
_______________________________________________
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