You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Steve Loughran <st...@apache.org> on 2005/08/24 18:05:06 UTC

M2 and pom-less files

if you are getting stuff from a "legacy" repository, e.g. 
http://cvs.apache.org/repository/, you are going to find that a lot of 
the stuff doesnt have any matching pom file.

why doesnt the <repository> element have a pomPolicy alongside a 
checksumPolicy, letting us switch from fail to warn in such a situation.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Steve Loughran <st...@apache.org>.
Brett Porter wrote:

> Hi Steve,
> 
> Currently, it is always a warning (in SVN), it shouldn't fail.
> 
> - Brett
> 
> Steve Loughran wrote:
> 
> 
>>if you are getting stuff from a "legacy" repository, e.g.
>>http://cvs.apache.org/repository/, you are going to find that a lot of
>>the stuff doesnt have any matching pom file.
>>
>>why doesnt the <repository> element have a pomPolicy alongside a
>>checksumPolicy, letting us switch from fail to warn in such a situation.
>>
>>-steve
>>

it fails  with the 2.0-alpha-3 ant tasks:

muse-libraries:
[m2-libraries] Resolving dependencies...
[m2-libraries] Downloading: 
addressing/addressing/SNAPSHOT/addressing-SNAPSHOT.pom
[m2-libraries] [WARNING] Unable to get resource from repository 
file:///home/slo/Projects/SmartFrog/Forge/core/antbuild/repository/
[m2-libraries] Downloading: 
addressing/addressing/SNAPSHOT/addressing-SNAPSHOT.pom
[m2-libraries] [WARNING] Unable to get resource from repository 
http://public.planetmirror.com/pub/maven/
[m2-libraries] Downloading: addressing/poms/addressing-SNAPSHOT.pom
[m2-libraries] [WARNING] Unable to get resource from repository 
http://cvs.apache.org/repository/

BUILD FAILED - at 24/08/05 17:04
/home/slo/Projects/SmartFrog/Forge/core/components/deployapi/build.xml:102: 
Unable to resolve artifact

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Brett Porter <br...@apache.org>.
Steve Loughran wrote:

> yes, it gets past that, only to encounter some more fun related do
> directory-naming/naming-java/0.8 :
>
> [m2-libraries] Downloading: directory-naming/poms/naming-java-0.8.pom
> [m2-libraries] Transferring 0K
> [m2-libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on
> download: local = 'f78cf539e93b3b58db8873eb5bb99d7a'; remote =
> 'f78cf539e93b3b58db8873eb5bb99d7a'
>
> For some reason the checksums appear the same: this may be an error in
> the printing string and the sums really are different...

Hmm... I know we have a problem with whitespaces and not parsing the
different formats as called for in the original spec - but these do look
the same (and I already have a bug down for the default supposedly being
warn not applying).

We have a bit of testing to do on the repository changes it seems.

Thanks,
Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Steve Loughran <st...@apache.org>.
Brett Porter wrote:
> Steve Loughran wrote:
> 
> 
>>-how does someone as blissfully ignorant of maven is me get the full
>>ant task jar to build. I can do the m2 install of the particular
>>module, but want to recreate the full jar without doing it by hand..
> 
> 
> m2 assembly:assembly
> 
> (we've just recently done the work such that it should be able to happen
> automatically, but its not wired in yet).
> 
> Would be great if you could test the SVN version (I can publish a
> snapshot if you like) as we're planning a release soon.
> 

yes, it gets past that, only to encounter some more fun related do 
directory-naming/naming-java/0.8 :

[m2-libraries] Downloading: directory-naming/poms/naming-java-0.8.pom
[m2-libraries] Transferring 0K
[m2-libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on 
download: local = 'f78cf539e93b3b58db8873eb5bb99d7a'; remote = 
'f78cf539e93b3b58db8873eb5bb99d7a'

For some reason the checksums appear the same: this may be an error in 
the printing string and the sums really are different...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Brett Porter <br...@apache.org>.
Steve Loughran wrote:

>
> -how does someone as blissfully ignorant of maven is me get the full
> ant task jar to build. I can do the m2 install of the particular
> module, but want to recreate the full jar without doing it by hand..

m2 assembly:assembly

(we've just recently done the work such that it should be able to happen
automatically, but its not wired in yet).

Would be great if you could test the SVN version (I can publish a
snapshot if you like) as we're planning a release soon.

Thanks,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Steve Loughran <st...@apache.org>.
Brett Porter wrote:
> Hi Steve,
> 
> Currently, it is always a warning (in SVN), it shouldn't fail.
> 
> - Brett
> 

-how does someone as blissfully ignorant of maven is me get the full ant 
task jar to build. I can do the m2 install of the particular module, but 
want to recreate the full jar without doing it by hand..



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: M2 and pom-less files

Posted by Brett Porter <br...@apache.org>.
Hi Steve,

Currently, it is always a warning (in SVN), it shouldn't fail.

- Brett

Steve Loughran wrote:

> if you are getting stuff from a "legacy" repository, e.g.
> http://cvs.apache.org/repository/, you are going to find that a lot of
> the stuff doesnt have any matching pom file.
>
> why doesnt the <repository> element have a pomPolicy alongside a
> checksumPolicy, letting us switch from fail to warn in such a situation.
>
> -steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org