pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Pozolotin <andrei.pozolo...@gmail.com>
Subject Re: New dependency breaks maven build
Date Tue, 28 May 2013 17:14:58 GMT
maven - no problem, but lets deal with commons-vfs2 dependency first

1) commons-vfs2 v 2.1-SNAPSHOT is binary incompatible with release v 2.0
they changed interfaces, etc. the version really should be 3.X.X
do you have any say in that? can you make apache commons change their
mind about version number
let them read this if they have questions why
https://github.com/barchart/barchart-version-tester/wiki
https://github.com/barchart/barchart-version-tester/wiki/Version-Policy

2) I think pivot should depend only on releases.
can you make apache commons group release commons-vfs2 any time soon?
if not, can we go back to commons-vfs2 v 2.0 release?

issue at hand: we build private version of pivot with maven:
https://github.com/barchart/barchart-pivot

and maven does not event permit to do a release when you depend on snapshot.
so with current snapshot dependency we are now totally broken :-)

-------- Original Message --------
Subject: Re: New dependency breaks maven build
From: Roger L. Whitcomb <Roger.Whitcomb@actian.com>
To: Andrei Pozolotin <andrei.pozolotin@gmail.com>, dev@pivot.apache.org
Cc: "David Ray" <david.ray@barchart.com>
Date: Tue 28 May 2013 11:58:27 AM CDT
>
> Hi Andrei,
>
>                 Help with maven would be good.  The version I am using
> (and is checked into the "wtk/lib" directory) is a pre-release
> snapshot of 2.1 (version "2.1-SNAPSHOT").  Don't know if that will
> work or not -- I'm building Commons locally myself.  Attached is my
> attempt at adding the dependency in the "pom.xml", but I'm not even
> getting to first base trying to build with maven myself (i.e., it says
> there is nothing to do even after doing "mvn clean", so I don't get
> the build failures) .... So, any help you could give would be appreciated.
>
>  
>
> Thanks,
>
> ~Roger Whitcomb
>
>  
>
> *From:*Andrei Pozolotin [mailto:andrei.pozolotin@gmail.com]
> *Sent:* Tuesday, May 28, 2013 9:52 AM
> *To:* dev@pivot.apache.org
> *Cc:* Roger L. Whitcomb; David Ray
> *Subject:* Re: New dependency breaks maven build
>
>  
>
>     *Roger:*
>
>     Thank you for clarification.
>
>     Let me know if you need help with maven.
>
>     Also, current trunk does not compile with public vfs 2.0
>
>     http://search.maven.org/#artifactdetails%7Corg.apache.commons%7Ccommons-vfs2%7C2.0%7Cjar
>
>     |<dependency>|
>
>     |    <groupId>org.apache.commons</groupId>|
>
>     |    <artifactId>commons-vfs2</artifactId>|
>
>     |    <version>2.0</version>|
>
>     |</dependency>|
>
>
>     which dependency are you using?
>
>     Andrei
>
> -------- Original Message --------
> Subject: Re: New dependency breaks maven build
> From: Roger L. Whitcomb <Roger.Whitcomb@actian.com>
> <mailto:Roger.Whitcomb@actian.com>
> To: dev@pivot.apache.org <mailto:dev@pivot.apache.org>
> Cc: "David Ray" <david.ray@barchart.com> <mailto:david.ray@barchart.com>
> Date: Tue 28 May 2013 11:29:09 AM CDT
>
>     My apologies -- I build using Ant, so I didn't check the pom.xml.  I
>
>     will fix this.
>
>      
>
>     I have added (the beginnings of) two new components that duplicate the
>
>     FileBrowser and FileBrowserSheet, but using the Commons VFS (Virtual
>
>     File System) so you can browse remote systems, inside .zip and .jar
>
>     files, etc.  At build time (in the "trunk" code) you will need this .jar
>
>     in order to build, and if you use the new components you will also need
>
>     the .jar file.  But, if you don't use the new components you won't need
>
>     the .jar file at runtime.
>
>      
>
>     At the moment, the code in the "branches/2.0.x" branch is identical to
>
>     "trunk" (actually better, because it includes a bug fix that hasn't been
>
>     migrated to "trunk" yet) (except that "trunk" has these new components),
>
>     so if you desperately need to build, I would just use this branch
>
>     instead until I get the Maven build working.
>
>      
>
>     HTH,
>
>     ~Roger Whitcomb
>
>      
>
>     -----Original Message-----
>
>     From: Andrei Pozolotin [mailto:andrei.pozolotin@gmail.com] 
>
>     Sent: Tuesday, May 28, 2013 8:46 AM
>
>     To: dev@pivot.apache.org <mailto:dev@pivot.apache.org>
>
>     Cc: David Ray
>
>     Subject: Re: New dependency breaks maven build
>
>      
>
>     good point. it used here:
>
>     http://svn.apache.org/repos/asf/pivot/trunk/core/src/org/apache/pivot/io
>
>     /FileObjectList.java
>
>      
>
>     I am curious if it is really needed?
>
>      
>
>     -------- Original Message --------
>
>     Subject: New dependency breaks maven build
>
>     From: David Ray <david.ray@barchart.com> <mailto:david.ray@barchart.com>
>
>     To: dev@pivot.apache.org <mailto:dev@pivot.apache.org>
>
>     Date: Tue 28 May 2013 10:39:35 AM CDT
>
>         Hi,
>
>          
>
>         There was a dependency added to pivot-core ( org.apache.commons.vfs2 )
>
>      
>
>         that breaks the maven build I think the dependency needs to be added
>
>     to the pom.
>
>          
>
>         thanks,
>
>         David
>
>      
>
>      
>
>  
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message