AW: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

2016-09-12 Thread hansheinrichbraun
what i did copy sample and sample-webapp.in sample-webapp the tests made no 
problemin sample there were failures but when i looked deeper in it i found out 
i forgot to copy the test resources and in SitemapBuilderTest 
testNoMatchingPipeline () not NoMatchingPipeline is thrown but 
ProcessingException with this 2 changes i have no problem with the tests more i 
don't want at the moment



Von meinem Samsung Galaxy Smartphone gesendet.
 Ursprüngliche Nachricht Von: Francesco Chicchiriccò 
 Datum: 12.09.16  14:49  (GMT+01:00) An: 
users@cocoon.apache.org Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1 

Hi,

  are you on Windows?

  

  On Linux, Cocoon 3 with JDK 1.6 works fine, as also reported by
  Jenkins:

  

https://builds.apache.org/view/A-D/view/Cocoon/job/Cocoon%203.0/275/

  

  I'd suggest to clean up your local ~/.m2/repository directory, as
  there might be some corrupted artifacts leading to the strange
  errors below.

  

  Please check also my other reply on this thread.

  Regards.

  

  On 12/09/2016 14:11, Hans-Heinrich Braun wrote:



  
I reduced compile
to jave 1.6 and i get the following error :


  


  [WARNING] Error
injecting:
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo
  java.lang.NoClassDefFoundError:
org/apache/maven/shared/artifact/filter/collection/ArtifactFilterException
  
  
Caused
  by: java.lang.ClassNotFoundException:
org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)



.

  [ERROR]
Failed to execute goal

org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process
(default) on project cocoon-sample: Execution default of
goal

org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process
failed: A required class was missing while executing

org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process:
org/apache/maven/shared/artifact/filter/collection/ArtifactFilterException
  [ERROR]
-
  [ERROR]
realm =  
 
plugin>org.apache.maven.plugins:maven-remote-resources-plugin:1.4
  [ERROR]
strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  [ERROR]
urls[0] =
file:/home/braun/.m2/repository/org/apache/maven/plugins/maven-remote-resources-plugin/1.4/maven-remote-resources-plugin-1.4.jar
  [ERROR]
urls[1] =
file:/home/braun/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
  [ERROR]
urls[2] =
file:/home/braun/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
  [ERROR]
urls[3] =
file:/home/braun/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
  [ERROR]
urls[4] =
file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
  [ERROR]
urls[5] =
file:/home/braun/.m2/repository/org/apache/maven/shared/maven-artifact-resolver/1.0/maven-artifact-resolver-1.0.jar
  [ERROR]
urls[6] =
file:/home/braun/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.jar
  [ERROR]
urls[7] =
file:/home/braun/.m2/repository/org/apache/maven/shared/maven-filtering/1.1/maven-filtering-1.1.jar
  [ERROR]
urls[8] =
file:/home/braun/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
  [ERROR]
urls[9] =

file:/home/braun/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
  [ERROR]
urls[10] =
file:/home/braun/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.12/plexus-interpolation-1.12.jar
  [ERROR]
urls[11] =

AW: Re: AW: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

2016-09-12 Thread hansheinrichbraun
the other possibility is to include it in my wicket application but i didn't 
totally think it through maybe there was a reason that i once decided for a 
rest function


Von meinem Samsung Galaxy Smartphone gesendet.
 Ursprüngliche Nachricht Von: Francesco Chicchiriccò 
<ilgro...@apache.org> Datum: 12.09.16  14:13  (GMT+01:00) An: 
users@cocoon.apache.org Betreff: Re: AW: Re: cocoon-sample tests in 
cocoon-3.0.0-beta-1 

On 12/09/2016 13:47, hansheinrichbraun
  wrote:



  
  i am using java 1.8.0 and maven 3.3.3



I have created



https://issues.apache.org/jira/browse/COCOON3-138



for this problem.



As a workaround, please use JDK 1.7, or better do not build from
source but rather rely on the published Maven SNAPSHOT artifacts, as
shown in my own sample available at



https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105



HTH

Regards.




  
 Ursprüngliche Nachricht 
