Cannot build language Eclipse plugin inside Eclipse
Submitted by Vlad Vergu on 13 January 2016 at 11:03[INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.metaborg.dyl.paplj:paplj.full.eclipse:1.0.0 @ /Users/vladvergu/tud/slde/publications/declare-your-language/paplj/paplj.full.eclipse/pom.xml [ERROR] Internal error: java.lang.IllegalArgumentException: Not an artifact file: /Users/vladvergu/tud/slde/publications/declare-your-language/paplj/paplj.full/target/classes -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalArgumentException: Not an artifact file: /Users/vladvergu/tud/slde/publications/declare-your-language/paplj/paplj.full/target/classes at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) 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: java.lang.IllegalArgumentException: Not an artifact file: /Users/vladvergu/tud/slde/publications/declare-your-language/paplj/paplj.full/target/classes at org.eclipse.tycho.p2.target.TargetPlatformBundlePublisher.attemptToPublishBundle(TargetPlatformBundlePublisher.java:76) at org.eclipse.tycho.p2.target.PomDependencyCollectorImpl.publishAndAddArtifactIfBundleArtifact(PomDependencyCollectorImpl.java:61) at org.eclipse.tycho.p2.resolver.PomDependencyProcessor.collectPomDependencies(PomDependencyProcessor.java:92) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:295) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:204) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) ... 11 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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/InternalErrorException
Issue Log
On 13 January 2016 at 12:54 Gabriël Konat commented:
Unfortunately this is a bug in Tycho that we cannot solve or work around.
On 13 January 2016 at 12:54 Gabriël Konat closed this issue.
Log in to post comments