You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wayne Fay <wa...@gmail.com> on 2006/12/04 17:47:31 UTC

Re: [M2] Just need the open source eyes on this

Do you have the corresponding sha1 and md5 files next to the pom file
named ie blah-1.0.pom, blah-1.0.pom.sha1, blah-1.0.pom.md5? You will
need this for "all" files in the repository.

This can cause those error messages, IIRC.

Wayne

On 12/4/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
> > -----Original Message-----
> > From: Pilgrim, Peter
> > Sent: 04 December 2006 16:10
> > To: 'Maven Users List'
> > Subject: [M2] Just need the open source eyes on this
> >
> > Hi
> >
> > Maven says it cant download the file from the internal repository.
> >
> > Anything out of the ordinary of this maven-metadata.xml file.
> >
>
> Ignore I think firewall proxy issues are preventing the routing
> access direct to internal repository from the machine.
>
>
>
> BTW: Any one got a good guide to the metadata format and explanation?
> Most of it I did was guess work.
>
> >
> > <?xml version="1.0"?>
> > <metadata>
> >   <groupId>org.easymock</groupId>
> >   <artifactId>easymock</artifactId>
> >   <version>2.2</version>
> >   <versioning>
> >     <latest>2.2</latest>
> >     <release>2.2</release>
> >
> >     <versions>
> >       <version>1.2</version>
> >       <version>2.2</version>
> >     </versions>
> >     <lastUpdated>20061120170542</lastUpdated>
> >   </versioning>
> > </metadata>
> > <!--*PP* Mon Nov 20 17:05:42 GMT 2006 -->
> >
> > Error
> >
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.easymock:easymock
> >
> > Reason: Error getting POM for 'org.easymock:easymock' from
> > the repository: Error  transferring file
> >   org.easymock:easymock:pom:1.2
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   ptsp-repository
> > (file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository),
> >   ptsp-internal
> > (http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-reposi
> > tory)
> >
> --
> Peter Pilgrim
> UBS Investment Bank,
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
> +44 (0) 20 75 75692
> :: Java EE / E-Commerce / Enterprise Integration / Development ::
>
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


RE: [M2] Just need the open source eyes on this

Posted by Pe...@ubs.com.
Hi

> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com] 
> Sent: 04 December 2006 16:48
> To: Maven Users List
> Subject: Re: [M2] Just need the open source eyes on this
> 
> Do you have the corresponding sha1 and md5 files next to the 
> pom file named ie blah-1.0.pom, blah-1.0.pom.sha1, 
> blah-1.0.pom.md5? You will need this for "all" files in the 
> repository.
> 
> This can cause those error messages, IIRC.
> 
Thanks Wayne

I wrote a Java tool that regenerates the MD5 and SHA-1 files based on
Brett's DigestUtils.
The only thing I did was append a '\n' to the end of the files. Just so
I could 
execute `cat *.md5' and get a newline character on the command line. I
don't think 
that cause Maven fail though.

BTW: Your schema worked out quite well in the end. It is just so hard
find out when
Maven cant transfer a file down or work out what possible else has gone
wrong.

> 
> On 12/4/06, Peter.Pilgrim@ubs.com <Pe...@ubs.com> wrote:
> > > -----Original Message-----
> > > From: Pilgrim, Peter
> > > Sent: 04 December 2006 16:10
> > > To: 'Maven Users List'
> > > Subject: [M2] Just need the open source eyes on this
> > >
> > > Hi
> > >
> > > Maven says it cant download the file from the internal repository.
> > >
> > > Anything out of the ordinary of this maven-metadata.xml file.
> > >
> >
> > Ignore I think firewall proxy issues are preventing the 
> routing access 
> > direct to internal repository from the machine.
> >
> >
> >
> > BTW: Any one got a good guide to the metadata format and 
> explanation?
> > Most of it I did was guess work.
> >
> > >
> > > <?xml version="1.0"?>
> > > <metadata>
> > >   <groupId>org.easymock</groupId>
> > >   <artifactId>easymock</artifactId>
> > >   <version>2.2</version>
> > >   <versioning>
> > >     <latest>2.2</latest>
> > >     <release>2.2</release>
> > >
> > >     <versions>
> > >       <version>1.2</version>
> > >       <version>2.2</version>
> > >     </versions>
> > >     <lastUpdated>20061120170542</lastUpdated>
> > >   </versioning>
> > > </metadata>
> > > <!--*PP* Mon Nov 20 17:05:42 GMT 2006 -->
> > >
> > > Error
> > >
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: org.easymock:easymock
> > >
> > > Reason: Error getting POM for 'org.easymock:easymock' from the 
> > > repository: Error  transferring file
> > >   org.easymock:easymock:pom:1.2
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2),
> > >   ptsp-repository
> > > (file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository),
> > >   ptsp-internal
> > > (http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-reposi
> > > tory)
> > >
==////==
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


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