You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by il...@apache.org on 2011/08/29 13:22:28 UTC

svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Author: ilgrosso
Date: Mon Aug 29 11:22:28 2011
New Revision: 1162745

URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
Log:
Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/pom.xml
    cocoon/cocoon3/trunk/cocoon-stax/pom.xml
    cocoon/cocoon3/trunk/parent/pom.xml

Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
@@ -119,27 +119,13 @@
         <dependency>
             <groupId>javax.xml.bind</groupId>
             <artifactId>jaxb-api</artifactId>
-            <version>2.1</version>
             <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>jaxb-impl</artifactId>
-            <version>2.2</version>
             <optional>true</optional>
         </dependency>
-        <!-- DirGenerator -->
-        <dependency>
-           <groupId>jakarta-regexp</groupId>
-           <artifactId>jakarta-regexp</artifactId>
-           <version>1.4</version>
-        </dependency> 
-        <!-- NekoGenerator -->
-        <dependency>
-          <groupId>net.sourceforge.nekohtml</groupId>
-          <artifactId>nekohtml</artifactId>
-          <version>1.9.15</version>
-        </dependency>
 
         <!-- Test libraries -->
         <dependency>

Modified: cocoon/cocoon3/trunk/cocoon-stax/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-stax/pom.xml Mon Aug 29 11:22:28 2011
@@ -40,7 +40,7 @@
         </dependency>
         <dependency>
             <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx-asl</artifactId>
+            <artifactId>woodstox-core-asl</artifactId>
             <optional>true</optional>
         </dependency>   
         <dependency>
@@ -52,6 +52,7 @@
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
         </dependency>
+
         <!-- Logging -->
         <dependency>
             <groupId>org.slf4j</groupId>

Modified: cocoon/cocoon3/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/parent/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/parent/pom.xml (original)
+++ cocoon/cocoon3/trunk/parent/pom.xml Mon Aug 29 11:22:28 2011
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
-        <version>9</version>
+        <version>10</version>
         <relativePath/>
     </parent>
 
@@ -232,32 +232,32 @@
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-beans</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-core</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-context</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-context-support</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-aop</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-web</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
@@ -339,7 +339,7 @@
             <dependency>
                 <groupId>net.sf.ehcache</groupId>
                 <artifactId>ehcache-core</artifactId>
-                <version>2.4.3</version>
+                <version>2.4.4</version>
             </dependency>
             <dependency>
                 <groupId>net.sourceforge.nekohtml</groupId>
@@ -387,18 +387,18 @@
             </dependency>
             <dependency>
                 <groupId>org.codehaus.woodstox</groupId>
-                <artifactId>wstx-asl</artifactId>
-                <version>4.0.6</version>
+                <artifactId>woodstox-core-asl</artifactId>
+                <version>4.1.1</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.wicket</groupId>
                 <artifactId>wicket</artifactId>
-                <version>1.4.17</version>
+                <version>1.4.18</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.wicket</groupId>
                 <artifactId>wicket-spring</artifactId>
-                <version>1.4.17</version>
+                <version>1.4.18</version>
                 <exclusions>
                     <exclusion>
                         <groupId>org.springframework</groupId>
@@ -536,13 +536,13 @@
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
-                <version>4.8.2</version>
+                <version>4.9</version>
                 <scope>test</scope>
             </dependency>
             <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-test</artifactId>
-                <version>3.0.5.RELEASE</version>
+                <version>3.0.6.RELEASE</version>
                 <scope>test</scope>
             </dependency>
             <dependency>



Re: [c3] DirectoryGenerator refactoring to drop jarkata regExp (was RE: svn commit: r1162745)

