You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by ji...@codehaus.org on 2004/08/17 09:16:53 UTC

[jira] Created: (MNG-69) m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MNG-69

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-69
    Summary: m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2
   Fix Fors:
             1.0-alpha-1

   Assignee: Brett Porter
   Reporter: Brett Porter

    Created: Tue, 17 Aug 2004 3:15 AM
    Updated: Tue, 17 Aug 2004 3:15 AM

Description:
I have added a test case to ArtifactResolver: will commit once working.

If the artifact is valid on one of the repos, it should continue with a warning.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MNG-69) m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MNG-69

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-69
    Summary: m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2
   Fix Fors:
             1.0-alpha-1

   Assignee: Brett Porter
   Reporter: Brett Porter

    Created: Tue, 17 Aug 2004 3:15 AM
    Updated: Tue, 17 Aug 2004 8:03 PM

Description:
I have added a test case to ArtifactResolver: will commit once working.

If the artifact is valid on one of the repos, it should continue with a warning.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Work Started: (MNG-69) m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list

Posted by Brett Porter <br...@apache.org>.
Quoting Jason van Zyl <jv...@maven.org>:

> On Tue, 2004-08-17 at 03:16, jira@codehaus.org wrote:
> 
> > If the artifact is valid on one of the repos, it should continue with a
> warning.
> 
> What does that mean?
> 

Sorry, it was misleading. The issue was that the artifact was valid in one of
the repos, but one of the repos was bad (host not found because I was
disconnected). This failed hard, when it should have proceeded. Now it warns
that ibiblio is bad (because I'm disconnected), but continues with the good repo
(a file:// one I added to ~/.m2/pom.xml). If both were bad, or ibiblio was the
only one, it would fail as it used to.

> If the artifact is found to be valid we take that artifact and return
> it.

Exactly :)

> If the artifact is not found that is an exception. The build stops if an
> artifact or it's metadata cannot be found just so that notion is clear.

That's correct.

It's ok, we're thinking the same thing - I just rushed the comment a little :)

Cheers,
Brett

Re: [jira] Work Started: (MNG-69) m2 freaks offline becauseibiblio.org not found, even when a valid file:// repository exists in theremote list

Posted by Michal Maczka <mm...@interia.pl>.
Trygve Laugstøl wrote:

>On Tue, Aug 17, 2004 at 05:37:26PM +0200, Emmanuel Venisse wrote:
>  
>
>>----- Original Message ----- 
>>From: "Jason van Zyl" <jv...@maven.org>
>>To: "Maven 2 Developers List" <m2...@maven.apache.org>
>>Sent: Tuesday, August 17, 2004 5:12 PM
>>Subject: Re: [jira] Work Started: (MNG-69) m2 freaks offline
>>becauseibiblio.org not found, even when a valid file:// repository exists in
>>theremote list
>>
>>
>>    
>>
>>>On Tue, 2004-08-17 at 03:16, jira@codehaus.org wrote:
>>>
>>>      
>>>
>>>>If the artifact is valid on one of the repos, it should continue with a
>>>>        
>>>>
>>warning.
>>    
>>
>>>What does that mean?
>>>
>>>If the artifact is found to be valid we take that artifact and return
>>>it.
>>>
>>>If the artifact is not found that is an exception. The build stops if an
>>>artifact or it's metadata cannot be found just so that notion is clear.
>>>      
>>>
>>Just a little question:
>>Why we stop the build if metada (pom file) cannot be found. All jars on
>>Ibiblio doesn't have a pom V4.
>>We can create in memory a minimal pom object if the pom file doens't exist
>>with this information :
>>- groupId
>>- artifactId
>>- version
>>
>>or do you want to create a script for create missing pom files on ibiblio?
>>    
>>
>
>We will provide tools for flipping repositories. I have a basic version
>that does the trick but it should use the new artifact handlers that Jason
>has going.
>
>  
>
What's the plan regarding artifacts which don't have a pom or have 
invalid pom?

Can you estimate the percentage of them?

If we are going to follow the plan as I understand there is no place for 
them in m2 repository,
Am I right?

What about using WIKI for allowing (some?) users to edit poms?

Michal

----------------------------------------------------------------------
Ateny 2004 w Internecie! >>> http://link.interia.pl/f182d


Re: [jira] Work Started: (MNG-69) m2 freaks offline becauseibiblio.org not found, even when a valid file:// repository exists in theremote list

