[richfaces-issues] [JBoss JIRA] (RF-11810) Fix the richfaces-components-ui build to do not overwrite assemblied JAR

Lukáš Fryč (Updated) (JIRA) jira-events at lists.jboss.org
Thu Jan 5 14:26:09 EST 2012


     [ https://issues.jboss.org/browse/RF-11810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated RF-11810:
----------------------------

    Complexity: Low

    
> Fix the richfaces-components-ui build to do not overwrite assemblied JAR
> ------------------------------------------------------------------------
>
>                 Key: RF-11810
>                 URL: https://issues.jboss.org/browse/RF-11810
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 4.1.0.Final
>            Reporter: Marek Novotny
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.1.Final
>
>
> (Issue reported by Lukas Fryc)
> Marek Novotny (manaRH) has recently reported that sometimes RF build fails for him since {{richfaces-components-ui}} module is generating JAR using {{maven-assembly-plugin}} which has the same name as the standard {{maven-jar-plugin}} artifact would be called.
> This may lead into potential clash for bad timings, especially when these plugins are ran on the same lifecycle phase.
> The symptoms are failing applications (and functional tests) which are not able to use any UI implementation classes.
> We should either:
> # change lifecycle mapping of plugins
> # modify {{maven-jar-plugin}} settings
> {code:title=Log from Hudson console http://hudson.qa.jboss.com/hudson/job/richfaces-4.1-all-jboss/62/console}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building RichFaces Examples Aggregator 4.1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ examples-aggregator ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ examples-aggregator ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ examples-aggregator ---
> [INFO] 
> [INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ examples-aggregator ---
> projectSucceeded org.richfaces.examples:examples-aggregator:4.1.0-SNAPSHOT
> [JENKINS] Archiving /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/dev-examples/pom.xml to /qa/hudson_master/hudson_home/hudson_workspace/jobs/richfaces-4.1-all-jboss/modules/org.richfaces.examples$examples-aggregator/builds/2011-12-09_06-01-08/archive/org.richfaces.examples/examples-aggregator/4.1.0-SNAPSHOT/examples-aggregator-4.1.0-SNAPSHOT.pom
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building RichFaces Showcase 4.1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ richfaces-showcase ---
> [INFO] Deleting /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/target
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ richfaces-showcase ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ richfaces-showcase ---
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:2.5:check (richfaces-checkstyle-report) @ richfaces-showcase ---
> [INFO] 
> [INFO] [debug] execute contextualize
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ richfaces-showcase ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 9 resources
> [INFO] Copying 0 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ richfaces-showcase ---
> [INFO] Compiling 97 source files to /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModelItem.java:[3,26] cannot find symbol
> symbol  : class CalendarDataModelItem
> location: package org.richfaces.model
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModelItem.java:[5,42] cannot find symbol
> symbol: class CalendarDataModelItem
> public class CalendarModelItem implements CalendarDataModelItem {
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java:[36,30] cannot find symbol
> symbol  : class UITree
> location: package org.richfaces.component
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tables/ExtTableSelectionBean.java:[13,30] cannot find symbol
> symbol  : class UIExtendedDataTable
> location: package org.richfaces.component
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModel.java:[10,26] cannot find symbol
> symbol  : class CalendarDataModel
> location: package org.richfaces.model
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModel.java:[11,26] cannot find symbol
> symbol  : class CalendarDataModelItem
> location: package org.richfaces.model
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModel.java:[15,38] cannot find symbol
> symbol: class CalendarDataModel
> public class CalendarModel implements CalendarDataModel {
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModel.java:[28,11] cannot find symbol
> symbol  : class CalendarDataModelItem
> location: class org.richfaces.demo.calendar.model.CalendarModel
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java:[72,8] cannot find symbol
> symbol  : class UITree
> location: class org.richfaces.demo.tree.TreeBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tree/TreeBean.java:[72,23] cannot find symbol
> symbol  : class UITree
> location: class org.richfaces.demo.tree.TreeBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tables/ExtTableSelectionBean.java:[26,8] cannot find symbol
> symbol  : class UIExtendedDataTable
> location: class org.richfaces.demo.tables.ExtTableSelectionBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/tables/ExtTableSelectionBean.java:[26,41] cannot find symbol
> symbol  : class UIExtendedDataTable
> location: class org.richfaces.demo.tables.ExtTableSelectionBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/src/main/java/org/richfaces/demo/calendar/model/CalendarModel.java:[29,8] cannot find symbol
> symbol  : class CalendarDataModelItem
> location: class org.richfaces.demo.calendar.model.CalendarModel
> [INFO] 13 errors 
> [INFO] -------------------------------------------------------------
> mojoFailed org.apache.maven.plugins:maven-compiler-plugin:2.3.1(default-compile)
> projectFailed org.richfaces.examples:richfaces-showcase:4.1.0-SNAPSHOT
> [JENKINS] Archiving /mnt/hudson_workspace/workspace/richfaces-4.1-all-jboss/showcase/pom.xml to /qa/hudson_master/hudson_home/hudson_workspace/jobs/richfaces-4.1-all-jboss/modules/org.richfaces.examples$richfaces-showcase/builds/2011-12-09_06-01-09/archive/org.richfaces.examples/richfaces-showcase/4.1.0-SNAPSHOT/richfaces-showcase-4.1.0-SNAPSHOT.pom
> sessionEnded
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] RichFaces BOM ..................................... SUCCESS [5.347s]
> [INFO] RichFaces Root Parent ............................. SUCCESS [3.868s]
> [INFO] RichFaces Core Parent ............................. SUCCESS [0.434s]
> [INFO] RichFaces Core API ................................ SUCCESS [55.658s]
> [INFO] RichFaces Core Implementation ..................... SUCCESS [5:34.292s]
> [INFO] RichFaces Core Aggregator ......................... SUCCESS [0.269s]
> [INFO] RichFaces CDK Parent .............................. SUCCESS [0.423s]
> [INFO] RichFaces CDK Commons ............................. SUCCESS [14.724s]
> [INFO] RichFaces CDK Annotations ......................... SUCCESS [13.308s]
> [INFO] RichFaces CDK Attributes .......................... SUCCESS [16.929s]
> [INFO] RichFaces CDK XInclude Transformer ................ SUCCESS [24.699s]
> [INFO] RichFaces CDK Generator ........................... SUCCESS [2:09.707s]
> [INFO] RichFaces CDK Generator Maven Plugin .............. SUCCESS [26.485s]
> [INFO] RichFaces CDK Resources Maven Plugin .............. SUCCESS [32.530s]
> [INFO] RichFaces CDK Distribution ........................ SUCCESS [29.946s]
> [INFO] RichFaces CDK Aggregator .......................... SUCCESS [0.244s]
> [INFO] RichFaces UI Components Parent .................... SUCCESS [1.515s]
> [INFO] RichFaces UI Components: Common API ............... SUCCESS [20.304s]
> [INFO] RichFaces UI Components: Common UI ................ SUCCESS [1:07.241s]
> [INFO] RichFaces UI Components: Common Aggregator ........ SUCCESS [0.417s]
> [INFO] RichFaces UI Components: Core API ................. SUCCESS [10.942s]
> [INFO] RichFaces UI Components: Core UI .................. SUCCESS [2:25.334s]
> [INFO] RichFaces UI Components: Core Aggregator .......... SUCCESS [0.368s]
> [INFO] RichFaces UI Components: Iteration API ............ SUCCESS [18.222s]
> [INFO] RichFaces UI Components: Iteration UI ............. SUCCESS [3:02.748s]
> [INFO] RichFaces UI Components: Iteration Aggregator ..... SUCCESS [0.401s]
> [INFO] RichFaces UI Components: Miscellanous UI .......... SUCCESS [33.776s]
> [INFO] RichFaces UI Components: Miscellanous Aggregator .. SUCCESS [0.366s]
> [INFO] RichFaces UI Components: Output API ............... SUCCESS [14.140s]
> [INFO] RichFaces UI Components: Output UI ................ SUCCESS [3:05.517s]
> [INFO] RichFaces UI Components: Output Aggregator ........ SUCCESS [0.390s]
> [INFO] RichFaces UI Components: Input API ................ SUCCESS [13.374s]
> [INFO] RichFaces UI Components: Input UI ................. SUCCESS [4:40.374s]
> [INFO] RichFaces UI Components: Input Aggregator ......... SUCCESS [0.371s]
> [INFO] RichFaces UI Components: Drag-n-Drop API .......... SUCCESS [12.126s]
> [INFO] RichFaces UI Components: Drag-n-Drop UI ........... SUCCESS [30.145s]
> [INFO] RichFaces UI Components: Drag-n-Drop Aggregator ... SUCCESS [0.406s]
> [INFO] RichFaces UI Components: Validator api ............ SUCCESS [15.710s]
> [INFO] RichFaces UI Components: Validator ui ............. SUCCESS [2:46.216s]
> [INFO] RichFaces UI Components: validator-aggregator ..... SUCCESS [0.372s]
> [INFO] Richfaces UI Components API ....................... SUCCESS [23.604s]
> [INFO] RichFaces UI Components Static Resources .......... SUCCESS [1:47.298s]
> [INFO] RichFaces UI Components UI ........................ SUCCESS [2:01.812s]
> [INFO] RichFaces UI Distribution ......................... SUCCESS [0.369s]
> [INFO] RichFaces UI Components Aggregator ................ SUCCESS [0.269s]
> [INFO] RichFaces Archetypes Simple Application ........... SUCCESS [7.277s]
> [INFO] RichFaces Archetypes Component .................... SUCCESS [3.212s]
> [INFO] RichFaces Archetypes Component Short .............. SUCCESS [1.981s]
> [INFO] RichFaces Archetypes Components Aggregator ........ SUCCESS [2.562s]
> [INFO] RichFaces Archetypes GAE Application .............. SUCCESS [2.730s]
> [INFO] RichFaces Archetypes Aggregator ................... SUCCESS [0.264s]
> [INFO] RichFaces Examples Parent ......................... SUCCESS [0.411s]
> [INFO] RichFaces Examples Template ....................... SUCCESS [15.603s]
> [INFO] RichFaces Examples Core ........................... SUCCESS [16.374s]
> [INFO] RichFaces Examples Miscellanous ................... SUCCESS [12.221s]
> [INFO] RichFaces Examples Outputs ........................ SUCCESS [14.603s]
> [INFO] RichFaces Examples Inputs ......................... SUCCESS [19.791s]
> [INFO] RichFaces Examples Repeater ....................... SUCCESS [26.964s]
> [INFO] RichFaces Examples Iteration ...................... SUCCESS [30.285s]
> [INFO] RichFaces Examples Push ........................... SUCCESS [18.215s]
> [INFO] RichFaces Examples Validators ..................... SUCCESS [19.452s]
> [INFO] RichFaces Examples DND ............................ SUCCESS [13.337s]
> [INFO] RichFaces Examples Richfaces IRC Client Application  SUCCESS [14.630s]
> [INFO] RichFaces Examples Aggregator ..................... SUCCESS [0.241s]
> [INFO] RichFaces Showcase ................................ FAILURE [12.109s]
> [INFO] RichFaces Distribution Assembler .................. SKIPPED
> [INFO] RichFaces Aggregator .............................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 41:12.509s
> [INFO] Finished at: Fri Dec 09 06:42:33 EST 2011
> [INFO] Final Memory: 312M/708M
> [INFO] ------------------------------------------------------------------------
> maven builder waiting
> mavenExecutionResult exceptions not empty
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project richfaces-showcase: Compilation failure
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> 	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:146)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:127)
> 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:74)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 	at hudson.remoting.Request$2.run(Request.java:270)
> 	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:660)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> 	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
> 	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 27 more
> channel stopped
> Email was triggered for: Failure
> Sending email for trigger: Failure
> ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
> Sending email to: richfaces-builds at lists.jboss.org
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list