Re: Can't build trunk
On Tue, 2007-07-10 at 23:03 -0700, Ralph Goers wrote: I checked out the latest and ran mvn -Dmaven.test.skip=true -P allblocks install on Windows using Maven 2.0.6 and Java 1.6.0_01. Any ideas? Missing: -- 1) org.apache.cocoon:cocoon-rcl-webapp-wrapper:jar:1.0.0-RC1-SNAPSHOT Need to build it manually: cd tools mvn install (Maybe http://svn.apache.org/viewvc?view=revrev=555201 fixes that already?) HTH, Alfred.
Can't build trunk
I checked out the latest and ran mvn -Dmaven.test.skip=true -P allblocks install on Windows using Maven 2.0.6 and Java 1.6.0_01. Any ideas? [INFO] Building cocoon-acegisecurity [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce-once {execution: enforce-maven}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] Preparing cocoon:rcl [WARNING] Removing: rcl from forked lifecycle, to prevent recursive invocation. [INFO] [enforcer:enforce-once {execution: enforce-maven}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [cocoon:rcl {execution: rcl}] [INFO] Creating a reloading Cocoon web application. [INFO] Deploying string-template to WEB-INF/log4j.xml [INFO] snapshot org.apache.cocoon:cocoon-rcl-webapp-wrapper:1.0.0-RC1-SNAPSHOT: checking for updates from apache.snapsh ts Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-rcl-webapp-wrapper/1.0.0-RC1 SNAPSHOT/cocoon-rcl-webapp-wrapper-1.0.0-RC1-SNAPSHOT.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.cocoon:cocoon-rcl-webapp-wrapper:jar:1.0.0-RC1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-rcl-webapp-wrapper \ -Dversion=1.0.0-RC1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) unspecified:unspecified:jar:0.0 2) org.apache.cocoon:cocoon-rcl-webapp-wrapper:jar:1.0.0-RC1-SNAPSHOT -- 1 required artifact is missing. for artifact: unspecified:unspecified:jar:0.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
RE: Can't build trunk
Date: Tue, 10 Jul 2007 23:03:27 -0700 From: [EMAIL PROTECTED] I checked out the latest and ran mvn -Dmaven.test.skip=true -P allblocks install on Windows using Maven 2.0.6 and Java 1.6.0_01. Any ideas? Given Carsten's reply in the 2.2 does not build with JDK1.4.2 thread, have you tried Maven 2.0.7? The problem in that other thread was also that Maven 2.0.6 resolved a dependency differently in different JDK versions. Andrew. -- http://pseudoq.sourceforge.net/ Open source java Sudoku application _ Celeb spotting – Play CelebMashup and win cool prizes https://www.celebmashup.com/index2.html
Re: Can't build trunk
Andrew Stevens wrote: Date: Tue, 10 Jul 2007 23:03:27 -0700 From: [EMAIL PROTECTED] I checked out the latest and ran mvn -Dmaven.test.skip=true -P allblocks install on Windows using Maven 2.0.6 and Java 1.6.0_01. Any ideas? Given Carsten's reply in the 2.2 does not build with JDK1.4.2 thread, have you tried Maven 2.0.7? The problem in that other thread was also that Maven 2.0.6 resolved a dependency differently in different JDK versions. A build with maven 2.0.7 and jdk 1.5 and -P allblocks (on macosx) works for me. Carsten -- Carsten Ziegeler [EMAIL PROTECTED] signature.asc Description: OpenPGP digital signature
Re: Can't build trunk
Andrew Stevens ats37 at hotmail.com writes: The problem in that other thread was also that Maven 2.0.6 resolved a dependency differently in different JDK versions. That's a kind of funny. Now Maven tells us what our JDK has to be ;-) Is that a problem of a particular POM? Can they specify if in JDK 5 use that particular version? Joerg
Can't build trunk
Hi, I just did an 'svn up' and now I'm having problems building trunk. It looks like something with rcl. [INFO] Building Cocoon Reloading ClassLoader - Webapp Wrapper [INFO]task-segment: [install] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 4 source files to C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\CocoonReloadingListener.java: [32,8] cann ot resolve symbol symbol : constructor ReloadingListener () location: class org.apache.commons.jci.listeners.ReloadingListener C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\CocoonReloadingListener.java: [36,13] can not resolve symbol symbol : method onFileChange (java.io.File) location: class org.apache.commons.jci.listeners.ReloadingListener C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\CocoonReloadingListener.java: [41,13] can not resolve symbol symbol : method onFileDelete (java.io.File) location: class org.apache.commons.jci.listeners.ReloadingListener C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\CocoonReloadingListener.java: [46,13] can not resolve symbol symbol : method onFileCreate (java.io.File) location: class org.apache.commons.jci.listeners.ReloadingListener C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\ReloadingClassloaderManager.j ava:[72,18] cannot resolve symbol symbol : method addReloadNotificationListener (org.apache.commons.jci.ReloadingClassLoader) location: class org.apache.commons.jci.listeners.ReloadingListener C:\Projects\cocoon\cocoon-trunk\tools\cocoon-rcl\cocoon-rcl-webapp-wrapp er\src\main\java\org\apache\cocoon\servlet\ReloadingClassloaderManager.j ava:[73,19] addListener(org.apache.commons.jci.monitor.FilesystemAlterationListener) in org.apache.commons.jci.monitor.FilesystemAlterationMonitor cannot be applied t o (java.io.File,org.apache.commons.jci.listeners.ReloadingListener) Anyone any idea? Thanks, Bart.
Re: Can't build trunk
Bart Molenkamp wrote: Anyone any idea? yes, my fault :-( At the weekend I upgraded to the latest version of commons-jci which is only available from SVN but not in any public Maven repo. For now I commented both rcl modules in cocoon/trunk/tools/pom.xml. There could be some references in other poms to it but don't have time now to run a build with an empty local repo to find it out. -- Reinhard Pötz Independent Consultant, Trainer (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc
Re: Can't build trunk with a clean maven repository
The problem is that the cocoon-pipeline-impl TEST-jar is missing. Test-jars are built in the test step, ie. -Dmaven.test.skip=true is *not* set. Normally only other test-jars depend on such a test-jar (e.g. when you have a Test base class, which is the case in cocoon, although I am not familiar with the new core-split-up yet). Test dependencies are marked as dependencies with the scope test in maven, so they are only resolved when the test phase is running. In this case the dependency comes from cocoon-pipeline-components, which is the normal jar, not the test-jar. This means someone either forgot the scopetest/scope in the dependency-section in cocoon-pipeline-components pom or for some weird reason the pipeline-components code does use some test classes. In the latter case you have to built the test-jar for cocoon-pipeline-impl manually by going into this directory and call mvn install (without test skip) to built the test jar, then go back and do a normal mvn -Dmaven.test.skip=true install, because now the test-jar is present. If the creation of the test-jar fails, because the tests itself fail, one should fix the tests. But I suppose (without looking at the code) that the correct scope property is missing. This is one of those maven things you won't find in any tutorial but have to learn yourself Alex Bart Molenkamp schrieb: Hi, Cocoon doesn't seem to build when I clean my local maven repository. I get the following error: Missing: -- 1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-pipeline-impl \ -Dversion=1.0.0-SNAPSHOT -Dpackaging=test-jar -Dfile=/path/to/file Path to dependency: 1) org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-SNAPSHOT 2) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.snapshot (http://people.apache.org/repo/m2-snapshot-repository), apache-cvs (http://people.apache.org/repo/m1-snapshot-repository) I found this page [1] to report a similair error. It says that this is because of failing tests, but passing -Dmaven.test.skip=true doesn't make any difference. Anybody any idea? Bart. [1] http://mail-archives.apache.org/mod_mbox/cocoon-dev/200605.mbox/%3Ce34i0 [EMAIL PROTECTED] -- Alexander Klimetschek http://www.mindquarry.com
Can't build trunk with a clean maven repository
Hi, Cocoon doesn't seem to build when I clean my local maven repository. I get the following error: Missing: -- 1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-pipeline-impl \ -Dversion=1.0.0-SNAPSHOT -Dpackaging=test-jar -Dfile=/path/to/file Path to dependency: 1) org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-SNAPSHOT 2) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-SNAPSHOT -- 1 required artifact is missing. for artifact: org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.snapshot (http://people.apache.org/repo/m2-snapshot-repository), apache-cvs (http://people.apache.org/repo/m1-snapshot-repository) I found this page [1] to report a similair error. It says that this is because of failing tests, but passing -Dmaven.test.skip=true doesn't make any difference. Anybody any idea? Bart. [1] http://mail-archives.apache.org/mod_mbox/cocoon-dev/200605.mbox/%3Ce34i0 [EMAIL PROTECTED]