Posted by Steven Dolg <st...@indoqa.com>.
Am 09.09.2011 10:33, schrieb Thorsten Scherler:
> ...
>>> Hmm, Jakarta RegExp does some things different and IMO much better then
>>> java.util. Even if it is retired that does not mean it is not worth
>>> using it, more since this way the component works exactly as in our
>>> prior versions. Not sure when I will find the time to look into a
>>> rewrite to use java regex.
>> I second Francesco that we should get rid of Jakarta RegExp before 3.0.
>> In the long run will pay off to use a good standard rather than a better non-standard.
>>
>> When you say Jakarta does it different and better do you refer to the API or the regexp syntax?
>> If it is just converting the API calls, I can help.
>>
>> I wonder whether for the average user it would not be more convenient if DirectoryGenerator would accept the same Ant-style globs as map:match rather than full-blown Perl-style regexps.
> I agree that using standards is better more if we can drop some deps.
Totally agree!

Re: [c3] DirectoryGenerator refactoring to drop jarkata regExp (was RE: svn commit: r1162745)

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 09/09/2011 10:33, Thorsten Scherler wrote:
> ...
>>> Hmm, Jakarta RegExp does some things different and IMO much better then java.util. Even if it is retired that does not mean it is not worth using it, more since this way the component works exactly as in our prior versions. Not sure when I will find the time to look into a rewrite to use java regex.
>> I second Francesco that we should get rid of Jakarta RegExp before 3.0.
>> In the long run will pay off to use a good standard rather than a better non-standard.
>>
>> When you say Jakarta does it different and better do you refer to the API or the regexp syntax?
>> If it is just converting the API calls, I can help.
>>
>> I wonder whether for the average user it would not be more convenient if DirectoryGenerator would accept the same Ant-style globs as map:match rather than full-blown Perl-style regexps.
> I agree that using standards is better more if we can drop some deps.
> Like pointed out before I will try to look into it but it is ATM not very high on my crowed TODO list.
>
> I guess it is not that difficult and maybe a fine contribution for someone from the community. Hey we are always looking for new committers.

For anyone wanting to contribute: 
https://issues.apache.org/jira/browse/COCOON3-76.

Regards.

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/


[c3] DirectoryGenerator refactoring to drop jarkata regExp (was RE: svn commit: r1162745)

Posted by Thorsten Scherler <sc...@gmail.com>.
...
> > Hmm, Jakarta RegExp does some things different and IMO much better then
> > java.util. Even if it is retired that does not mean it is not worth
> > using it, more since this way the component works exactly as in our
> > prior versions. Not sure when I will find the time to look into a
> > rewrite to use java regex.
> 
> I second Francesco that we should get rid of Jakarta RegExp before 3.0.
> In the long run will pay off to use a good standard rather than a better non-standard.
> 
> When you say Jakarta does it different and better do you refer to the API or the regexp syntax?
> If it is just converting the API calls, I can help.
> 
> I wonder whether for the average user it would not be more convenient if DirectoryGenerator would accept the same Ant-style globs as map:match rather than full-blown Perl-style regexps.

I agree that using standards is better more if we can drop some deps.
Like pointed out before I will try to look into it but it is ATM not
very high on my crowed TODO list.

I guess it is not that difficult and maybe a fine contribution for
someone from the community. Hey we are always looking for new
committers. 

salu2 
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


RE: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by "Nathaniel, Alfred" <Al...@six-group.com>.
> -----Original Message-----
> From: Thorsten Scherler [mailto:scherler@gmail.com]
> Sent: Montag, 29. August 2011 14:16
> To: dev@cocoon.apache.org
> Subject: Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-
> optional/pom.xml cocoon-stax/pom.xml parent/pom.xml
> 
> On Mon, 2011-08-29 at 14:00 +0200, Francesco Chicchiriccò wrote:
> ...
> > Since Jakarta RegExp is retired (see [1]), do you think it would be hard
> > to rework the DirectoryGenerator in order to make use of
> > java.util.regexp.* instead?
> > Otherwise you can just add this dependency - with version - in
> > parent/pom.xml and with optional modifier in cocoon-optional/pom.xml.
> >
> > One less dependency - even though optional - is better :-)
> 
> Hmm, Jakarta RegExp does some things different and IMO much better then
> java.util. Even if it is retired that does not mean it is not worth
> using it, more since this way the component works exactly as in our
> prior versions. Not sure when I will find the time to look into a
> rewrite to use java regex.

