You know, the change James reccomended works!  I try building without the
settings.xml file and it doesn't work.  I try building with the
settings.xmlfile and it all works fine!  I went back and forth to make
sure and it was
the key.  So, can someone tell me exactly what this does?

yes, this should make it into the documentation somehwere.

So, adding:

<settings>
 <profiles>
   <profile>
     <id>cargo-config</id>
    <properties>
      <cargo.container.home>
         /path/to/apache-tomcat-5.5.17/  <--- change me
      </cargo.container.home>
    </properties>
   </profile>
 </profiles>

 <activeProfiles>
  <activeProfile>cargo-config</activeProfile>
 </activeProfiles>
</settings>

To my ~/.m2/settings.xml file did the trick.

And no, I wouldn't throw stones at maven because of this.  It happened all
the time with ant as well.  Of course, I still like ant better :-) but that
is only because the projects I have worked with seem to have repos that are
never up :-)

Thanks for the help.

Irv

On 9/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 9/19/06, Irv Salisbury <[EMAIL PROTECTED]> wrote:

> When you say delete org/apache/shale from my local repo, where would
that be
> exactly?  I see it in many places.  I have src, classes.  And in what
> directory, share-core, shale-dist, etc?  Don't want to delete the wrong
one.

I meant your local Maven repository.  By default it's ~/.m2/repository .

(where ~ is your home directory, c:\documents and settings\userid, or
/home/userid )

That's not going to fix it, though-- that's how someone for whom the
build *is* working can clear everything out so they'll see the same
error you and I are seeing.

--
Wendy

Reply via email to