Von: Francesco Chicchiriccò <ilgro...@apache.org> 
Datum: 12.09.16 10:58 (GMT+01:00) 
An: users@cocoon.apache.org 
Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1 



  
  On 12/09/2016 10:51, hansheinrichbraun wrote:

  > the tests in cocoon-sample don't run anymore first the test
  complains 

  > that maven-resources-remote-plugin 1.4 has no readable pom

  

  Hi,

  could you please provide some more details?

  

  I have just checked up the Cocoon 3 sources from

  

  https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk

  

  the, after setting JAVA_HOME to JDK 1.6, I have launched

  

  mvn clean install

  

  and built successfully:

  

  [INFO] 



  [INFO] Reactor Summary:

  [INFO]

  [INFO] Apache Cocoon 3: Parent ... SUCCESS
  [  

  0.722 s]

  [INFO] Apache Cocoon 3: Utilities  SUCCESS
  [  

  1.186 s]

  [INFO] Apache Cocoon 3: Pipeline . SUCCESS
  [  

  0.262 s]

  [INFO] Apache Cocoon 3: SAX .. SUCCESS
  [  

  2.958 s]

  [INFO] Apache Cocoon 3: CLI .. SUCCESS
  [  

  1.053 s]

  [INFO] Apache Cocoon 3: Sitemap .. SUCCESS
  [  

  0.571 s]

  [INFO] Apache Cocoon 3: Controller ... SUCCESS
  [  

  0.167 s]

  [INFO] Apache Cocoon 3: Servlet .. SUCCESS
  [  

  0.277 s]

  [INFO] Apache Cocoon 3: Optional . SUCCESS
  [  

  4.093 s]

  [INFO] Apache cocoon 3: Databases integration components . SUCCESS
  [  

  0.205 s]

  [INFO] Apache Cocoon 3: Monitoring ... SUCCESS
  [  

  2.756 s]

  [INFO] Apache Cocoon 3: REST support . SUCCESS
  [  

  1.190 s]

  [INFO] Apache Cocoon 3: Profiling  SUCCESS
  [  

  0.534 s]

  [INFO] Apache Cocoon 3: Optional REST components . SUCCESS
  [  

  0.844 s]

  [INFO] Apache Cocoon 3: String Templates . SUCCESS
  [  

  0.673 s]

  [INFO] Apache Cocoon 3: Shiro integration  SUCCESS
  [  

  0.295 s]

  [INFO] Apache Cocoon 3: StAX . SUCCESS
  [  

  1.045 s]

  [INFO] Apache Cocoon 3: Wicket Integration ... SUCCESS
  [  

  0.315 s]

  [INFO] Apache Cocoon 3: All dependencies . SUCCESS
  [  

  0.251 s]

  [INFO] Apache Cocoon 3: Databases sample integration . SUCCESS
  [  

  0.567 s]

  [INFO] Apache Cocoon 3: Sample ... SUCCESS
  [ 

  15.005 s]

  [INFO] Apache Cocoon 3: Shiro sample integration . SUCCESS
  [  

  0.634 s]

  [INFO] Apache Cocoon 3: Root . SUCCESS
  [  

  0.039 s]

  [INFO] 



  [INFO] BUILD SUCCESS

  [INFO] 



  [INFO] Total time: 35.933 s

  [INFO] Finished at: 2016-09-12T10:56:48+01:00

  [INFO] Final Memory: 55M/630M

  [INFO] 




-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/

  

AW: Re: AW: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

2016-09-12 Thread hansheinrichbraun
thank you chicchiricco i took cocoon sample and augmented it by a few own 
functions.and can compile it under 1.8 now i wanted to add the tests to build 
up a continuous dev pipeline and had problem with the tests.The main reason i 
wanted to use it is for pdf generation email in future as mysql dabase server 
for angular2. So the future for cocoon doesn't look too brilliant maybe i look 
more in the node.js environment


Von meinem Samsung Galaxy Smartphone gesendet.
 Ursprüngliche Nachricht Von: Francesco Chicchiriccò 
<ilgro...@apache.org> Datum: 12.09.16  14:13  (GMT+01:00) An: 
users@cocoon.apache.org Betreff: Re: AW: Re: cocoon-sample tests in 
cocoon-3.0.0-beta-1 

On 12/09/2016 13:47, hansheinrichbraun
  wrote:



  
  i am using java 1.8.0 and maven 3.3.3



I have created



https://issues.apache.org/jira/browse/COCOON3-138



for this problem.



As a workaround, please use JDK 1.7, or better do not build from
source but rather rely on the published Maven SNAPSHOT artifacts, as
shown in my own sample available at



https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105



HTH

Regards.




  
 Ursprüngliche Nachricht 
