users@jaxb.java.net

Re: Maven2 plugin

From: Laurent GRANIE <laurent.granie_at_gmail.com>
Date: Thu, 3 Aug 2006 11:52:54 +0200

Here is the result of mvn -e compile :

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Plexus Yahoo! Search Web Services Client
[INFO] task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
Downloading: http://snapshots.maven.codehaus.org/maven2/com/sun/xml/bind/jaxb-impl/2.0-SNAPSHOT/jaxb-impl-2.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: com.sun.xml.bind:jaxb-impl

Reason: Error getting POM for 'com.sun.xml.bind:jaxb-impl' from the
repository: Error transferring file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'com.sun.xml.bind:jaxb-impl:jar': Error getting POM for
'com.sun.xml.bind:jaxb-impl' from the repository: Error transferring
file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)

  com.sun.xml.bind:jaxb-impl:jar:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)
Path to dependency:
        1) com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:551)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        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:589)
        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 'com.sun.xml.bind:jaxb-impl:jar': Error getting POM for
'com.sun.xml.bind:jaxb-impl' from the repository: Error transferring
file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)

  com.sun.xml.bind:jaxb-impl:jar:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)
Path to dependency:
        1) com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.0


        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:297)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:67)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:223)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:182)
        at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:608)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:519)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:390)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact
'com.sun.xml.bind:jaxb-impl:jar': Error getting POM for
'com.sun.xml.bind:jaxb-impl' from the repository: Error transferring
file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)

        at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:131)
        at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:275)
        ... 24 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error
getting POM for 'com.sun.xml.bind:jaxb-impl' from the repository:
Error transferring file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  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)
        ... 25 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Error transferring file
  com.sun.xml.bind:jaxb-impl:pom:2.0-SNAPSHOT

from the specified remote repositories:
  snapshots-plugins (http://snapshots.maven.codehaus.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)

        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:140)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
        ... 27 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
        ... 29 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:168)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:610)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:558)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:686)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:558)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:983)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85)
        ... 34 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Aug 03 11:51:34 CEST 2006
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------