I found my issue. User error.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/dist.xml</descriptor>
+ </descriptors>
+ </configuration>
<executions>
<execution>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/dist.xml</descriptor>
- </descriptors>
- </configuration>
<phase>package</phase>
On Mon, Oct 24, 2011 at 6:09 PM, Brock Noland <[email protected]> wrote:
> Greetings,
>
> Please excuse my ignorance surely on display in my email below. I am
> fairly new to maven.
>
> I am getting the error below:
>
> [DEBUG] Cannot find ArtifactResolver with hint: project-cache-aware
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> java.util.NoSuchElementException
> role: org.apache.maven.artifact.resolver.ArtifactResolver
> roleHint: project-cache-aware
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247)
>
> Full text here: https://gist.github.com/1310602
> also found in another GH Gist: https://gist.github.com/1248441
>
> when executing the following commands (maven 3.0.3):
>
> mvn assembly:assembly
> mvn assembly:single
>
> The pom.xml and descriptor are below:
>
> https://svn.apache.org/repos/asf/incubator/mrunit/branches/mrunit-0.5.0/pom.xml
> https://svn.apache.org/repos/asf/incubator/mrunit/branches/mrunit-0.5.0/src/main/assembly/dist.xml
>
> Any ideas on how what I am doing wrong? I found this error a few
> places but the discussion was above my head. The goal of this work is
> build an artifact for an Apache Incubator project.
>
> Thank you for your time.
>
> Brock
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]