Von: Francesco Chicchiriccò <ilgro...@apache.org> 
Datum: 12.09.16 10:58 (GMT+01:00) 
An: users@cocoon.apache.org 
Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1 



  
  On 12/09/2016 10:51, hansheinrichbraun wrote:

  > the tests in cocoon-sample don't run anymore first the test
  complains 

  > that maven-resources-remote-plugin 1.4 has no readable pom

  

  Hi,

  could you please provide some more details?

  

  I have just checked up the Cocoon 3 sources from

  

  https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk

  

  the, after setting JAVA_HOME to JDK 1.6, I have launched

  

  mvn clean install

  

  and built successfully:

  

  [INFO] 



  [INFO] Reactor Summary:

  [INFO]

  [INFO] Apache Cocoon 3: Parent ... SUCCESS
  [  

  0.722 s]

  [INFO] Apache Cocoon 3: Utilities  SUCCESS
  [  

  1.186 s]

  [INFO] Apache Cocoon 3: Pipeline . SUCCESS
  [  

  0.262 s]

  [INFO] Apache Cocoon 3: SAX .. SUCCESS
  [  

  2.958 s]

  [INFO] Apache Cocoon 3: CLI .. SUCCESS
  [  

  1.053 s]

  [INFO] Apache Cocoon 3: Sitemap .. SUCCESS
  [  

  0.571 s]

  [INFO] Apache Cocoon 3: Controller ... SUCCESS
  [  

  0.167 s]

  [INFO] Apache Cocoon 3: Servlet .. SUCCESS
  [  

  0.277 s]

  [INFO] Apache Cocoon 3: Optional . SUCCESS
  [  

  4.093 s]

  [INFO] Apache cocoon 3: Databases integration components . SUCCESS
  [  

  0.205 s]

  [INFO] Apache Cocoon 3: Monitoring ... SUCCESS
  [  

  2.756 s]

  [INFO] Apache Cocoon 3: REST support . SUCCESS
  [  

  1.190 s]

  [INFO] Apache Cocoon 3: Profiling  SUCCESS
  [  

  0.534 s]

  [INFO] Apache Cocoon 3: Optional REST components . SUCCESS
  [  

  0.844 s]

  [INFO] Apache Cocoon 3: String Templates . SUCCESS
  [  

  0.673 s]

  [INFO] Apache Cocoon 3: Shiro integration  SUCCESS
  [  

  0.295 s]

  [INFO] Apache Cocoon 3: StAX . SUCCESS
  [  

  1.045 s]

  [INFO] Apache Cocoon 3: Wicket Integration ... SUCCESS
  [  

  0.315 s]

  [INFO] Apache Cocoon 3: All dependencies . SUCCESS
  [  

  0.251 s]

  [INFO] Apache Cocoon 3: Databases sample integration . SUCCESS
  [  

  0.567 s]

  [INFO] Apache Cocoon 3: Sample ... SUCCESS
  [ 

  15.005 s]

  [INFO] Apache Cocoon 3: Shiro sample integration . SUCCESS
  [  

  0.634 s]

  [INFO] Apache Cocoon 3: Root . SUCCESS
  [  

  0.039 s]

  [INFO] 



  [INFO] BUILD SUCCESS

  [INFO] 



  [INFO] Total time: 35.933 s

  [INFO] Finished at: 2016-09-12T10:56:48+01:00

  [INFO] Final Memory: 55M/630M

  [INFO] 




-- 
Francesco Chicchiri

Re: AW: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

2016-09-12 Thread Francesco Chicchiriccò

On 12/09/2016 13:47, hansheinrichbraun wrote:

i am using java 1.8.0 and maven 3.3.3


I have created

https://issues.apache.org/jira/browse/COCOON3-138

for this problem.

As a workaround, please use JDK 1.7, or better do not build from source 
but rather rely on the published Maven SNAPSHOT artifacts, as shown in 
my own sample available at


https://github.com/ilgrosso/cocoon3EmptyProject/tree/COCOON3-105

HTH
Regards.


 Ursprüngliche Nachricht 
Von: Francesco Chicchiriccò 
Datum: 12.09.16 10:58 (GMT+01:00)
An: users@cocoon.apache.org
Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

On 12/09/2016 10:51, hansheinrichbraun wrote:
> the tests in cocoon-sample don't run anymore first the test complains
> that maven-resources-remote-plugin 1.4 has no readable pom

Hi,
could you please provide some more details?

I have just checked up the Cocoon 3 sources from

https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk

the, after setting JAVA_HOME to JDK 1.6, I have launched

mvn clean install

