archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danilo Tuler <tu...@ideais.com.br>
Subject Re: Starting from scratch
Date Fri, 06 Jun 2008 01:09:14 GMT


Brett Porter wrote:
> 
> Can you run mvn with the -X flag and see what error it gets from the
> repository?
> 

Stack trace is below. I see no clue in it.
Strangely enough, I did the same steps on another machine at work, and it
worked properly.

+ Error stacktraces are turned on.
Maven version: 2.0.9
Java version: 1.6.0_03
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
[DEBUG] Building Maven user-level plugin registry from:
'C:\Users\hp\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program
Files\Apache Software
Foundation\apache-maven-2.0.9\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building hsbroker
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[DEBUG] Trying repository central
Downloading:
http://localhost:8080/archiva/repository/internal/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
[DEBUG] Unable to get resource
'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository
central (http://repo1.maven.org/maven2)
[DEBUG] Trying repository central
Downloading:
http://localhost:8080/archiva/repository/internal/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
[DEBUG] Unable to get resource
'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


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

Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in
repository: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
  archiva.default (http://localhost:8080/archiva/repository/internal)
 for project org.apache.maven.plugins:maven-clean-plugin


[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-clean-plugin': POM
'org.apache.maven.plugins:maven-clean-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
  archiva.default (http://localhost:8080/archiva/repository/internal)
 for project org.apache.maven.plugins:maven-clean-plugin
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1542)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1033)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:997)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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.InvalidPluginException: Unable to build
project for plugin 'org.apache.maven.plugins:maven-clean-plugin': POM
'org.apache.maven.plugins:maven-clean-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
  archiva.default (http://localhost:8080/archiva/repository/internal)
 for project org.apache.maven.plugins:maven-clean-plugin
        at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
        ... 18 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.maven.plugins:maven-clean-plugin' not found in repository:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
  archiva.default (http://localhost:8080/archiva/repository/internal)
 for project org.apache.maven.plugins:maven-clean-plugin
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:249)
        at
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
        ... 21 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
  archiva.default (http://localhost:8080/archiva/repository/internal)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveDefaultArtifactResolver.java:212)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:74)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
        ... 23 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
        ... 25 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jun 05 22:00:42 BRT 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: http://www.nabble.com/Starting-from-scratch-tp13229503p17682708.html
Sent from the archiva-users mailing list archive at Nabble.com.


Mime
View raw message