[c3] Dependency management

2011-07-02 Thread Reinhard Pötz

On 07/02/2011 02:48 AM, thors...@apache.org wrote:

Author: thorsten
Date: Sat Jul  2 00:48:39 2011
New Revision: 1142134

URL: http://svn.apache.org/viewvc?rev=1142134view=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=1142134r1=1142133r2=1142134view=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 @@
optionaltrue/optional
  /dependency
  dependency
+groupIdorg.apache.xmlgraphics/groupId
+artifactIdxmlgraphics-commons/artifactId
+version1.4/version
+/dependency
+dependency
groupIdorg.apache.cocoon/groupId
artifactIdcocoon-serializers-charsets/artifactId
optionaltrue/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  reinh...@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

2011-07-02 Thread Simone Tripodi
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 reinh...@apache.org wrote:
 On 07/02/2011 02:48 AM, thors...@apache.org wrote:

 Author: thorsten
 Date: Sat Jul  2 00:48:39 2011
 New Revision: 1142134

 URL: http://svn.apache.org/viewvc?rev=1142134view=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=1142134r1=1142133r2=1142134view=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 @@
        optionaltrue/optional
      /dependency
      dependency
 +groupIdorg.apache.xmlgraphics/groupId
 +artifactIdxmlgraphics-commons/artifactId
 +version1.4/version
 +/dependency
 +dependency
        groupIdorg.apache.cocoon/groupId
        artifactIdcocoon-serializers-charsets/artifactId
        optionaltrue/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                  reinh...@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

2011-07-02 Thread Thorsten Scherler
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 @@
   optionaltrue/optional
 /dependency
 dependency
-groupIdorg.apache.xmlgraphics/groupId
-artifactIdxmlgraphics-commons/artifactId
-version1.4/version
-optionaltrue/optional
-/dependency
-dependency
   groupIdorg.apache.cocoon/groupId
   artifactIdcocoon-serializers-charsets/artifactId
   optionaltrue/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 reinh...@apache.org wrote:
  On 07/02/2011 02:48 AM, thors...@apache.org wrote:
 
  Author: thorsten
  Date: Sat Jul  2 00:48:39 2011
  New Revision: 1142134
 
  URL: http://svn.apache.org/viewvc?rev=1142134view=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=1142134r1=1142133r2=1142134view=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 @@
 optionaltrue/optional
   /dependency
   dependency
  +groupIdorg.apache.xmlgraphics/groupId
  +artifactIdxmlgraphics-commons/artifactId
  +version1.4/version
  +/dependency
  +dependency
 groupIdorg.apache.cocoon/groupId
 artifactIdcocoon-serializers-charsets/artifactId
 optionaltrue/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  reinh...@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/
---
Test set: 
org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializerTestCase
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.846 sec  
FAILURE!
testPipelineWithFOPSerializer(org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializerTestCase)
  Time elapsed: 0.842 sec   ERROR!
java.lang.NoClassDefFoundError: 
org/apache/xmlgraphics/util/uri/CommonURIResolver
at org.apache.fop.apps.FOURIResolver.init(FOURIResolver.java:56)
at org.apache.fop.apps.FopFactory.init(FopFactory.java:155)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:177)
at 
org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerializer.clinit(FopSerializer.java:37)
at 

Re: [c3] Dependency management

2011-07-02 Thread Thorsten Scherler
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/



Re: [c3] Dependency management

2011-07-02 Thread Simone Tripodi
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 scher...@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 @@
       optionaltrue/optional
     /dependency
     dependency
 -    groupIdorg.apache.xmlgraphics/groupId
 -    artifactIdxmlgraphics-commons/artifactId
 -    version1.4/version
 -    optionaltrue/optional
 -/dependency
 -    dependency
       groupIdorg.apache.cocoon/groupId
       artifactIdcocoon-serializers-charsets/artifactId
       optionaltrue/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 reinh...@apache.org wrote:
  On 07/02/2011 02:48 AM, thors...@apache.org wrote:
 
  Author: thorsten
  Date: Sat Jul  2 00:48:39 2011
  New Revision: 1142134
 
  URL: http://svn.apache.org/viewvc?rev=1142134view=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=1142134r1=1142133r2=1142134view=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 @@
         optionaltrue/optional
       /dependency
       dependency
  +groupIdorg.apache.xmlgraphics/groupId
  +artifactIdxmlgraphics-commons/artifactId
  +version1.4/version
  +/dependency
  +dependency
         groupIdorg.apache.cocoon/groupId
         artifactIdcocoon-serializers-charsets/artifactId
         optionaltrue/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                  reinh...@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/