maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bredesen <cbrede...@redhat.com>
Subject Re: Maven keeps looking for a POM for an artifact that's already in my local repository
Date Wed, 26 Aug 2009 19:09:20 GMT
Solved.

I re-installed the artifact using -DgeneratePom=true and it no longer 
bugs me.  Apparently generatePom does *not* default to true when there's 
no POM in the repo.

Sorry for wasting everyone's time...

-Chris

On 08/26/2009 03:00 PM, Chris Bredesen wrote:
> Hello,
>
> I get this every time I do just about anything with my project:
>
> Downloading:
> http://repo1.maven.org/maven2/net/sf/gsa-japi/gsa-japi/1.10/gsa-japi-1.10.pom
>
> [INFO] Unable to find resource 'net.sf.gsa-japi:gsa-japi:pom:1.10' in
> repository central (http://repo1.maven.org/maven2)
>
> This routine is repeated for each of the five repositories I have enabled.
>
> This artifact is in my local repository:
>
> $ ls .m2/repository/net/sf/gsa-japi/gsa-japi/1.10/
> gsa-japi-1.10.jar
>
> Once all this complaining ends, the build does succeed and the artifact
> is even packaged into my WAR. I don't recall where this artifact
> originally came from but it's quite possible I installed it myself. I
> guess it's looking for the POM, but how can I tell Maven that there will
> never be a POM for this artifact?
>
> Thanks,
>
> Chris
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message