Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] compiling for first time

Hi 

I'm a developer looking to fix a few bugs of personal interest to me in eclipse.jdt.ui.

I don't understand how to build the project.  I cloned this repo git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git

and followed its README instrux, which fail at this command:

    mvn clean verify  -DskipTests=true

which yields the error at bottom of this email. 

My questions:
1) how to build/run the project
2) are there general instructions for new devs like me?  I was following this https://wiki.eclipse.org/JDT_UI/How_to_Contribute#The_Build which didn't mention the aggregator pom at all, so maybe I'm building the wrong thing altogether?

Many thanks
Ari 

Here are the error details:

maven 3.6.3
MacOS 10.13.6
java version 1.8.0_162

Exception in thread "main" java.lang.AssertionError: pom file must not be null from PolyglotModelManager as per API
at org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(TeslaModelProcessor.java:65)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:457)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:398)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:362)
at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:400)
at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:391)
at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:78)
at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:511)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:221)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
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:498)
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)



Back to the top