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 Emmanuel Venisse <em...@venisse.net> on 2004/08/17 17:37:26 UTC

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

----- 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 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