Fwd: Japex issue
by Julien Viet
Begin forwarded message:
> From: Santiago Pericas-Geertsen <santiago.pericasgeertsen(a)oracle.com>
> Date: September 22, 2011 6:18:54 PM GMT+02:00
> To: Julien Viet <julien(a)julienviet.com>
> Subject: Re: Japex issue
>
> Julien,
>
> Just deployed Japex 1.2.4 to java.net [1]. It should be synched to Maven Central in some time (not sure how long, though).
>
> Thanks.
>
> -- Santiago
>
> [1] https://maven.java.net/content/repositories/releases/com/sun/japex/japex-...
>
> On Sep 21, 2011, at 3:24 PM, Julien Viet wrote:
>
>> Hi Santiago,
>>
>> I confirm it does fix the problem, I attached the trivial patch to the mail.
>>
>> could you tell me when this would be available in a version (preferably available on maven central like other release are).
>>
>> Julien
>>
>>
>> <patch.txt>
>>
>> On Sep 21, 2011, at 7:53 PM, Santiago Pericas-Geertsen wrote:
>>
>>> Julien,
>>>
>>> Looks like it may be a 1-line fix. Do you want to try it by pulling the Japex sources and compiling it [1]? The class is called JapexMojo.
>>>
>>> With Javaone and other deadlines, it will be hard for me to test this. But I'd be happy to commit a patch if the fix works for you.
>>>
>>> Thanks.
>>>
>>> -- Santiago
>>>
>>> [1] http://java.net/projects/japex/sources/svn/show
>>>
>>> On Sep 21, 2011, at 1:33 PM, Julien Viet wrote:
>>>
>>>> Hi,
>>>>
>>>> I had issues to make the maven japex plugin run with Maven 3 due to a classpath issue that make the maven runtime to resolve the classpath to the "target/test-classes" only and not the transitive maven dependencies resolved by the test scope of the module.
>>>>
>>>> The issue lies in the fact that the MOJO does not declare the "requiresDependencyResolution" / "requiresDependencyCollection" meta data.
>>>>
>>>> I found someone describing a solution for this issue here : http://www.mail-archive.com/users@maven.apache.org/msg115700.html
>>>>
>>>> this is a quite short reading fortunately.
>>>>
>>>> to reproduce the issue, a simple japex driver that uses a dependency external dependency will show the failure with maven 3.
>>>>
>>>> cheers
>>>>
>>>> Julien
>>>
>>
>
13 years, 2 months
Fwd: [exo-portal] gatein-portal-trunk-pkg - Build # 81 - Still Failing !!!
by Julien Viet
for some reason the japex plugin fails with Maven 3 but works fine with Maven 2.
if someone has an idea to suggest... (beside the obviously stupid idea to comment or remove the japex section)
Begin forwarded message:
> From: ci(a)exoplatform.com
> Date: September 17, 2011 2:43:30 AM GMT+02:00
> To: exo-portal(a)exoplatform.com, brice.revenant(a)exoplatform.com, exo-swf-notifications(a)exoplatform.com
> Subject: [exo-portal] gatein-portal-trunk-pkg - Build # 81 - Still Failing !!!
>
> BUILD FAILURE
> Didn't succeed for 2 builds !!!
> Build URL: http://ci.exoplatform.org/job/gatein-portal-trunk-pkg/81/
> (You may have to logon first into Hudson if this is a private job - otherwise you'll receive a 404 error)
> Project: gatein-portal-trunk-pkg
> Date of build: Sat, 17 Sep 2011 02:09:49 +0200
> Build duration: 33 min
>
> CHANGES
> Revision 7456 by nscavell:(GTNPORTAL-2108: Remove System.out during navigation export.)
> edit /portal/trunk/component/portal/src/main/java/org/exoplatform/portal/mop/management/operations/navigation/FilteredNavigationExportResource.java
>
> JUnit Tests
> Name: org.exoplatform.application.registry
> Failed: 0 test(s), Passed: 2 test(s), Skipped: 0 test(s), Total: 2 test(s)
> Name: org.exoplatform.commons.cache.future
> Failed: 0 test(s), Passed: 4 test(s), Skipped: 0 test(s), Total: 4 test(s)
> Name: org.exoplatform.commons.chromattic
> Failed: 0 test(s), Passed: 10 test(s), Skipped: 0 test(s), Total: 10 test(s)
> Name: org.exoplatform.commons.scope
> Failed: 0 test(s), Passed: 2 test(s), Skipped: 0 test(s), Total: 2 test(s)
> Name: org.exoplatform.commons.serialization
> Failed: 0 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 11 test(s)
> Name: org.exoplatform.commons.serialization.converter
> Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)
> Name: org.exoplatform.commons.serialization.factory
> Failed: 0 test(s), Passed: 2 test(s), Skipped: 0 test(s), Total: 2 test(s)
> Name: org.exoplatform.commons.serialization.metadata
> Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)
> Name: org.exoplatform.commons.utils
> Failed: 0 test(s), Passed: 38 test(s), Skipped: 0 test(s), Total: 38 test(s)
> Name: org.exoplatform.commons.xml
> Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)
> Name: org.gatein.common.xml.stax
> Failed: 0 test(s), Passed: 37 test(s), Skipped: 0 test(s), Total: 37 test(s)
> Name: org.exoplatform.services.organization
> Failed: 0 test(s), Passed: 19 test(s), Skipped: 0 test(s), Total: 19 test(s)
> Name: org.exoplatform.portal
> Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)
> Name: org.exoplatform.portal.config
> Failed: 0 test(s), Passed: 149 test(s), Skipped: 0 test(s), Total: 149 test(s)
> Name: org.exoplatform.portal.config.security.nav
> Failed: 0 test(s), Passed: 3 test(s), Skipped: 0 test(s), Total: 3 test(s)
> Name: org.exoplatform.portal.config.security.page
> Failed: 0 test(s), Passed: 17 test(s), Skipped: 0 test(s), Total: 17 test(s)
> Name: org.exoplatform.portal.config.security.portal
> Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
> Name: org.exoplatform.portal.mop.description
> Failed: 0 test(s), Passed: 13 test(s), Skipped: 0 test(s), Total: 13 test(s)
> Name: org.exoplatform.portal.mop.importer
> Failed: 0 test(s), Passed: 13 test(s), Skipped: 0 test(s), Total: 13 test(s)
> Name: org.exoplatform.portal.mop.management.binding.xml
> Failed: 0 test(s), Passed: 12 test(s), Skipped: 0 test(s), Total: 12 test(s)
> Name: org.exoplatform.portal.mop.management.exportimport
> Failed: 0 test(s), Passed: 12 test(s), Skipped: 0 test(s), Total: 12 test(s)
> Name: org.exoplatform.portal.mop.navigation
> Failed: 0 test(s), Passed: 90 test(s), Skipped: 0 test(s), Total: 90 test(s)
> Name: org.exoplatform.portal.mop.user
> Failed: 0 test(s), Passed: 19 test(s), Skipped: 0 test(s), Total: 19 test(s)
> Name: org.exoplatform.portal.tree.list
> Failed: 0 test(s), Passed: 23 test(s), Skipped: 0 test(s), Total: 23 test(s)
> Name: org.exoplatform.services.resources
> Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)
> Name: org.exoplatform.services.resources.test
> Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
> Name: org.exoplatform.component.test
> Failed: 0 test(s), Passed: 9 test(s), Skipped: 0 test(s), Total: 9 test(s)
> Name: org.exoplatform.component.test.jcr
> Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)
> Name: org.exoplatform.web.controller.regexp
> Failed: 0 test(s), Passed: 28 test(s), Skipped: 0 test(s), Total: 28 test(s)
> Name: org.exoplatform.web.controller.router
> Failed: 0 test(s), Passed: 98 test(s), Skipped: 0 test(s), Total: 98 test(s)
> Name: org.exoplatform.portal.resource
> Failed: 0 test(s), Passed: 27 test(s), Skipped: 0 test(s), Total: 27 test(s)
> Name: org.exoplatform.portal.resource.compressor
> Failed: 0 test(s), Passed: 5 test(s), Skipped: 0 test(s), Total: 5 test(s)
>
> CONSOLE OUTPUT
> [...truncated 34139 lines...]
> [INFO] GateIn Portal WebUI eXo ........................... SKIPPED
> [INFO] GateIn Portal WebUI Portal ........................ SKIPPED
> [INFO] GateIn Portal eXo Gadgets Application ............. SKIPPED
> [INFO] GateIn Portal GWT Gadgets Application ............. SKIPPED
> [INFO] GateIn Portal WebUI Dashboard ..................... SKIPPED
> [INFO] GateIn Portal Portlet ............................. SKIPPED
> [INFO] GateIn Portal Portlet Dashboard ................... SKIPPED
> [INFO] GateIn Portal Portlet eXoAdmin .................... SKIPPED
> [INFO] GateIn Portal Portlet Web ......................... SKIPPED
> [INFO] GateIn Portal Web ................................. SKIPPED
> [INFO] GateIn Portal Web Resources ....................... SKIPPED
> [INFO] GateIn Portal Web Module .......................... SKIPPED
> [INFO] GateIn Portal Web REST application ................ SKIPPED
> [INFO] GateIn Skins ...................................... SKIPPED
> [INFO] GateIn Simple Deployable Skin ..................... SKIPPED
> [INFO] GateIn Portal Sample Extension Configuration ...... SKIPPED
> [INFO] GateIn Portal Sample Extension Java Classes ....... SKIPPED
> [INFO] GateIn Portal Sample Extension War ................ SKIPPED
> [INFO] GateIn Portal Sample Extension Ear ................ SKIPPED
> [INFO] GateIn Portal Sample Extension .................... SKIPPED
> [INFO] GateIn Portal Sample Portal Configuration ......... SKIPPED
> [INFO] GateIn Portal Sample Portal Java Classes .......... SKIPPED
> [INFO] GateIn Portal Sample Portal War ................... SKIPPED
> [INFO] GateIn Portal Sample Portal Rest War .............. SKIPPED
> [INFO] GateIn Portal Sample Portal Ear ................... SKIPPED
> [INFO] GateIn Portal Sample Portal ....................... SKIPPED
> [INFO] GateIn Portal Examples - Portlets ................. SKIPPED
> [INFO] GateIn Portal Examples - GateIn API ............... SKIPPED
> [INFO] GateIn Portal Examples - JSF Hello User Portlet ... SKIPPED
> [INFO] GateIn Portal Examples - JSP Hello User Portlet ... SKIPPED
> [INFO] GateIn Portal Examples - Simplest Hello World Portlet SKIPPED
> [INFO] GateIn Portlet Examples - Struts JPetstore ........ SKIPPED
> [INFO] GateIn Portal Sample .............................. SKIPPED
> [INFO] GateIn Portal Starter War ......................... SKIPPED
> [INFO] GateIn Portal Starter Ear ......................... SKIPPED
> [INFO] GateIn Portal Starter ............................. SKIPPED
> [INFO] GateIn WSRP Integration ........................... SKIPPED
> [INFO] GateIn WSRP Integration extension config .......... SKIPPED
> [INFO] GateIn WSRP Integration extension component ....... SKIPPED
> [INFO] GateIn WSRP Integration extension WAR ............. SKIPPED
> [INFO] GateIn WSRP Integration extension EAR for JBoss AS 5 SKIPPED
> [INFO] GateIn WSRP Integration extension EAR for JBoss AS 6 SKIPPED
> [INFO] GateIn Portal Packaging ........................... SKIPPED
> [INFO] GateIn Tomcat package ............................. SKIPPED
> [INFO] Tomcat integration war ............................ SKIPPED
> [INFO] GateIn for Tomcat packaging ....................... SKIPPED
> [INFO] GateIn for Tomcat 6 packaging ..................... SKIPPED
> [INFO] GateIn for Tomcat 7 packaging ..................... SKIPPED
> [INFO] GateIn Jetty package .............................. SKIPPED
> [INFO] GateIn for Jetty packaging ........................ SKIPPED
> [INFO] GateIn JBoss AS 5.x.x packaging ................... SKIPPED
> [INFO] GateIn for JBoss AS 5.x.x packaging ............... SKIPPED
> [INFO] GateIn JBoss AS 6.x.x packaging ................... SKIPPED
> [INFO] GateIn for JBoss AS 6.x.x packaging ............... SKIPPED
> [INFO] TestSuite for GateIn .............................. SKIPPED
> [INFO] Selenium Sniff Test for GateIn .................... SKIPPED
> [INFO] GateIn Portal Examples - WebUI based samples ...... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 25:37.906s
> [INFO] Finished at: Sat Sep 17 02:43:08 CEST 2011
> [INFO] Final Memory: 64M/1123M
> [INFO] ------------------------------------------------------------------------
> Waiting for Jenkins to finish collecting data
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal com.sun.japex:japex-maven-plugin:1.2.3:japex (japex) on project exo.portal.component.web.controller: Execution japex of goal com.sun.japex:japex-maven-plugin:1.2.3:japex failed: A required class was missing while executing com.sun.japex:japex-maven-plugin:1.2.3:japex: org/staxnav/Naming
> -----------------------------------------------------
> realm = plugin>com.sun.japex:japex-maven-plugin:1.2.3
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex-maven-plugin/1.2.3/japex-maven-plugin-1.2.3.jar
> urls[1] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> urls[2] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[3] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[4] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex/1.2.3/japex-1.2.3.jar
> urls[5] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[6] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[7] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[8] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[9] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
> urls[10] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> urls[11] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> urls[12] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> urls[13] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> urls[14] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar
> urls[15] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> Number of foreign imports: 1
> import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
> cause : Execution japex of goal com.sun.japex:japex-maven-plugin:1.2.3:japex failed: A required class was missing while executing com.sun.japex:japex-maven-plugin:1.2.3:japex: org/staxnav/Naming
> -----------------------------------------------------
> realm = plugin>com.sun.japex:japex-maven-plugin:1.2.3
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex-maven-plugin/1.2.3/japex-maven-plugin-1.2.3.jar
> urls[1] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> urls[2] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[3] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[4] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex/1.2.3/japex-1.2.3.jar
> urls[5] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[6] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[7] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[8] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[9] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
> urls[10] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> urls[11] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> urls[12] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> urls[13] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> urls[14] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar
> urls[15] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> Number of foreign imports: 1
> import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.sun.japex:japex-maven-plugin:1.2.3:japex (japex) on project exo.portal.component.web.controller: Execution japex of goal com.sun.japex:japex-maven-plugin:1.2.3:japex failed: A required class was missing while executing com.sun.japex:japex-maven-plugin:1.2.3:japex: org/staxnav/Naming
> -----------------------------------------------------
> realm = plugin>com.sun.japex:japex-maven-plugin:1.2.3
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex-maven-plugin/1.2.3/japex-maven-plugin-1.2.3.jar
> urls[1] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> urls[2] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[3] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[4] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex/1.2.3/japex-1.2.3.jar
> urls[5] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[6] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[7] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[8] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[9] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
> urls[10] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> urls[11] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> urls[12] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> urls[13] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> urls[14] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar
> urls[15] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> Number of foreign imports: 1
> import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:122)
> at hudson.maven.Maven3Builder.call(Maven3Builder.java:74)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:287)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution japex of goal com.sun.japex:japex-maven-plugin:1.2.3:japex failed: A required class was missing while executing com.sun.japex:japex-maven-plugin:1.2.3:japex: org/staxnav/Naming
> -----------------------------------------------------
> realm = plugin>com.sun.japex:japex-maven-plugin:1.2.3
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex-maven-plugin/1.2.3/japex-maven-plugin-1.2.3.jar
> urls[1] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> urls[2] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[3] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[4] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex/1.2.3/japex-1.2.3.jar
> urls[5] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[6] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[7] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[8] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[9] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
> urls[10] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> urls[11] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> urls[12] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> urls[13] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> urls[14] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar
> urls[15] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> Number of foreign imports: 1
> import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:127)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing com.sun.japex:japex-maven-plugin:1.2.3:japex: org/staxnav/Naming
> -----------------------------------------------------
> realm = plugin>com.sun.japex:japex-maven-plugin:1.2.3
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex-maven-plugin/1.2.3/japex-maven-plugin-1.2.3.jar
> urls[1] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> urls[2] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[3] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[4] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/com/sun/japex/japex/1.2.3/japex-1.2.3.jar
> urls[5] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[6] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
> urls[7] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/activation/activation/1.1/activation-1.1.jar
> urls[8] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[9] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
> urls[10] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> urls[11] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> urls[12] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> urls[13] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
> urls[14] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar
> urls[15] = file:/home/swfhudson/data/jobs/gatein-portal-trunk-pkg/workspace/.repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar
> Number of foreign imports: 1
> import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
> ... 28 more
> Caused by: java.lang.NoClassDefFoundError: org/staxnav/Naming
> at org.exoplatform.web.controller.performance.ControllerRendererDriver.prepare(ControllerRendererDriver.java:75)
> at com.sun.japex.JapexDriverBase.prepare(JapexDriverBase.java:113)
> at com.sun.japex.Engine.forEachTestCase(Engine.java:457)
> at com.sun.japex.Engine.forEachRun(Engine.java:361)
> at com.sun.japex.Engine.forEachDriver(Engine.java:300)
> at com.sun.japex.Engine.start(Engine.java:180)
> at com.sun.japex.Japex.run(Japex.java:175)
> at com.sun.japex.JapexMojo.execute(JapexMojo.java:165)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ... 28 more
> Caused by: java.lang.ClassNotFoundException: org.staxnav.Naming
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at com.sun.japex.JapexClassLoader.findClass(JapexClassLoader.java:84)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> ... 37 more
> channel stopped
> Email was triggered for: Failure
> Email was triggered for: Still Failing
> Trigger Failure was overridden by another trigger and will not send an email.
> Sending email for trigger: Still Failing
>
>
13 years, 2 months
How to use Chromattic to add a mixin
by Matt Wringe
I am trying to use Chromattic to add a mixin to a component in the JCR,
but I am running into a bunch of issues (and Chromattic is lacking in
documentation). I need to use a mixin so that we can update the
component and still remain backwards compatible when starting with data
from an older install.
When trying to use ChromatticSession.create on a mixin object and then setting a property
on this newly created object, Chromattic is failing with an NPE
exception (note: not an NPE exception in that the object is null, but
from internal Chromattic classes when it tries to set the value).
If I just try and add the mixin to an node using setEmbedded, it fails
saying that the EntityContext can't add this particular mixin, and going
through the Chromattic code, it does appear that each node has a list of
particular mixins it can support. How does one add mixins to the
supported mixin list?
Is there any example somewhere on how to add any generic mixin to a
normal node using Chromattic?
I am a noob at chromattic and the jcr in general, so maybe I am doing
something obviously wrong :/
Thanks,
Matt Wringe
13 years, 2 months
What happened to user pages in page management?
by Matt Wringe
We used to be able to create user pages and search for them under page
management. This feature is now missing, is there any reason why its
been removed?
Thanks,
Matt Wringe
13 years, 3 months