and built successfully:

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Cocoon 3: Parent ... SUCCESS [
0.722 s]
[INFO] Apache Cocoon 3: Utilities  SUCCESS [
1.186 s]
[INFO] Apache Cocoon 3: Pipeline . SUCCESS [
0.262 s]
[INFO] Apache Cocoon 3: SAX .. SUCCESS [
2.958 s]
[INFO] Apache Cocoon 3: CLI .. SUCCESS [
1.053 s]
[INFO] Apache Cocoon 3: Sitemap .. SUCCESS [
0.571 s]
[INFO] Apache Cocoon 3: Controller ... SUCCESS [
0.167 s]
[INFO] Apache Cocoon 3: Servlet .. SUCCESS [
0.277 s]
[INFO] Apache Cocoon 3: Optional . SUCCESS [
4.093 s]
[INFO] Apache cocoon 3: Databases integration components . SUCCESS [
0.205 s]
[INFO] Apache Cocoon 3: Monitoring ... SUCCESS [
2.756 s]
[INFO] Apache Cocoon 3: REST support . SUCCESS [
1.190 s]
[INFO] Apache Cocoon 3: Profiling  SUCCESS [
0.534 s]
[INFO] Apache Cocoon 3: Optional REST components . SUCCESS [
0.844 s]
[INFO] Apache Cocoon 3: String Templates . SUCCESS [
0.673 s]
[INFO] Apache Cocoon 3: Shiro integration  SUCCESS [
0.295 s]
[INFO] Apache Cocoon 3: StAX . SUCCESS [
1.045 s]
[INFO] Apache Cocoon 3: Wicket Integration ... SUCCESS [
0.315 s]
[INFO] Apache Cocoon 3: All dependencies . SUCCESS [
0.251 s]
[INFO] Apache Cocoon 3: Databases sample integration . SUCCESS [
0.567 s]
[INFO] Apache Cocoon 3: Sample ... SUCCESS [
15.005 s]
[INFO] Apache Cocoon 3: Shiro sample integration . SUCCESS [
0.634 s]
[INFO] Apache Cocoon 3: Root . SUCCESS [
0.039 s]
[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time: 35.933 s
[INFO] Finished at: 2016-09-12T10:56:48+01:00
[INFO] Final Memory: 55M/630M
[INFO]



--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/



AW: Re: cocoon-sample tests in cocoon-3.0.0-beta-1

2016-09-12 Thread hansheinrichbraun
i am using java 1.8.0 and maven 3.3.3


Von meinem Samsung Galaxy Smartphone gesendet.
 Ursprüngliche Nachricht Von: Francesco Chicchiriccò 
 Datum: 12.09.16  10:58  (GMT+01:00) An: 
users@cocoon.apache.org Betreff: Re: cocoon-sample tests in cocoon-3.0.0-beta-1 
On 12/09/2016 10:51, hansheinrichbraun wrote:
> the tests in cocoon-sample don't run anymore first the test complains 
> that maven-resources-remote-plugin 1.4 has no readable pom

Hi,
could you please provide some more details?

I have just checked up the Cocoon 3 sources from

https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk

the, after setting JAVA_HOME to JDK 1.6, I have launched

mvn clean install

and built successfully:

[INFO] 

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Cocoon 3: Parent ... SUCCESS [  
0.722 s]
[INFO] Apache Cocoon 3: Utilities  SUCCESS [  
1.186 s]
[INFO] Apache Cocoon 3: Pipeline . SUCCESS [  
0.262 s]
[INFO] Apache Cocoon 3: SAX .. SUCCESS [  
2.958 s]
[INFO] Apache Cocoon 3: CLI .. SUCCESS [  
1.053 s]
[INFO] Apache Cocoon 3: Sitemap .. SUCCESS [  
0.571 s]
[INFO] Apache Cocoon 3: Controller ... SUCCESS [  
0.167 s]
[INFO] Apache Cocoon 3: Servlet .. SUCCESS [  
0.277 s]
[INFO] Apache Cocoon 3: Optional . SUCCESS [  
4.093 s]
[INFO] Apache cocoon 3: Databases integration components . SUCCESS [  
0.205 s]
[INFO] Apache Cocoon 3: Monitoring ... SUCCESS [  
2.756 s]
[INFO] Apache Cocoon 3: REST support . SUCCESS [  
1.190 s]
[INFO] Apache Cocoon 3: Profiling  SUCCESS [  
0.534 s]
[INFO] Apache Cocoon 3: Optional REST components . SUCCESS [  
0.844 s]
[INFO] Apache Cocoon 3: String Templates . SUCCESS [  
0.673 s]
[INFO] Apache Cocoon 3: Shiro integration  SUCCESS [  
0.295 s]
[INFO] Apache Cocoon 3: StAX . SUCCESS [  
1.045 s]
[INFO] Apache Cocoon 3: Wicket Integration ... SUCCESS [  
0.315 s]
[INFO] Apache Cocoon 3: All dependencies . SUCCESS [  
0.251 s]
[INFO] Apache Cocoon 3: Databases sample integration . SUCCESS [  
0.567 s]
[INFO] Apache Cocoon 3: Sample ... SUCCESS [ 
15.005 s]
[INFO] Apache Cocoon 3: Shiro sample integration . SUCCESS [  
0.634 s]
[INFO] Apache Cocoon 3: Root . SUCCESS [  
0.039 s]
[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 35.933 s
[INFO] Finished at: 2016-09-12T10:56:48+01:00
[INFO] Final Memory: 55M/630M
[INFO] 


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org