Posted by Trygve Laugstøl <tr...@student.matnat.uio.no>.
On Tue, Aug 17, 2004 at 05:37:26PM +0200, Emmanuel Venisse wrote:
> 
> ----- Original Message ----- 
> From: "Jason van Zyl" <jv...@maven.org>
> To: "Maven 2 Developers List" <m2...@maven.apache.org>
> Sent: Tuesday, August 17, 2004 5:12 PM
> Subject: Re: [jira] Work Started: (MNG-69) m2 freaks offline
> becauseibiblio.org not found, even when a valid file:// repository exists in
> theremote list
> 
> 
> > On Tue, 2004-08-17 at 03:16, jira@codehaus.org wrote:
> >
> > > If the artifact is valid on one of the repos, it should continue with a
> warning.
> >
> > What does that mean?
> >
> > If the artifact is found to be valid we take that artifact and return
> > it.
> >
> > If the artifact is not found that is an exception. The build stops if an
> > artifact or it's metadata cannot be found just so that notion is clear.
> 
> Just a little question:
> Why we stop the build if metada (pom file) cannot be found. All jars on
> Ibiblio doesn't have a pom V4.
> We can create in memory a minimal pom object if the pom file doens't exist
> with this information :
> - groupId
> - artifactId
> - version
> 
> or do you want to create a script for create missing pom files on ibiblio?

We will provide tools for flipping repositories. I have a basic version
that does the trick but it should use the new artifact handlers that Jason
has going.

--
Trygve

> 
> Emmanuel
> 

Re: [jira] Work Started: (MNG-69) m2 freaks offline becauseibiblio.org not found, even when a valid file:// repository exists in theremote list

Posted by Jason van Zyl <jv...@maven.org>.
On Tue, 2004-08-17 at 11:37, Emmanuel Venisse wrote:

> Just a little question:
> Why we stop the build if metada (pom file) cannot be found. All jars on
> Ibiblio doesn't have a pom V4.

No artifact will be released into the new repository without metadata.
We can stipulate this and we can enforce this. The POM is fundamental to
Maven and it's existence for each and every artifact in the repository
will be manditory for m2. Any sort of real analysis, not to mention
transitive dependencies, becomes impossible and it is something we can
prevent.

We don't have to do 

> We can create in memory a minimal pom object if the pom file doens't exist
> with this information :
> - groupId
> - artifactId
> - version

No. All artifacts will go in with metadata, there will be no choice.

> or do you want to create a script for create missing pom files on ibiblio?

Yes, we do have conversion tools. Trygve has been working on them and we
use them to convert ibiblio right now.

In any event before the final release of m2 it will basically be
impossible to submit an artifact for use in the repository without a
POM.

> Emmanuel

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


Re: [jira] Work Started: (MNG-69) m2 freaks offline becauseibiblio.org not found, even when a valid file:// repository exists in theremote list

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven 2 Developers List" <m2...@maven.apache.org>
Sent: Tuesday, August 17, 2004 5:12 PM
Subject: Re: [jira] Work Started: (MNG-69) m2 freaks offline
becauseibiblio.org not found, even when a valid file:// repository exists in
theremote list


> On Tue, 2004-08-17 at 03:16, jira@codehaus.org wrote:
>
> > If the artifact is valid on one of the repos, it should continue with a
warning.
>
> What does that mean?
>
> If the artifact is found to be valid we take that artifact and return
> it.
>
> If the artifact is not found that is an exception. The build stops if an
> artifact or it's metadata cannot be found just so that notion is clear.

Just a little question:
Why we stop the build if metada (pom file) cannot be found. All jars on
Ibiblio doesn't have a pom V4.
We can create in memory a minimal pom object if the pom file doens't exist
with this information :
- groupId
- artifactId
- version

or do you want to create a script for create missing pom files on ibiblio?

Emmanuel


Re: [jira] Work Started: (MNG-69) m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list

Posted by Jason van Zyl <jv...@maven.org>.
On Tue, 2004-08-17 at 03:16, jira@codehaus.org wrote:

> If the artifact is valid on one of the repos, it should continue with a warning.

What does that mean?

If the artifact is found to be valid we take that artifact and return
it.

If the artifact is not found that is an exception. The build stops if an
artifact or it's metadata cannot be found just so that notion is clear.

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


[jira] Work Started: (MNG-69) m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list

Posted by ji...@codehaus.org.
Message:

   Work on this issue has been started by Brett Porter (mailto:brett@codehaus.org)

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MNG-69

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-69
    Summary: m2 freaks offline because ibiblio.org not found, even when a valid file:// repository exists in the remote list
       Type: Bug

     Status: In Progress
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2
   Fix Fors:
             1.0-alpha-1

   Assignee: Brett Porter
   Reporter: Brett Porter

    Created: Tue, 17 Aug 2004 3:15 AM
    Updated: Tue, 17 Aug 2004 3:16 AM

Description:
I have added a test case to ArtifactResolver: will commit once working.

If the artifact is valid on one of the repos, it should continue with a warning.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira