I'll try doing the "mvn install:install-file". I've never actually done that
before.  I had just been dropping jars into place.  Sounds cool.

But that still doesn't explain why maven just stops when a .pom file is missing.


Charlie



Wayne Fay said the following on 5/2/2006 4:32 PM:
I'm assuming these are 3rd party jars that you've installed "manually"?

If so, you probably need to re-install those 3rd party jars, using the
same mvn install:install-file command but add the option
-generatePom=true along with the other parameters.

If not, I'm not sure what's going on to be honest.

Wayne


On 5/2/06, Charles Harvey III <[EMAIL PROTECTED]> wrote:
 > mvn package
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Alloy Inc. Commons Velocity
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://192.168.195.9/maven2/acegisecurity/acegi-security/1.0.0-RC2/acegi-security-1.0.0-RC2.pom
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: acegisecurity:acegi-security

Reason: Error getting POM for 'acegisecurity:acegi-security' from the
repository: Error transferring file
 acegisecurity:acegi-security:pom:1.0.0-RC2

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 alloy.local.repo (http://192.168.195.9/maven2),
 maven2 (http://repo1.maven.org/maven2)



[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue May 02 16:13:13 EDT 2006
[INFO] Final Memory: 2M/5M
[INFO]
----------------------------------------------------------------------------
 >


Let me know if that looks correct.  I'm pretty sure it is.  And its
driving me
a little batty that I can't compile (and, it happens with 2.0.2 as well,
not just
2.0.4 - I'm pretty sure its a 2.0 thing).



Charlie





Arik Kfir said the following on 5/2/2006 4:09 PM:
> it shouldn't fail - could you post the output? (along with the command
> you
> executed)
>
> On 5/2/06, Charles Harvey III <[EMAIL PROTECTED]> wrote:
>>
>> Hello.
>> Ever since I upgraded to 2.0.4 Maven will not run unless all the .pom
>> files
>> are in place. What gives? Sometimes I have to download projects like
>> JCaptcha and it has no .pom files.  I have to manually place them
>> into my
>> repository. Do I have to also make up a .pom file for it? The jar is
>> there.
>> Therefore it should compile.  Is there a command I can put in at the
>> command
>> line that tells it to compile even if the .pom file for a particular jar
>> is
>> not in the repository?
>>
>> Thanks for the help.
>>
>>
>> Charlie
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> ______________________________________
> Cheers,
>      Arik Kfir                                   [EMAIL PROTECTED]
>      Linux user, number 415067 - http://counter.li.org/
>      http://corleon.dnsalias.org

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



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



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

Reply via email to