[gatein-dev] Upload to Maven repository issue

Thomas Heute theute at redhat.com
Thu Oct 8 11:27:19 EDT 2009


This is puzzling me :(
I really wonder why it works when we do it 'manually'...

SVN has a mechanism to automatically set some properties based on the 
extension for example, but I see that in my case it is set as 'off' by 
default, still it does some kind of magic as if I upload a text file or 
binary it acts differently.




On 10/08/2009 05:20 PM, Arnaud HERITIER wrote:
> Same issue with wagon-svn :
>
> svn propget svn:mime-type 
> http://svn.exoplatform.org/sandbox/arnaud/maven-release-with-svn/repos/snapshots/org/exoplatform/sandbox/maven-release/1.0.0-SNAPSHOT/maven-release-1.0.0-20091008.151610-1.jar
>
> Perhaps we can propose a patch to kohsuke
>
> Arnaud
>
> On Thu, Oct 8, 2009 at 4:17 PM, Thomas Heute <theute at redhat.com 
> <mailto:theute at redhat.com>> wrote:
>
>     On 10/08/2009 04:06 PM, Arnaud HERITIER wrote:
>>     Is it a problem ?
>     Yes encoding might screw up the binaries. In other terms, it isn't
>     safe.
>>     I always released MOP with the release plugin :-)
>>
>>     But a thing changed betwenn Beta07 and Beta08. I'm using though
>>     the gatein-parent the last jboss-parent and we do not more deploy
>>     our releases on a local svn checkout that we commit. We directly
>>     use the webdav connector.
>     Yes that's the difference and I think that's what is broken. I've
>     been advised to release locally and push for this reason.
>>     I have to do some tests on jboss parent to see if we can fix it.
>>     With Paul we know that their is another connector for SVN.
>>     Perhaps it can help.
>     ok
>
>>     The problem is to test it. There's only the releases repo of
>>     jboss which is using SVN.
>>     I'll do some tests on a sandbox svn @ exo.
>     Let me know if I can help.
>>
>>     Arnaud
>>
>>
>>
>>
>>
>>     On Wed, Oct 7, 2009 at 6:28 PM, Thomas Heute <theute at redhat.com
>>     <mailto:theute at redhat.com>> wrote:
>>
>>
>>
>>         It looks like the deployment straight to the Maven repo has
>>         some issues.
>>         All JARs are uploaded as text files instead of binaries. You
>>         can see
>>         this with the following commands:
>>
>>         $ svn propget svn:mime-type
>>         http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/org/gatein/mop/mop-api/1.0.0-Beta03/mop-api-1.0.0-Beta03.jar
>>         > application/octet-stream
>>
>>         --> All fine, it wasn't using maven release:perform
>>
>>         $ svn propget svn:mime-type
>>         http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/org/gatein/mop/mop-api/1.0.0-Beta08/mop-api-1.0.0-Beta08.jar
>>         > (Returns nothing which means text file)
>>
>>         --> It was deployed with maven release:perform
>>
>>         Thomas.
>>         _______________________________________________
>>         gatein-dev mailing list
>>         gatein-dev at lists.jboss.org <mailto:gatein-dev at lists.jboss.org>
>>         https://lists.jboss.org/mailman/listinfo/gatein-dev
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/gatein-dev/attachments/20091008/aa406bd2/attachment.html 


More information about the gatein-dev mailing list