I second Francesco that we should get rid of Jakarta RegExp before 3.0.
In the long run will pay off to use a good standard rather than a better non-standard.

When you say Jakarta does it different and better do you refer to the API or the regexp syntax?
If it is just converting the API calls, I can help.

I wonder whether for the average user it would not be more convenient if DirectoryGenerator would accept the same Ant-style globs as map:match rather than full-blown Perl-style regexps.

Cheers, Alfred.


The content of this e-mail is intended only for the confidential use of the person addressed. 
If you are not the intended recipient, please notify the sender and delete this e-mail immediately.
Thank you.

Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Thorsten Scherler <sc...@gmail.com>.
On Mon, 2011-08-29 at 14:00 +0200, Francesco Chicchiriccò wrote:
...
> >> Moreover, nekohtml is already declared in cocoon-optional POM, already correctly marked as optional.
> > ok regarding the neko, but still the jarkata is missing, isn't it?
> 
> Correct.
> Since Jakarta RegExp is retired (see [1]), do you think it would be hard 
> to rework the DirectoryGenerator in order to make use of 
> java.util.regexp.* instead?
> Otherwise you can just add this dependency - with version - in 
> parent/pom.xml and with optional modifier in cocoon-optional/pom.xml.
> 
> One less dependency - even though optional - is better :-)

Hmm, Jakarta RegExp does some things different and IMO much better then
java.util. Even if it is retired that does not mean it is not worth
using it, more since this way the component works exactly as in our
prior versions. Not sure when I will find the time to look into a
rewrite to use java regex.

salu2 
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 29/08/2011 13:55, Thorsten Scherler wrote:
> On Mon, 2011-08-29 at 13:39 +0200, Francesco Chicchiriccò wrote:
>> Il 29/08/2011 13:34, Thorsten Scherler ha scritto:
>>> On Mon, 2011-08-29 at 11:22 +0000, ilgrosso@apache.org wrote:
>>>> Author: ilgrosso
>>>> Date: Mon Aug 29 11:22:28 2011
>>>> New Revision: 1162745
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
>>>> Log:
>>>> Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml
>>>>
>>>> Modified:
>>>>       cocoon/cocoon3/trunk/cocoon-optional/pom.xml
>>> ...
>>>> Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
>>>> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
>>>> ==============================================================================
>>>> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
>>>> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
>>>> @@ -119,27 +119,13 @@
>>>>            <dependency>
>>>>                <groupId>javax.xml.bind</groupId>
>>>>                <artifactId>jaxb-api</artifactId>
>>>> -<version>2.1</version>
>>>>                <optional>true</optional>
>>>>            </dependency>
>>>>            <dependency>
>>>>                <groupId>com.sun.xml.bind</groupId>
>>>>                <artifactId>jaxb-impl</artifactId>
>>>> -<version>2.2</version>
>>>>                <optional>true</optional>
>>>>            </dependency>
>>>> -<!-- DirGenerator -->
>>>> -<dependency>
>>>> -<groupId>jakarta-regexp</groupId>
>>>> -<artifactId>jakarta-regexp</artifactId>
>>>> -<version>1.4</version>
>>>> -</dependency>
>>>> -<!-- NekoGenerator -->
>>>> -<dependency>
>>>> -<groupId>net.sourceforge.nekohtml</groupId>
>>>> -<artifactId>nekohtml</artifactId>
>>>> -<version>1.9.15</version>
>>>> -</dependency>
>>> Both components DirGenerator/NekoGenerator have deps that are not present in the parent. Removing them will provoke a ClassNotFound exception in case you use this components in your project.
>>>
>>> Can you please re-add this deps?
>> The idea behind cocoon-optional is that you have to add optional dependencies in your project, if you use a feature from cocoon-optional that actually needs an optional dependency.
>>
>> Look for example to FOP.
>>
>> Moreover, nekohtml is already declared in cocoon-optional POM, already correctly marked as optional.
> ok regarding the neko, but still the jarkata is missing, isn't it?

