your better bet is to pull from

http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x

As that is there the next release is being worked on.  it was decided
to do a couple more 2.0.X releases before committing to new 2.1
features.  In fact my bet is that the 2.0.x branch will be heading
back to trunk at some point before 2.1 actually rears its head up.

jesse

On 12/23/06, shooali <[EMAIL PROTECTED]> wrote:

Hi all,

I am trying to build maven 2.1 from repository (from scratch) to no success.

I have added the profiles to the settings.xml according to
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html

but it does not help.

Attached please find the error.

Thanks in advance,

Shooali

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Maven
[INFO]   Maven Artifact
[INFO]   Maven Repository Metadata Model
[INFO]   Maven Artifact Manager
[INFO]   Maven Model
[INFO]   Maven Local Settings Model
[INFO]   Maven Artifact Test Helper Library
[INFO]   Maven Plugin API
[INFO]   Maven Plugin Descriptor Model
[INFO]   Maven Error Diagnostics
[INFO]   Maven Profile Model
[INFO]   Maven Tools
[INFO]   Maven Project Builder
[INFO]   Maven Monitor
[INFO]   Maven Plugin Registry Model
[INFO]   Maven Reporting
[INFO]   Maven Reporting API
[INFO]   Maven Plugin Parameter Documenter API
[INFO]   Maven Core
[INFO]   Maven Script Support Root
[INFO]   Maven Ant Mojo Support
[INFO]   Maven Beanshell Mojo Support
[INFO]   Maven Embedder
[INFO]   Maven Core - CLI
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Maven
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-site-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-plugin'
from the repository: Failed to resolve artifact, possibly due to a
repository list that is not appropriately equipped for this artifact's
metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)



[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving
version for 'org.apache.maven.plugins:maven-site-plugin': Unable to read the
metadata file for artifact 'org.apache.maven.plugins:maven-site-plugin:pom':
Error getting POM for 'org.apache.maven.plugins:maven-site-plugin' from the
repository: Failed to resolve artifact, possibly due to a repository list
that is not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1261)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        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:256)
        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.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.plugin.version.PluginVersionResolutionException:
Error resolving version for 'org.apache.maven.plugins:maven-site-plugin':
Unable to read the metadata file for artifact
'org.apache.maven.plugins:maven-site-plugin:pom': Error getting POM for
'org.apache.maven.plugins:maven-site-plugin' from the repository: Failed to
resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:678)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:183)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
        ... 18 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact
'org.apache.maven.plugins:maven-site-plugin:pom': Error getting POM for
'org.apache.maven.plugins:maven-site-plugin' from the repository: Failed to
resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:131)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:669)
        ... 22 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting
POM for 'org.apache.maven.plugins:maven-site-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:501)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
        at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:102)
        ... 23 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Failed to resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:129)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
        ... 25 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Dec 23 23:33:11 IST 2006
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------

--
View this message in context: 
http://www.nabble.com/build-maven-2.1-from-repository-tf2875515s177.html#a8037102
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
jesse mcconnell
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to