You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by James M Snell <ja...@gmail.com> on 2007/05/25 00:13:46 UTC

Dependency updates

A couple of our dependencies from 0.2.0 have since released updates.  We
should look to upgrade for 0.3.0

  - Axiom 1.2.4 release April '07
  - HttpClient 3.1-rc1 release March '07

I haven't yet tested these but we should at least start exploring what
updates are required to move up to these.

Objections?

- James

Re: Dependency updates

Posted by James M Snell <ja...@gmail.com>.

Adam Constabaris wrote:
> [snip]
> There's one minor roadblock and one question, and I made an unrequested
> change.  The unrequested change is that instead of using the hardcoded
> version everywhere, I substituted ${parent.version} and
> ${project.version}.  It's a bit pedantic, since it doesn't save much
> work when changing versions (each sub-project still needs to know the
> parent's version #; I believe maven 2.1 may address this ...)  If that
> seems pointless/foolish, I can back that part out and re-post.
> 

Not being a Maven user, I don't have a problem with it ;-)

> Now for the roadblock: xmlsec 1.4.1 is not currently available in the
> main maven repo; it appears there's no ASF maven repo the xmlsec folks
> might be using to point at, so the POM still references 1.3.0.  The
> question is why woodstox 3.1.1, while 3.2.1 is available?

Yeah, I noticed that.  If you take a look at the dependencies file in
the dependencies module you'll see that I've uploaded the jars to my
home directory on people.apache.org and have set up the build to grab
them from there.

I had 3.1.1 already on my laptop ready to test.  I'll be trying 3.2.1
out in a few days.

- James


Re: Dependency updates

Posted by Thilina Gunarathne <th...@wso2.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanx Adam for the quick response..

> it created correct poms in my local repository;
AFAIK the issue will rise when you try to use those in a dependent
project..  I'm also a novice maven user and I was bitten by this issue
some time back...

~Thilina
> however, since it's not really doing any work that can't be done with a
> perl one-liner, I backed it out.  A diff that keeps the version
> "hard-coded" is attached.

>        

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFGWuGoTt0cKycFPQgRAhDTAJ9VUoiVSwzZTAAAT3Ws036TmkU4jgCfdmQc
bse5AXVvsZxaptGmVHAZq9Q=
=kcin
-----END PGP SIGNATURE-----

Re: Dependency updates

Posted by Adam Constabaris <ad...@clownsinmycoffee.net>.
Thilina Gunarathne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Adam,
>   
>> I substituted ${parent.version} and
>> ${project.version}. 
>> +  <version>${parent.version}</version>
>>     
> Using the above had known issues with the maven uploaded POM files,
> since maven does not replace the above variable with the actual value
> when uploading.. I'm not sure whether it's fixed in the latest maven2
> releases.
>   
Sorry about that, it created correct poms in my local repository; 
however, since it's not really doing any work that can't be done with a 
perl one-liner, I backed it out.  A diff that keeps the version 
"hard-coded" is attached.

cheers,

AC

Re: Dependency updates

Posted by Thilina Gunarathne <th...@wso2.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Adam,
>I substituted ${parent.version} and
> ${project.version}. 
> +  <version>${parent.version}</version>
Using the above had known issues with the maven uploaded POM files,
since maven does not replace the above variable with the actual value
when uploading.. I'm not sure whether it's fixed in the latest maven2
releases.

Thanks,
Thilina

> It's a bit pedantic, since it doesn't save much
> work when changing versions (each sub-project still needs to know the
> parent's version #; I believe maven 2.1 may address this ...)  If that
> seems pointless/foolish, I can back that part out and re-post.
> 
> Now for the roadblock: xmlsec 1.4.1 is not currently available in the
> main maven repo; it appears there's no ASF maven repo the xmlsec folks
> might be using to point at, so the POM still references 1.3.0.  The
> question is why woodstox 3.1.1, while 3.2.1 is available?
> 
> AC
> 
> 
> ------------------------------------------------------------------------
> 
> Index: core/pom.xml
> ===================================================================
> --- core/pom.xml	(revision 541937)
> +++ core/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-core</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Core</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Specification Implementation Core</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> Index: pom.xml
> ===================================================================
> --- pom.xml	(revision 541937)
> +++ pom.xml	(working copy)
> @@ -198,7 +198,7 @@
>        <dependency>
>          <groupId>commons-httpclient</groupId>
>          <artifactId>commons-httpclient</artifactId>
> -        <version>3.0</version>
> +        <version>3.1-rc1</version>
>          <scope>compile</scope>
>        </dependency>
>           
> @@ -212,14 +212,14 @@
>        <dependency>
>          <groupId>org.apache.ws.commons.axiom</groupId>
>          <artifactId>axiom-api</artifactId>
> -        <version>1.2.1</version>
> +        <version>1.2.4</version>
>          <scope>compile</scope>
>        </dependency>
>        
>        <dependency>
>          <groupId>org.apache.ws.commons.axiom</groupId>
>          <artifactId>axiom-impl</artifactId>
> -        <version>1.2.1</version>
> +        <version>1.2.4</version>
>          <scope>compile</scope>
>        </dependency>
>        
> @@ -246,7 +246,7 @@
>        <dependency>
>          <groupId>woodstox</groupId>
>          <artifactId>wstx-asl</artifactId>
> -        <version>2.0.5</version>
> +        <version>3.1.1</version>
>          <scope>runtime</scope>	    
>        </dependency>
>        
> @@ -260,14 +260,14 @@
>        <dependency>
>          <groupId>jaxen</groupId>
>          <artifactId>jaxen</artifactId>
> -        <version>1.1-beta-7</version>
> +        <version>1.1.1</version>
>          <scope>compile</scope>
>        </dependency>
>        
>        <dependency>
>          <groupId>xml-security</groupId>
>          <artifactId>xmlsec</artifactId>
> -        <version>1.3.0</version>
> +        <version>1.3.0</version> <!-- 1.4.1 -->
>          <scope>compile</scope>
>        </dependency>
>        
> Index: parser/pom.xml
> ===================================================================
> --- parser/pom.xml	(revision 541937)
> +++ parser/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-parser</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Parser</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Specification Implementation Parser</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -45,7 +45,7 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${parent.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
> Index: extensions/pom.xml
> ===================================================================
> --- extensions/pom.xml	(revision 541937)
> +++ extensions/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-extensions</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Extensions</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Specification Extensions</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -41,25 +41,25 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>    
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-parser</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>   
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-protocol</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>  
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-client</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>  
>      <dependency>
> Index: protocol/pom.xml
> ===================================================================
> --- protocol/pom.xml	(revision 541937)
> +++ protocol/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-protocol</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Protocol Core</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Publishing Protocol Implementation Core</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -41,7 +41,7 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
> Index: server/pom.xml
> ===================================================================
> --- server/pom.xml	(revision 541937)
> +++ server/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-server</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Server</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Publishing Protocol Specification Server-Side Implementation</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -45,19 +45,19 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>   
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-parser</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>   
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-protocol</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>   
>      <dependency>
> Index: security/pom.xml
> ===================================================================
> --- security/pom.xml	(revision 541937)
> +++ security/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-security</artifactId>
>    <packaging>jar</packaging>  
>    <name>Abdera Security</name>  
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Specification Implementation Security</description>  
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -45,25 +45,25 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-parser</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-client</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-protocol</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
> Index: client/pom.xml
> ===================================================================
> --- client/pom.xml	(revision 541937)
> +++ client/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-client</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Client</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Publishing Protocol Client Implementation</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -45,19 +45,19 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-parser</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>    
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-protocol</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>  
>      <dependency>
> Index: examples/pom.xml
> ===================================================================
> --- examples/pom.xml	(revision 541937)
> +++ examples/pom.xml	(working copy)
> @@ -28,7 +28,7 @@
>    <artifactId>abdera-examples</artifactId>
>    <packaging>jar</packaging>
>    <name>Abdera Examples</name>
> -  <version>0.3.0-incubating-SNAPSHOT</version>
> +  <version>${parent.version}</version>
>    <description>Atom Specification Implementation Examples</description>
>    <inceptionYear>2006</inceptionYear>
>    <url>http://incubator.apache.org/abdera</url>
> @@ -45,43 +45,43 @@
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-core</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-parser</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency> 
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-protocol</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>       
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-client</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-server</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-extensions</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.abdera</groupId>
>        <artifactId>abdera-security</artifactId>
> -      <version>0.3.0-incubating-SNAPSHOT</version>
> +      <version>${project.version}</version>
>        <scope>compile</scope>
>      </dependency>
>      <dependency>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFGWmsfTt0cKycFPQgRAqq1AJ9No7RW4NDdjX7t7g2gk4Paw1EcpwCdHLZK
i8BA+FGOPJB+d6vQj5eKFCo=
=eEr0
-----END PGP SIGNATURE-----

Re: Dependency updates

Posted by Adam Constabaris <ad...@clownsinmycoffee.net>.
James M Snell wrote:
> I've updated a number of dependencies. The ant build is working fine. We
> need one of our mavenites to update the maven build to match.
>
> - James
>   
A somewhat flawed patch for the POM files is attached.  The tests 
complete successfully, and a cheap smoke test fetching a service 
document from a server running an older snapshot produced expected results.

There's one minor roadblock and one question, and I made an unrequested 
change.  The unrequested change is that instead of using the hardcoded 
version everywhere, I substituted ${parent.version} and 
${project.version}.  It's a bit pedantic, since it doesn't save much 
work when changing versions (each sub-project still needs to know the 
parent's version #; I believe maven 2.1 may address this ...)  If that 
seems pointless/foolish, I can back that part out and re-post.

Now for the roadblock: xmlsec 1.4.1 is not currently available in the 
main maven repo; it appears there's no ASF maven repo the xmlsec folks 
might be using to point at, so the POM still references 1.3.0.  The 
question is why woodstox 3.1.1, while 3.2.1 is available?

AC


Re: Dependency updates

Posted by James M Snell <ja...@gmail.com>.
I've updated a number of dependencies. The ant build is working fine. We
need one of our mavenites to update the maven build to match.

- James

Garrett Rooney wrote:
> On 5/24/07, James M Snell <ja...@gmail.com> wrote:
>> A couple of our dependencies from 0.2.0 have since released updates.  We
>> should look to upgrade for 0.3.0
>>
>>   - Axiom 1.2.4 release April '07
>>   - HttpClient 3.1-rc1 release March '07
>>
>> I haven't yet tested these but we should at least start exploring what
>> updates are required to move up to these.
>>
>> Objections?
> 
> Go for it.  We should at least confirm that things still work with the
> new versions.
> 
> -garrett
> 

Re: Dependency updates

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 5/24/07, James M Snell <ja...@gmail.com> wrote:
> A couple of our dependencies from 0.2.0 have since released updates.  We
> should look to upgrade for 0.3.0
>
>   - Axiom 1.2.4 release April '07
>   - HttpClient 3.1-rc1 release March '07
>
> I haven't yet tested these but we should at least start exploring what
> updates are required to move up to these.
>
> Objections?

Go for it.  We should at least confirm that things still work with the
new versions.

-garrett