Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Created: (MNG-756) error updating poms that should exist in the project hierarchy

    0 answers - 3894 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    error updating poms that should exist in the project hierarchy
    Key: MNG-756
    URL:
    Project: Maven 2
    Type: Bug
    Reporter: Jesse McConnell
    I noticed this the other day and brett mentioned he saw it from time to time as well.
    basically, I start a process in a subproject first thing in the morning and I start getting exceptions in trying to find PM files from repositories when it is not a pom that _will_ be anywhere other then in the existing project hierarchy.
    my setup that is triggering this is:
    root/pom
    root/cli/pom
    root/core/pom
    subpoms both have the root pom as the parent.
    I'll note that I did include the exception from not being able to find the maven-execute-plugin from anywhere since that isn't in either of the places and I generally ignore it, but it I figured I would add it to this in case it was related in anyway. halfway through you'll see the reference to the gallup:g:1.0 artifact which is the interesting one. How can a child _not_ know that the parent isn't going to be on a webserver but locally? I would think this kinda stuff will generate a substantial amount of bad traffic to the main repos.
    This is what my logs show: (-X didn't yield anything different)
    ideation]g-maven/g-cli>m2 -Dexecute.class="com.gallup.net.URLTester" -Dexecute.args="" execute:resources
    [INF] Retrieving plugins.xml (plugin mappings) for group: 'org.apache.maven.plugins'
    [INF] Retrieving plugins.xml (plugin mappings) for group: 'org.apache.maven.plugins'
    [INF] Refreshing plugin mapping metadata; looking for plugin with prefix: 'execute'.
    [INF] Refreshing plugin-mapping metadata
    [INF] maven-execute-plugin: updating metadata due to status of 'deployed'
    Downloading:
    [WARNING] Unable to get resource from repository
    Downloading:
    [WARNING] Unable to get resource from repository
    [WARNING] Error updating PM - using existing version
    Unable to download the artifact from any repository
    from the specified remote repositories:
    ,
    at ()
    at ()
    at ()
    at ()
    at (DefaultPluginManager.java:252)
    at (DefaultPluginManager.java:198)
    at ()
    at ()
    at ()
    at (DefaultMaven.java:186)
    at (MavenCli.java:316)
    at (Native Method)
    at ()
    at ()
    at (Method.java:585)
    at (Launcher.java:315)
    at (Launcher.java:255)
    at (Launcher.java:430)
    at (Launcher.java:375)
    Caused by: Unable to download the artifact from any repository
    at (DefaultWagonManager.java:233)
    at ()
    18 more
    [INF]
    [INF] Building g - command line tools
    [INF] task-segment: [execute:resources]
    [INF]
    [INF] g-core: updating metadata due to status of 'deployed'
    Downloading:
    [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2
    Downloading:
    [WARNING] Unable to get resource from repository
    [WARNING] Error updating PM - using existing version
    Unable to download the artifact from any repository
    gallup.g:g-core:1.0:pom
    from the specified remote repositories:
    http://repo1.maven.org/maven2,
    at ()
    at ()
    at ()
    at ()
    at (MavenMetadataSource.java:81)
    at ()
    at ()
    at ()
    at ()
    at ()
    at (DefaultPluginManager.java:1179)
    at (DefaultPluginManager.java:312)
    at ()
    at ()
    at ()
    at ()
    at ()
    at (DefaultMaven.java:186)
    at (MavenCli.java:316)
    at (Native Method)
    at ()
    at ()
    at (Method.java:585)
    at (Launcher.java:315)
    at (Launcher.java:255)
    at (Launcher.java:430)
    at (Launcher.java:375)
    Caused by: Unable to download the artifact from any repository
    at (DefaultWagonManager.java:233)
    at ()
    26 more
    [INF] g: updating metadata due to status of 'none'
    Downloading:

Re: Created: (MNG-756) error updating poms that should exist in the project hierarchy


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Java"

EMSDN.COM