[ https://issues.apache.org/jira/browse/MASSEMBLY-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MASSEMBLY-917. ----------------------------------------- Resolution: Invalid > Maven Assembly plugin produces strange warnings > ----------------------------------------------- > > Key: MASSEMBLY-917 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-917 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 3.1.1 > Reporter: Seweryn Habdank-Wojewodzki > Priority: Major > > I am not sure why and what is happening, but in my maven build, which uses > assembly plugin, I got strange warnings. > They are really unexpected to me, as I am completely not sure what assembly > plugin is doing or trying to do behind the scene. > Why it is trying to download anything from any fixed maven repo? > Why it is even expecting my libraries are located in: sonatype, apache or > twitter repo? > Why those and not others? > What means transfer *from/to*? Is assembly plugin trying to send some > metadata to some repo? > I would expect assembly plugin is going to *the* repository (configured one) > and there shall be done all libraries resolution. > Assembly plugin shall not got on its own to any not explicitly configured > repositories. > {code} > 10:14:08 [INFO] Downloading: > http://maven.twttr.com/com/mycompany/my/my-commons/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > http://repository.apache.org/snapshots/com/mycompany/my/my-commons/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > https://oss.sonatype.org/content/repositories/snapshots/com/mycompany/my/my-commons/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com: Name or service not known > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (http://repository.apache.org/snapshots): > repository.apache.org: Name or service not known > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org: > Name or service not known > 10:14:08 [INFO] Downloading: > http://repository.apache.org/snapshots/com/mycompany/my/my-parent/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > https://oss.sonatype.org/content/repositories/snapshots/com/mycompany/my/my-parent/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > http://maven.twttr.com/com/mycompany/my/my-parent/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (http://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from > http://maven.twttr.com/ was cached in the local repository, resolution will > not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com: Name or service not known > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from > http://repository.apache.org/snapshots was cached in the local repository, > resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (http://repository.apache.org/snapshots): > repository.apache.org: Name or service not known > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from > https://oss.sonatype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-commons:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org: > Name or service not known > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > http://maven.twttr.com/ was cached in the local repository, resolution will > not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > http://repository.apache.org/snapshots was cached in the local repository, > resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (http://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://oss.sonatype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [INFO] Downloading: > https://repository.apache.org/snapshots/com/mycompany/my/my-otherfunctions-commons/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > http://maven.twttr.com/com/mycompany/my/my-otherfunctions-commons/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > https://oss.sonatype.org/content/repositories/snapshots/com/mycompany/my/my-otherfunctions-commons/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-commons:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-commons:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-commons:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to Twitter (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [INFO] Downloading: > https://oss.sonatype.org/content/repositories/snapshots/com/mycompany/my/my-otherfunctions-parent/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > http://maven.twttr.com/com/mycompany/my/my-otherfunctions-parent/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [INFO] Downloading: > https://repository.apache.org/snapshots/com/mycompany/my/my-otherfunctions-parent/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to Twitter (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://oss.sonatype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > http://maven.twttr.com/ was cached in the local repository, resolution will > not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [INFO] Downloading: > https://repository.apache.org/snapshots/com/mycompany/my/my-parent/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:08 [WARNING] Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from https://oss.sonatype.org/content/repositories/snapshots was cached in > the local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from https://repository.apache.org/snapshots was cached in the local > repository, resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from http://maven.twttr.com/ was cached in the local repository, resolution > will not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to Twitter (http://maven.twttr.com/): maven.twttr.com > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://oss.sonatype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://repository.apache.org/snapshots was cached in the local repository, > resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:08 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > http://maven.twttr.com/ was cached in the local repository, resolution will > not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from https://oss.sonatype.org/content/repositories/snapshots was cached in > the local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from https://repository.apache.org/snapshots was cached in the local > repository, resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from http://maven.twttr.com/ was cached in the local repository, resolution > will not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to Twitter (http://maven.twttr.com/): maven.twttr.com > 10:14:09 [INFO] Downloading: > http://nexus.codehaus.org/snapshots/com/mycompany/my/my-otherfunctions-parent/2019.5.3-SNAPSHOT/maven-metadata.xml > 10:14:09 [WARNING] Could not transfer metadata > com.mycompany.my:my-otherfunctions-parent:2019.5.3-SNAPSHOT/maven-metadata.xml > from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/): > nexus.codehaus.org: Name or service not known > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://oss.sonatype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced. > Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > sonatype-nexus-snapshots > (https://oss.sonatype.org/content/repositories/snapshots): oss.sonatype.org > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > https://repository.apache.org/snapshots was cached in the local repository, > resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced. Original error: Could not > transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > apache.snapshots (https://repository.apache.org/snapshots): > repository.apache.org > 10:14:09 [WARNING] Failure to transfer > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from > http://maven.twttr.com/ was cached in the local repository, resolution will > not be reattempted until the update interval of Twitter has elapsed or > updates are forced. Original error: Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to Twitter > (http://maven.twttr.com/): maven.twttr.com > 10:14:09 [INFO] Downloading: > http://nexus.codehaus.org/snapshots/com/mycompany/my/my-parent/3.2.3-SNAPSHOT/maven-metadata.xml > 10:14:09 [WARNING] Could not transfer metadata > com.mycompany.my:my-parent:3.2.3-SNAPSHOT/maven-metadata.xml from/to > codehaus-snapshots (http://nexus.codehaus.org/snapshots/): nexus.codehaus.org > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)