Jeff Mutonho wrote:
On 10/2/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:



On 10/2/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
>
> My projects were building  without issues and just out of the blue the
> builds are failing with the message :
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.codehaus.cargo:cargo-ant
>
> Reason: Error getting POM for ' org.codehaus.cargo:cargo-ant' from the
> repository
> : Error transferring file
>   org.codehaus.cargo:cargo-ant:pom:0.8
>
> from the specified remote repositories:
>   central ( http://repo1.maven.org/maven2)
>
>
>
> I haven't touched anything this side.What's going on?
>
>
> --
>
>
>
I just tried a build from a different sub-module and got a similar error ,
but this time for the hibernate pom
as shown below :


[INFO]
----------------------------------------------------------------------
--
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------
--
[INFO] Error building POM (may not be this project's POM).


Project ID: net.sf.hibernate2:hibernate

Reason: Error getting POM for 'net.sf.hibernate2:hibernate' from the
repository:
 Error transferring file
 net.sf.hibernate2:hibernate:pom:2.0.0

from the specified remote repositories:
 central (http://repo1.maven.org/maven2
<http://repo1.maven.org/maven2> )



[INFO]


What's strange about the hibernate pom is that I installed the hibernate
jar manually , why is maven trying to get it from repo1.maven.org/maeven2

Try checking to see what is happening with the versions of cargo-ant. If necessary, define the cargo-ant plugin version 0.7 in your pom. Perhaps there's a problem with 0.8.

Regarding hibernate, I don't know. Sometimes the reasons for these issues just isn't detectable unless you're a total expert. Try deleting the complete hibernate subdirectory in your repo and re-installing the jar file. Do you have a pom for it from central? If so, reference that in the cmd line params.


Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to