Correct.
Since Jakarta RegExp is retired (see [1]), do you think it would be hard 
to rework the DirectoryGenerator in order to make use of 
java.util.regexp.* instead?
Otherwise you can just add this dependency - with version - in 
parent/pom.xml and with optional modifier in cocoon-optional/pom.xml.

One less dependency - even though optional - is better :-)

Regards.

[1] https://jakarta.apache.org/regexp/

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/


Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Thorsten Scherler <sc...@gmail.com>.
On Mon, 2011-08-29 at 13:39 +0200, Francesco Chicchiriccò wrote:
> Il 29/08/2011 13:34, Thorsten Scherler ha scritto:
> > On Mon, 2011-08-29 at 11:22 +0000, ilgrosso@apache.org wrote:
> >> Author: ilgrosso
> >> Date: Mon Aug 29 11:22:28 2011
> >> New Revision: 1162745
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
> >> Log:
> >> Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml
> >>
> >> Modified:
> >>      cocoon/cocoon3/trunk/cocoon-optional/pom.xml
> > ...
> >> Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
> >> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
> >> ==============================================================================
> >> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
> >> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
> >> @@ -119,27 +119,13 @@
> >>           <dependency>
> >>               <groupId>javax.xml.bind</groupId>
> >>               <artifactId>jaxb-api</artifactId>
> >> -<version>2.1</version>
> >>               <optional>true</optional>
> >>           </dependency>
> >>           <dependency>
> >>               <groupId>com.sun.xml.bind</groupId>
> >>               <artifactId>jaxb-impl</artifactId>
> >> -<version>2.2</version>
> >>               <optional>true</optional>
> >>           </dependency>
> >> -<!-- DirGenerator -->
> >> -<dependency>
> >> -<groupId>jakarta-regexp</groupId>
> >> -<artifactId>jakarta-regexp</artifactId>
> >> -<version>1.4</version>
> >> -</dependency>
> >> -<!-- NekoGenerator -->
> >> -<dependency>
> >> -<groupId>net.sourceforge.nekohtml</groupId>
> >> -<artifactId>nekohtml</artifactId>
> >> -<version>1.9.15</version>
> >> -</dependency>
> > Both components DirGenerator/NekoGenerator have deps that are not present in the parent. Removing them will provoke a ClassNotFound exception in case you use this components in your project.
> >
> > Can you please re-add this deps?
> 
> The idea behind cocoon-optional is that you have to add optional 
> dependencies in your project, if you use a feature from cocoon-optional 
> that actually needs an optional dependency.
> 
> Look for example to FOP.
> 
> Moreover, nekohtml is already declared in cocoon-optional POM, already 
> correctly marked as optional.

ok regarding the neko, but still the jarkata is missing, isn't it?

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Francesco Chicchiriccò <il...@apache.org>.
Il 29/08/2011 13:34, Thorsten Scherler ha scritto:
> On Mon, 2011-08-29 at 11:22 +0000, ilgrosso@apache.org wrote:
>> Author: ilgrosso
>> Date: Mon Aug 29 11:22:28 2011
>> New Revision: 1162745
>>
>> URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
>> Log:
>> Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml
>>
>> Modified:
>>      cocoon/cocoon3/trunk/cocoon-optional/pom.xml
> ...
>> Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
>> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
>> ==============================================================================
>> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
>> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
>> @@ -119,27 +119,13 @@
>>           <dependency>
>>               <groupId>javax.xml.bind</groupId>
>>               <artifactId>jaxb-api</artifactId>
>> -<version>2.1</version>
>>               <optional>true</optional>
>>           </dependency>
>>           <dependency>
>>               <groupId>com.sun.xml.bind</groupId>
>>               <artifactId>jaxb-impl</artifactId>
>> -<version>2.2</version>
>>               <optional>true</optional>
>>           </dependency>
>> -<!-- DirGenerator -->
>> -<dependency>
>> -<groupId>jakarta-regexp</groupId>
>> -<artifactId>jakarta-regexp</artifactId>
>> -<version>1.4</version>
>> -</dependency>
>> -<!-- NekoGenerator -->
>> -<dependency>
>> -<groupId>net.sourceforge.nekohtml</groupId>
>> -<artifactId>nekohtml</artifactId>
>> -<version>1.9.15</version>
>> -</dependency>
> Both components DirGenerator/NekoGenerator have deps that are not present in the parent. Removing them will provoke a ClassNotFound exception in case you use this components in your project.
>
> Can you please re-add this deps?

