Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1106

Stdout in MavenEmbedder.readProjectWithDependencies() method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0-alpha-1
    • Component/s: Embedding
    • Labels:
      None

      Description

      MavenEmbedder.readProjectWithDependencies() method is is dumping the following to stdout.

      [WARNING] Unable to get resource from repository snapshots (http://snapshots.maven.codehaus.org/maven2)

      This is happening when ArtifactResolutionException is thrown:

      org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository
      org.apache.maven:maven-artifact-manager:2.0-beta-4-SNAPSHOT:jar

      from the specified remote repositories:
      snapshots (http://snapshots.maven.codehaus.org/maven2),
      central (http://repo1.maven.org/maven2)
      Path to dependency:
      1) org.apache.maven:maven-plugin-tools-java:jar:2.0-beta-4-SNAPSHOT
      2) org.apache.maven:maven-plugin-tools-api:jar:2.0-beta-4-SNAPSHOT
      3) org.apache.maven:maven-project:jar:2.0-beta-4-SNAPSHOT
      4) org.apache.maven:maven-artifact-manager:jar:2.0-beta-4-SNAPSHOT

        Attachments

          Activity

            People

            • Assignee:
              jvanzyl Jason van Zyl
              Reporter:
              eu Eugene Kuleshov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: