[richfaces-issues] [JBoss JIRA] Created: (RF-5625) Richfaces resource dependency maven plugin

Anton Belevich (JIRA) jira-events at lists.jboss.org
Fri Jan 9 13:22:04 EST 2009


Richfaces resource dependency maven plugin
------------------------------------------

                 Key: RF-5625
                 URL: https://jira.jboss.org/jira/browse/RF-5625
             Project: RichFaces
          Issue Type: Task
            Reporter: Anton Belevich
            Assignee: Anton Belevich
             Fix For: 3.3.0


Overview: 

Plugin should have two levels cdk level and user application level:

1. CDK Level 
during richfaces-ui build plugin generate resource-dependency.xml file with information about all (rich, a4j)  components js and css files . This file should saved in the META-INF directory.

resource-dependency.xml file format: 

<libraries>
<library uri=" http://richfaces.org/rich">
		<components>
			<component name="foo">
				<scripts>
					<script src="path/to/the/foo.js"/>

					...  other script declaration

				</scripts>
				<styles>
					<style src="path/to/the/foo.css"/>		    	

					... other style declaration

				</styles>
			<component>

			...  other components declaration

		<components>
	</library>

	...  other library declaration

<libraries>		

2. User application level:

On this level user should configure our plugin in his application main pom file and run  build. During building plugin should collect information about all richfaces components which is used in application and create js and css files like ui.pack.js and common.cssbut with with scripts and styles only for the components which actually used within the application. 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list