The idea behind cocoon-optional is that you have to add optional 
dependencies in your project, if you use a feature from cocoon-optional 
that actually needs an optional dependency.

Look for example to FOP.

Moreover, nekohtml is already declared in cocoon-optional POM, already 
correctly marked as optional.

Regards.

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/


Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Thorsten Scherler <sc...@gmail.com>.
On Mon, 2011-08-29 at 11:22 +0000, ilgrosso@apache.org wrote:
> Author: ilgrosso
> Date: Mon Aug 29 11:22:28 2011
> New Revision: 1162745
> 
> URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
> Log:
> Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml
> 
> Modified:
>     cocoon/cocoon3/trunk/cocoon-optional/pom.xml
...
> 
> Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
> @@ -119,27 +119,13 @@
>          <dependency>
>              <groupId>javax.xml.bind</groupId>
>              <artifactId>jaxb-api</artifactId>
> -            <version>2.1</version>
>              <optional>true</optional>
>          </dependency>
>          <dependency>
>              <groupId>com.sun.xml.bind</groupId>
>              <artifactId>jaxb-impl</artifactId>
> -            <version>2.2</version>
>              <optional>true</optional>
>          </dependency>
> -        <!-- DirGenerator -->
> -        <dependency>
> -           <groupId>jakarta-regexp</groupId>
> -           <artifactId>jakarta-regexp</artifactId>
> -           <version>1.4</version>
> -        </dependency> 
> -        <!-- NekoGenerator -->
> -        <dependency>
> -          <groupId>net.sourceforge.nekohtml</groupId>
> -          <artifactId>nekohtml</artifactId>
> -          <version>1.9.15</version>
> -        </dependency>

Both components DirGenerator/NekoGenerator have deps that are not
present in the parent. Removing them will provoke a ClassNotFound
exception in case you use this components in your project. 

Can you please re-add this deps?

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


Re: svn commit: r1162745 - in /cocoon/cocoon3/trunk: cocoon-optional/pom.xml cocoon-stax/pom.xml parent/pom.xml

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi all,
please remember to keep version numbers in parent/pom.xml only, and to 
mark external dependencies as optional in cocoon-optional/pom.xml.

Regards.


