Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Trying to set up a build of a New Thing

I'm trying to configure the pom to build a new component that is
expected to work with the 0.12 release.

I am failing to figure out what to use as the URL for the appropriate
p2 repo. There are a lot of digits there, but it doesn't seem to me
that and of the directories under N or S match up with the released
version of the 0.12 core. In any case, whatever experiment I've tried
come up with a null pointer exception in tycho.




/Users/benson/x/me-m2e-extensions/maven/ide/plugins/org.maven.ide.eclipse.extensions.shared
m3
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build
is platform dependent.
[INFO] Resolving target platform for project MavenProject:
com.basistech:m2e-code-quality-shared:1-SNAPSHOT @
/Users/benson/x/me-m2e-extensions/maven/ide/plugins/org.maven.ide.eclipse.extensions.shared/pom.xml
[INFO] Adding repository
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/
[INFO] Fetching content.xml (0B of 102.96kB at 0B/s) from
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/content.xml
[INFO] Fetching content.xml (3.55kB of 102.96kB at 0B/s) from
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/content.xml
[INFO] 1 operation remaining.
[INFO] Adding repository
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/
[INFO] Fetching artifacts.xml (0B of 7.21kB at 0B/s) from
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/artifacts.xml
[INFO] 1 operation remaining.
[INFO] Fetching artifacts.xml (3.55kB of 7.21kB at 0B/s) from
http://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.0/N/0.12.0.201011142006/artifacts.xml
[ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.NullPointerException
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:163)
	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: java.lang.NullPointerException
	at org.codehaus.tycho.osgitools.EquinoxResolver.assertResolved(EquinoxResolver.java:248)
	at org.codehaus.tycho.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:58)
	at org.codehaus.tycho.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:194)
	at org.codehaus.tycho.osgitools.OsgiBundleProject.resolve(OsgiBundleProject.java:142)
	at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:80)
	at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
	... 11 more


Back to the top