You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Reinhard Pötz <re...@apache.org> on 2011/07/02 16:39:57 UTC
[c3] Dependency management
On 07/02/2011 02:48 AM, thorsten@apache.org wrote:
> Author: thorsten
> Date: Sat Jul 2 00:48:39 2011
> New Revision: 1142134
>
> URL: http://svn.apache.org/viewvc?rev=1142134&view=rev
> Log:
> Fixing fop test which was failing because of missing class org/apache/xmlgraphics/util/uri/CommonURIResolver
>
> 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=1142134&r1=1142133&r2=1142134&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Sat Jul 2 00:48:39 2011
> @@ -92,6 +92,11 @@
> <optional>true</optional>
> </dependency>
> <dependency>
> +<groupId>org.apache.xmlgraphics</groupId>
> +<artifactId>xmlgraphics-commons</artifactId>
> +<version>1.4</version>
> +</dependency>
> +<dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-serializers-charsets</artifactId>
> <optional>true</optional>
>
>
>
Please use the dependency management section of the parent POM to set
version numbers so that they are the same for one artifact throughout
our codebase. Thanks!
--
Reinhard Pötz Founder & Managing Director, Indoqa and Deepsearch
http://www.indoqa.com/people/reinhard-poetz.html
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member reinhard@apache.org
________________________________________________________________________
Furthermore, I think Oracle has to honor the JSPA agreement.
http://s.apache.org/JCPIsDead http://s.apache.org/tck-trap
Re: [c3] Dependency management
Posted by Simone Tripodi <si...@apache.org>.
Hi Thorsten!!!
really wired, I don't understand why it didn't fail on my machine,
thanks for having taken care of it and fixed!!!
All the best, have a nice weekend!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Sat, Jul 2, 2011 at 8:49 PM, Thorsten Scherler <sc...@gmail.com> wrote:
> On Sat, 2011-07-02 at 19:01 +0200, Simone Tripodi wrote:
>> Hi Thorsten,
>> can you please tell me wich environment are you using? Because on both
>> my Java5/6 on Mac os and Jenkins@ASF we don't get such failure!
>
> Hmm that is weird then! I am on Ubuntu 11.04.
>
> thorsten@mcKenny:~/src/apache/cocoon3$ java -version
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
>
> thorsten@mcKenny:~/src/apache/cocoon3$ mvn -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_25
> Java home: /home/thorsten/opt/jdk1.6.0_25/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.38-8-generic" arch: "amd64" Family:
> "unix"
>
> If I remove the dep like:
>
> thorsten@mcKenny:~/src/apache/cocoon3$ svn diff
> Index: cocoon-optional/pom.xml
> ===================================================================
> --- cocoon-optional/pom.xml (revision 1142145)
> +++ cocoon-optional/pom.xml (working copy)
> @@ -92,12 +92,6 @@
> <optional>true</optional>
> </dependency>
> <dependency>
> - <groupId>org.apache.xmlgraphics</groupId>
> - <artifactId>xmlgraphics-commons</artifactId>
> - <version>1.4</version>
> - <optional>true</optional>
> -</dependency>
> - <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-serializers-charsets</artifactId>
> <optional>true</optional>
>
> Then I get:
>
> Tests in error:
>
> testPipelineWithFOPSerializer(org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializerTestCase)
>
> Tests run: 12, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
>
> You can find the surefire report attached.
>
> salu2
>
>> TIA, all the best, have a nice weekend!
>> Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://www.99soft.org/
>>
>>
>>
>> On Sat, Jul 2, 2011 at 4:39 PM, Reinhard Pötz <re...@apache.org> wrote:
>> > On 07/02/2011 02:48 AM, thorsten@apache.org wrote:
>> >>
>> >> Author: thorsten
>> >> Date: Sat Jul 2 00:48:39 2011
>> >> New Revision: 1142134
>> >>
>> >> URL: http://svn.apache.org/viewvc?rev=1142134&view=rev
>> >> Log:
>> >> Fixing fop test which was failing because of missing class
>> >> org/apache/xmlgraphics/util/uri/CommonURIResolver
>> >>
>> >> 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=1142134&r1=1142133&r2=1142134&view=diff
>> >>
>> >> ==============================================================================
>> >> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
>> >> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Sat Jul 2 00:48:39 2011
>> >> @@ -92,6 +92,11 @@
>> >> <optional>true</optional>
>> >> </dependency>
>> >> <dependency>
>> >> +<groupId>org.apache.xmlgraphics</groupId>
>> >> +<artifactId>xmlgraphics-commons</artifactId>
>> >> +<version>1.4</version>
>> >> +</dependency>
>> >> +<dependency>
>> >> <groupId>org.apache.cocoon</groupId>
>> >> <artifactId>cocoon-serializers-charsets</artifactId>
>> >> <optional>true</optional>
>> >>
>> >>
>> >>
>> >
>> > Please use the dependency management section of the parent POM to set
>> > version numbers so that they are the same for one artifact throughout our
>> > codebase. Thanks!
>> >
>> > --
>> > Reinhard Pötz Founder & Managing Director, Indoqa and Deepsearch
>> > http://www.indoqa.com/people/reinhard-poetz.html
>> >
>> > Member of the Apache Software Foundation
>> > Apache Cocoon Committer, PMC member reinhard@apache.org
>> > ________________________________________________________________________
>> >
>> > Furthermore, I think Oracle has to honor the JSPA agreement.
>> > http://s.apache.org/JCPIsDead http://s.apache.org/tck-trap
>> >
>
> --
> Thorsten Scherler <thorsten.at.apache.org>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>
> http://www.codebusters.es/
>
Re: [c3] Dependency management
Posted by Thorsten Scherler <sc...@gmail.com>.
On Sat, 2011-07-02 at 19:01 +0200, Simone Tripodi wrote:
> Hi Thorsten,
> can you please tell me wich environment are you using? Because on both
> my Java5/6 on Mac os and Jenkins@ASF we don't get such failure!
Hmm that is weird then! I am on Ubuntu 11.04.
thorsten@mcKenny:~/src/apache/cocoon3$ java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
thorsten@mcKenny:~/src/apache/cocoon3$ mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_25
Java home: /home/thorsten/opt/jdk1.6.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.38-8-generic" arch: "amd64" Family:
"unix"
If I remove the dep like:
thorsten@mcKenny:~/src/apache/cocoon3$ svn diff
Index: cocoon-optional/pom.xml
===================================================================
--- cocoon-optional/pom.xml (revision 1142145)
+++ cocoon-optional/pom.xml (working copy)
@@ -92,12 +92,6 @@
<optional>true</optional>
</dependency>
<dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>xmlgraphics-commons</artifactId>
- <version>1.4</version>
- <optional>true</optional>
-</dependency>
- <dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-serializers-charsets</artifactId>
<optional>true</optional>
Then I get:
Tests in error:
testPipelineWithFOPSerializer(org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializerTestCase)
Tests run: 12, Failures: 0, Errors: 1, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
You can find the surefire report attached.
salu2
> TIA, all the best, have a nice weekend!
> Simo
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Sat, Jul 2, 2011 at 4:39 PM, Reinhard Pötz <re...@apache.org> wrote:
> > On 07/02/2011 02:48 AM, thorsten@apache.org wrote:
> >>
> >> Author: thorsten
> >> Date: Sat Jul 2 00:48:39 2011
> >> New Revision: 1142134
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1142134&view=rev
> >> Log:
> >> Fixing fop test which was failing because of missing class
> >> org/apache/xmlgraphics/util/uri/CommonURIResolver
> >>
> >> 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=1142134&r1=1142133&r2=1142134&view=diff
> >>
> >> ==============================================================================
> >> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
> >> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Sat Jul 2 00:48:39 2011
> >> @@ -92,6 +92,11 @@
> >> <optional>true</optional>
> >> </dependency>
> >> <dependency>
> >> +<groupId>org.apache.xmlgraphics</groupId>
> >> +<artifactId>xmlgraphics-commons</artifactId>
> >> +<version>1.4</version>
> >> +</dependency>
> >> +<dependency>
> >> <groupId>org.apache.cocoon</groupId>
> >> <artifactId>cocoon-serializers-charsets</artifactId>
> >> <optional>true</optional>
> >>
> >>
> >>
> >
> > Please use the dependency management section of the parent POM to set
> > version numbers so that they are the same for one artifact throughout our
> > codebase. Thanks!
> >
> > --
> > Reinhard Pötz Founder & Managing Director, Indoqa and Deepsearch
> > http://www.indoqa.com/people/reinhard-poetz.html
> >
> > Member of the Apache Software Foundation
> > Apache Cocoon Committer, PMC member reinhard@apache.org
> > ________________________________________________________________________
> >
> > Furthermore, I think Oracle has to honor the JSPA agreement.
> > http://s.apache.org/JCPIsDead http://s.apache.org/tck-trap
> >
--
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/
Re: [c3] Dependency management
Posted by Simone Tripodi <si...@apache.org>.
Hi Thorsten,
can you please tell me wich environment are you using? Because on both
my Java5/6 on Mac os and Jenkins@ASF we don't get such failure!
TIA, all the best, have a nice weekend!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Sat, Jul 2, 2011 at 4:39 PM, Reinhard Pötz <re...@apache.org> wrote:
> On 07/02/2011 02:48 AM, thorsten@apache.org wrote:
>>
>> Author: thorsten
>> Date: Sat Jul 2 00:48:39 2011
>> New Revision: 1142134
>>
>> URL: http://svn.apache.org/viewvc?rev=1142134&view=rev
>> Log:
>> Fixing fop test which was failing because of missing class
>> org/apache/xmlgraphics/util/uri/CommonURIResolver
>>
>> 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=1142134&r1=1142133&r2=1142134&view=diff
>>
>> ==============================================================================
>> --- cocoon/cocoon3/trunk/cocoon-optional/pom.xml (original)
>> +++ cocoon/cocoon3/trunk/cocoon-optional/pom.xml Sat Jul 2 00:48:39 2011
>> @@ -92,6 +92,11 @@
>> <optional>true</optional>
>> </dependency>
>> <dependency>
>> +<groupId>org.apache.xmlgraphics</groupId>
>> +<artifactId>xmlgraphics-commons</artifactId>
>> +<version>1.4</version>
>> +</dependency>
>> +<dependency>
>> <groupId>org.apache.cocoon</groupId>
>> <artifactId>cocoon-serializers-charsets</artifactId>
>> <optional>true</optional>
>>
>>
>>
>
> Please use the dependency management section of the parent POM to set
> version numbers so that they are the same for one artifact throughout our
> codebase. Thanks!
>
> --
> Reinhard Pötz Founder & Managing Director, Indoqa and Deepsearch
> http://www.indoqa.com/people/reinhard-poetz.html
>
> Member of the Apache Software Foundation
> Apache Cocoon Committer, PMC member reinhard@apache.org
> ________________________________________________________________________
>
> Furthermore, I think Oracle has to honor the JSPA agreement.
> http://s.apache.org/JCPIsDead http://s.apache.org/tck-trap
>
Re: [c3] Dependency management
Posted by Thorsten Scherler <sc...@gmail.com>.
On Sat, 2011-07-02 at 16:39 +0200, Reinhard Pötz wrote:
...
>
> Please use the dependency management section of the parent POM to set
> version numbers so that they are the same for one artifact throughout
> our codebase. Thanks!
Committed revision 1142266.
Thanks for pointing out.
salu2
--
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/