On 29/08/2011 13:22, ilgrosso@apache.org wrote:
> Author: ilgrosso
> Date: Mon Aug 29 11:22:28 2011
> New Revision: 1162745
>
> URL: http://svn.apache.org/viewvc?rev=1162745&view=rev
> Log:
> Updating Spring and JUnit to latest releases; fixing optional dependencies. PLEASE KEEP VERSION NUMBERS IN parent/pom.xml
>
> Modified:
>      cocoon/cocoon3/trunk/cocoon-optional/pom.xml
>      cocoon/cocoon3/trunk/cocoon-stax/pom.xml
>      cocoon/cocoon3/trunk/parent/pom.xml
>
> Modified: cocoon/cocoon3/trunk/cocoon-optional/pom.xml
> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Mon Aug 29 11:22:28 2011
> @@ -119,27 +119,13 @@
>           <dependency>
>               <groupId>javax.xml.bind</groupId>
>               <artifactId>jaxb-api</artifactId>
> -<version>2.1</version>
>               <optional>true</optional>
>           </dependency>
>           <dependency>
>               <groupId>com.sun.xml.bind</groupId>
>               <artifactId>jaxb-impl</artifactId>
> -<version>2.2</version>
>               <optional>true</optional>
>           </dependency>
> -<!-- DirGenerator -->
> -<dependency>
> -<groupId>jakarta-regexp</groupId>
> -<artifactId>jakarta-regexp</artifactId>
> -<version>1.4</version>
> -</dependency>
> -<!-- NekoGenerator -->
> -<dependency>
> -<groupId>net.sourceforge.nekohtml</groupId>
> -<artifactId>nekohtml</artifactId>
> -<version>1.9.15</version>
> -</dependency>
>
>           <!-- Test libraries -->
>           <dependency>
>
> Modified: cocoon/cocoon3/trunk/cocoon-stax/pom.xml
> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/cocoon-stax/pom.xml (original)
> +++ cocoon/cocoon3/trunk/cocoon-stax/pom.xml Mon Aug 29 11:22:28 2011
> @@ -40,7 +40,7 @@
>           </dependency>
>           <dependency>
>               <groupId>org.codehaus.woodstox</groupId>
> -<artifactId>wstx-asl</artifactId>
> +<artifactId>woodstox-core-asl</artifactId>
>               <optional>true</optional>
>           </dependency>
>           <dependency>
> @@ -52,6 +52,7 @@
>               <groupId>commons-io</groupId>
>               <artifactId>commons-io</artifactId>
>           </dependency>
> +
>           <!-- Logging -->
>           <dependency>
>               <groupId>org.slf4j</groupId>
>
> Modified: cocoon/cocoon3/trunk/parent/pom.xml
> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/parent/pom.xml?rev=1162745&r1=1162744&r2=1162745&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/parent/pom.xml (original)
> +++ cocoon/cocoon3/trunk/parent/pom.xml Mon Aug 29 11:22:28 2011
> @@ -26,7 +26,7 @@
>       <parent>
>           <groupId>org.apache</groupId>
>           <artifactId>apache</artifactId>
> -<version>9</version>
> +<version>10</version>
>           <relativePath/>
>       </parent>
>
> @@ -232,32 +232,32 @@
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-beans</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-core</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-context</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-context-support</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-aop</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-web</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
> @@ -339,7 +339,7 @@
>               <dependency>
>                   <groupId>net.sf.ehcache</groupId>
>                   <artifactId>ehcache-core</artifactId>
> -<version>2.4.3</version>
> +<version>2.4.4</version>
>               </dependency>
>               <dependency>
>                   <groupId>net.sourceforge.nekohtml</groupId>
> @@ -387,18 +387,18 @@
>               </dependency>
>               <dependency>
>                   <groupId>org.codehaus.woodstox</groupId>
> -<artifactId>wstx-asl</artifactId>
> -<version>4.0.6</version>
> +<artifactId>woodstox-core-asl</artifactId>
> +<version>4.1.1</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.apache.wicket</groupId>
>                   <artifactId>wicket</artifactId>
> -<version>1.4.17</version>
> +<version>1.4.18</version>
>               </dependency>
>               <dependency>
>                   <groupId>org.apache.wicket</groupId>
>                   <artifactId>wicket-spring</artifactId>
> -<version>1.4.17</version>
> +<version>1.4.18</version>
>                   <exclusions>
>                       <exclusion>
>                           <groupId>org.springframework</groupId>
> @@ -536,13 +536,13 @@
>               <dependency>
>                   <groupId>junit</groupId>
>                   <artifactId>junit</artifactId>
> -<version>4.8.2</version>
> +<version>4.9</version>
>                   <scope>test</scope>
>               </dependency>
>               <dependency>
>                   <groupId>org.springframework</groupId>
>                   <artifactId>spring-test</artifactId>
> -<version>3.0.5.RELEASE</version>
> +<version>3.0.6.RELEASE</version>
>                   <scope>test</scope>
>               </dependency>
>               <dependency>
>
>


-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/