You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rik Bosman <g....@gmail.com> on 2005/12/08 21:33:00 UTC

building maven using bootstrap script

Hi to all

After checking out all the maven-components sources I tried to build maven
using the bootstrap.bat.
This gives the following error. This is the first error in the logfile I
created. Others follow, for example on the tests.

What is wrong?

Regards,

Rik

[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: plexus:plexus-container-default

Reason: Parent: plexus:plexus-containers:jar:1.0 of project:
plexus:plexus-container-default has wrong packaging: jar. Must be 'pom'.


[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'plexus:plexus-container-default:jar': Parent: plexus:plexus-containers:jar:
1.0 of project: plexus:plexus-container-default has wrong packaging: jar.
Must be 'pom'.
  plexus:plexus-container-default:jar:1.0-alpha-4

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
 1) org.codehaus.modello:modello-maven-plugin:maven-plugin:1.0-alpha-6
 2) org.codehaus.modello:modello-plugin-prevayler:jar:1.0-alpha-6
 3) plexus:plexus-velocity:jar:1.1


 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:536)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:469)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:448)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:301)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:137)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
 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:324)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'plexus:plexus-container-default:jar': Parent:
plexus:plexus-containers:jar:1.0 of project: plexus:plexus-container-default
has wrong packaging: jar. Must be 'pom'.
  plexus:plexus-container-default:jar:1.0-alpha-4