Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2BDD10BFA for ; Mon, 3 Feb 2014 15:05:31 +0000 (UTC) Received: (qmail 43518 invoked by uid 500); 3 Feb 2014 15:05:26 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 43445 invoked by uid 500); 3 Feb 2014 15:05:25 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 43437 invoked by uid 99); 3 Feb 2014 15:05:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 15:05:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 209.85.214.51 as permitted sender) Received: from [209.85.214.51] (HELO mail-bk0-f51.google.com) (209.85.214.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 15:05:20 +0000 Received: by mail-bk0-f51.google.com with SMTP id w10so2999185bkz.10 for ; Mon, 03 Feb 2014 07:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=3xRKVsZMKRdcoLvk8Q254PUCuz8sFceJYdlfd1qTGWE=; b=qbBh90PV97JL3zLKRNlL/VrSRHNww19tcAge7vMTt0HA+oyjtQNMaQlCz8S+uVA3AU SP3Kdt4MbnN5r0ZRjsi19w5/SdKHGYVRwlveWnCF+/qXea9gAwOwQTRzWRmKhh3I5g4o xcQZAiMpnNrLVFpq5PrdtIlpU8Be39CGQSYjQcLeaMBlMAyoWMtMSURjg3VEiEFLL39l BFHFwU1U+UKalZHhztlR5RatkoOH9KzMp0oSJD8wTBhG65WOPwG26PRBughCd3g6hPMD CrB8j7BxZUO+crDgE+5OmijwZt53icEJwArUY26Zbcz2YKwRpplsew0v1BvCuvZDuNZp OUQA== MIME-Version: 1.0 X-Received: by 10.205.25.6 with SMTP id rg6mr10047148bkb.10.1391439899048; Mon, 03 Feb 2014 07:04:59 -0800 (PST) Received: by 10.204.62.6 with HTTP; Mon, 3 Feb 2014 07:04:58 -0800 (PST) In-Reply-To: <9DF8D639-58DF-4ED9-A6E7-127CCECFA7B4@gmail.com> References: <9DF8D639-58DF-4ED9-A6E7-127CCECFA7B4@gmail.com> Date: Mon, 3 Feb 2014 10:04:58 -0500 Message-ID: Subject: Re: Strange log traffic from the assembly plugin From: Benson Margulies To: Maven Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The 'offending item' looked a bit like: {project.build.directory}/rbl-je-${rbl.rbl.version}<= /directory> rbl-je-${rbl.rbl.version} Note the missing $ in the On Mon, Feb 3, 2014 at 9:44 AM, Stuart McCulloch wrote: > On 3 Feb 2014, at 14:34, Benson Margulies wrote: > >> Does anyone recognize the following? It correlates with a mystery. > > Looks like http://jira.codehaus.org/browse/MASSEMBLY-671 =E2=80=A6 basica= lly it happens when there=E2=80=99s a problem with the assembly descriptor = which then triggers a code path that leads to this cryptic debug message (b= ecause something in the code is looking up a resolver with a non-existent h= int). Typically the assembly plugin still goes on and produces an assembly,= but the contents may not be what you want due to the issue with the descri= ptor. > > Another example: http://mail-archives.apache.org/mod_mbox/maven-users/201= 110.mbox/%3CCAHCAor7DcA9UKMpQredEovqkxw2EPZxJkqJ+=3DpeWkUxjjvE-mA@mail.gmai= l.com%3E > >> [DEBUG] Cannot find ArtifactResolver with hint: project-cache-aware >> org.codehaus.plexus.component.repository.exception.ComponentLookupExcept= ion: >> java.util.NoSuchElementException >> role: org.apache.maven.artifact.resolver.ArtifactResolver >> roleHint: project-cache-aware >> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai= ner.java:257) >> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai= ner.java:233) >> at org.apache.maven.shared.repository.DefaultRepositoryAssembler.context= ualize(DefaultRepositoryAssembler.java:721) >> at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.contextua= lize(PlexusLifecycleManager.java:317) >> at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLif= ecycle(PlexusLifecycleManager.java:292) >> at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvisi= on(PlexusLifecycleManager.java:148) >> at com.google.inject.internal.ProvisionListenerStackCallback$Provision.p= rovision(ProvisionListenerStackCallback.java:108) >> at com.google.inject.internal.ProvisionListenerStackCallback.provision(P= rovisionListenerStackCallback.java:55) >> at com.google.inject.internal.ProviderInternalFactory.circularGet(Provid= erInternalFactory.java:68) >> at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(= InternalFactoryToInitializableAdapter.java:45) >> at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(Pr= oviderToInternalFactoryAdapter.java:46) >> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.ja= va:1018) >> at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(Provi= derToInternalFactoryAdapter.java:40) >> at com.google.inject.Scopes$1$1.get(Scopes.java:59) >> at com.google.inject.internal.InternalFactoryToProviderAdapter.get(Inter= nalFactoryToProviderAdapter.java:41) >> at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:96= 5) >> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.ja= va:1011) >> at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) >> at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry= .java:83) >> at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexus= Bean.java:49) >> at org.sonatype.guice.bean.locators.EntryListAdapter$ValueIterator.next(= EntryListAdapter.java:112) >> at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.crea= teArchive(DefaultAssemblyArchiver.java:181) >> at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(A= bstractAssemblyMojo.java:436) >> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default= BuildPluginManager.java:101) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor= .java:209) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor= .java:153) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor= .java:145) >> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje= ct(LifecycleModuleBuilder.java:84) >> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje= ct(LifecycleModuleBuilder.java:59) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu= ild(LifecycleStarter.java:183) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl= eStarter.java:161) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun= cher.java:290) >> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav= a:230) >> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La= uncher.java:409) >> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:= 352) >> Caused by: java.util.NoSuchElementException >> at java.util.Collections$EmptySet$1.next(Collections.java:2918) >> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai= ner.java:253) >> ... 43 more >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org