Yep. This is it.

So what you could do is take a m1 binary and run the mvn
install:install-file command to install it into your m2 local repo.

The exact syntax of that command is in the error message that you have pasted.

Cheers
Prasad



On 7/6/06, Bill Dudney <[EMAIL PROTECTED]> wrote:
Hi Prasad,

Is this error that causes you to manually install an m1 built bit
into the m2 repo?

If so could you point me to exactly what bits to copy?

Thanks!

-bd-

[INFO] Configured Artifact:
org.apache.geronimo.distributions:geronimo-jetty-j2ee:null:1.1-
SNAPSHOT:zip
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.geronimo.distributions
ArtifactId: geronimo-jetty-j2ee
Version: 1.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
     mvn install:install-file -
DgroupId=org.apache.geronimo.distributions -DartifactId=geronimo-
jetty-j2ee \
         -Dversion=1.1-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file


   org.apache.geronimo.distributions:geronimo-jetty-j2ee:zip:1.1-
SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   Maven snapshots (http://cvs.apache.org/maven-snapshot-repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Jul 06 12:32:17 MDT 2006
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------


On Jul 6, 2006, at 8:35 AM, Prasad Kashyap wrote:

> Hi Bill,
>
> Inline-
>
> On 7/6/06, Bill Dudney <[EMAIL PROTECTED]> wrote:
>> Hi Prasad,
>>
>> >
>> > First we needed the geronimo-deployment-plugin to be in m2. So in
>> > http://issues.apache.org/jira/browse/GERONIMO-1738, I got the
>> > deployment-plugin migarted to m2. The RTC for this is pending 2
>> more
>> > votes. Now, if you and Jason can review and approve it, we can
>> get it
>> > in the build.
>> >
>>
>> I applied the patch but it appears that there is a problem with it,
>> AppTest.java has 3 copies of the code in it for example (as well as
>> pom.xml and many if not all the other files).
>>
>>   Here is the url to what I downloaded and I'm looking at;
>> http://issues.apache.org/jira/secure/attachment/12324416/geronimo-
>> deployment-plugin.patch
>>
>> which is the first patch from JIRA #1738 referenced above.
>
> You might want to pick up the latest patch from the "Manage
> Attachments" link. The patches on the JIRA page are sorted
> alphabetically. The patch that you downloaded was my initial
> submission. The other one with (
> http://issues.apache.org/jira/secure/attachment/12335875/geronimo-
> deployment-plugin-RTC-VOTE.2.patch
> ) is what you need. This was uploaded by David Jencks after reviewing
> mine and making some changes based on other reviews.
>
>> > I used to take an m1 binary distribution and manually put it
>> into an
>> > m2 local repo for this work. Now that we are working on m2,
>> hopefully
>> > we shall soon have the binary distributions for us to work with
>> > directly.
>> >
>>
>> An m1 distribution of G or something else?
>>
>
> Yes, of G.
>
>
> Cheers
> Prasad


Reply via email to