-
15. Re: Seam/Richfaces home page loading slow
pramod_bs May 5, 2009 3:49 PM (in response to pramod_bs)When I tried the maven plugin (with command >mvn resource-dependency:assembly-resources) I get the following error.
Reason: Unable to download the artifact from any repository
org.richfaces.cdk.sandbox:maven-resource-dependency-plugin:pom:3.3.1-SNAPSHOT
Here is the portion of plugin I have included in my pom.xml.<plugin> <artifactId>maven-resource-dependency-plugin</artifactId> <groupId>org.richfaces.cdk.sandbox</groupId> <version>3.3.1-SNAPSHOT</version> <configuration> <webSourceDirectory> </webSourceDirectory> <scriptFileName> </scriptFileName> <outputScriptDirectory> </outputScriptDirectory> <beforeScriptIncludes> <beforeScriptInclude> </beforeScriptInclude> .......
-
16. Re: Seam/Richfaces home page loading slow
nbelaevski May 5, 2009 6:05 PM (in response to pramod_bs)Add this to pom.xml: http://snapshots.jboss.org/maven2 as plugin repository for snapshots and http://repository.jboss.org/maven2 as plugin repository for releases.
-
17. Re: Seam/Richfaces home page loading slow
pramod_bs May 5, 2009 9:05 PM (in response to pramod_bs)I modified the pom and I still get that error. Is there a problem with the groupid "org.richfaces.cdk.sandbox". When I tried to manualli locate it. I am not able to find it.
Here is my pom.xml<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>de.laliluna</groupId> <artifactId>seamWeb</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>seamWeb</name> <url>http://maven.apache.org</url> <build> <finalName>seamWeb</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> <plugin> <artifactId>maven-resource-dependency-plugin</artifactId> <groupId>org.richfaces.cdk.sandbox</groupId> <version>3.3.1-SNAPSHOT</version> <configuration> <webSourceDirectory></webSourceDirectory> <scriptFileName></scriptFileName> <outputScriptDirectory></outputScriptDirectory> <beforeScriptIncludes> <beforeScriptInclude></beforeScriptInclude> </beforeScriptIncludes> <afterScriptIncludes> <afterScriptInclude></afterScriptInclude> </afterScriptIncludes> <styleFileName>pramod.css</styleFileName> <outputStyleDirectory></outputStyleDirectory> <beforeStyleIncludes> <beforeStyleInclude></beforeStyleInclude> </beforeStyleIncludes> <afterStyleIncludes> <afterStyleInclude></afterStyleInclude> </afterStyleIncludes> <scriptIncludes> <scriptInclude></scriptInclude> </scriptIncludes> <scriptExcludes> <scriptExclude></scriptExclude> </scriptExcludes> <styleIncludes> <styleInclude></styleInclude> </styleIncludes> <styleExcludes> <styleExclude></styleExclude> </styleExcludes> <namespaceIncludes> <namespaceInclude></namespaceInclude> </namespaceIncludes> <namespaceExcludes> <namespaceExclude></namespaceExclude> </namespaceExcludes> <componentIncludes> <componentInclude></componentInclude> </componentIncludes> <componentExcludes> <componentExclude></componentExclude> </componentExcludes> <xhtmlIncludes> <xhtmlInclude></xhtmlInclude> </xhtmlIncludes> <xhtmlExcludes> <xhtmlExclude></xhtmlExclude> </xhtmlExcludes> <xmlConfigPatterns> <xmlConfigPattern></xmlConfigPattern> </xmlConfigPatterns> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>assembly-resources</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <id>snapshots.jboss.com</id> <name>Jboss Repository for Maven</name> <url>http://snapshots.jboss.org/maven2</url> <layout>default</layout> </repository> </repositories>
Error:C:\Documents and Settings\PramodNair\Desktop\REM\seam\seamWeb>mvn resource-depen dency:assembly-resources [INFO] Scanning for projects... Downloading: http://repository.jboss.org/maven2/org/richfaces/cdk/sandbox/maven- resource-dependency-plugin/3.3.1-SNAPSHOT/maven-resource-dependency-plugin-3.3.1 -SNAPSHOT.pom [INFO] Unable to find resource 'org.richfaces.cdk.sandbox:maven-resource-depende ncy-plugin:pom:3.3.1-SNAPSHOT' in repository repository.jboss.org (http://reposi tory.jboss.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.richfaces.cdk.sandbox ArtifactId: maven-resource-dependency-plugin Version: 3.3.1-SNAPSHOT Reason: Unable to download the artifact from any repository org.richfaces.cdk.sandbox:maven-resource-dependency-plugin:pom:3.3.1-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), snapshots.jboss.com (http://snapshots.jboss.org/maven2), repository.jboss.org (http://repository.jboss.org/maven2)
-
18. Re: Seam/Richfaces home page loading slow
nbelaevski May 6, 2009 6:36 AM (in response to pramod_bs)Sorry, it's not in sandbox anymore, so this should be used:
<groupId>org.richfaces.cdk</groupId>
-
19. Re: Seam/Richfaces home page loading slow
pramod_bs May 6, 2009 9:38 AM (in response to pramod_bs)When I try this with mvn resource-dependency:assembly-resources -e I get the following error. I am stuck again. Sorry.
C:\Documents and Settings\PramodNair\Desktop\REM\seam\seamWeb>mvn resource-depen dency:assembly-resources -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building seamWeb [INFO] task-segment: [resource-dependency:assembly-resources] [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath,cdk'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] Setting property: cdk.resource.loader.class => 'org.ajax4jsf.builder.velo city.ResourceLoader'. [INFO] ************************************************************** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.pr operties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime. resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo aderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] Resource Loader Instantiated: org.ajax4jsf.builder.velocity.ResourceLoade r [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource. ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [INFO] Velocimacro : added new VM : #quietnull( a ) : source = VM_global_library .vm [INFO] Velocimacro : added new VM : #tagPropertyMethods12( source ) : source = V M_global_library.vm [INFO] Velocimacro : added new VM : #tagPropertyRelease( source ) : source = VM_ global_library.vm [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob al in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [resource-dependency:assembly-resources] [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\jboss\se am\jboss-seam\2.0.1.GA\jboss-seam-2.0.1.GA.jar is resolved May 6, 2009 9:36:00 AM org.apache.commons.vfs.VfsLog info INFO: Using "C:\Temp\vfs_cache" as temporary files store. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException at org.richfaces.cdk.rd.mojo.ResourceDependencyMojo.execute(ResourceDepe ndencyMojo.java:308) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:678) ... 16 more Caused by: java.lang.NullPointerException at org.codehaus.plexus.util.SelectorUtils.matchPath(SelectorUtils.java:2 26) at org.codehaus.plexus.util.SelectorUtils.matchPath(SelectorUtils.java:2 03) at org.richfaces.cdk.rd.JarResourceScanner.isAcceptable(JarResourceScann er.java:63) at org.richfaces.cdk.rd.JarResourceScanner.walk(JarResourceScanner.java: 77) at org.richfaces.cdk.rd.JarResourceScanner.walk(JarResourceScanner.java: 76) at org.richfaces.cdk.rd.JarResourceScanner.doScan(JarResourceScanner.jav a:86) at org.richfaces.cdk.rd.utils.PluginUtils.resolveConfigsFromJar(PluginUt ils.java:48) at org.richfaces.cdk.rd.mojo.ResourceDependencyMojo.execute(ResourceDepe ndencyMojo.java:253) ... 18 more[INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed May 06 09:36:00 EDT 2009 [INFO] Final Memory: 10M/19M [INFO] ------------------------------------------------------------------------ C:\Documents and Settings\PramodNair\Desktop\REM\seam\seamWeb>
-
20. Re: Seam/Richfaces home page loading slow
pramod_bs May 6, 2009 9:49 AM (in response to pramod_bs)Here is my pom.xml wfor which I got the above exception. I am not sure if I am doing something wrong here.
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>de.laliluna</groupId> <artifactId>seamWeb</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>seamWeb</name> <url>http://maven.apache.org</url> <build> <finalName>seamWeb</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> <plugin> <artifactId>maven-resource-dependency-plugin</artifactId> <groupId>org.richfaces.cdk</groupId> <version>3.3.1.CR2</version> <configuration> <webSourceDirectory></webSourceDirectory> <scriptFileName></scriptFileName> <outputScriptDirectory></outputScriptDirectory> <beforeScriptIncludes> <beforeScriptInclude></beforeScriptInclude> </beforeScriptIncludes> <afterScriptIncludes> <afterScriptInclude></afterScriptInclude> </afterScriptIncludes> <styleFileName>pramod.css</styleFileName> <outputStyleDirectory></outputStyleDirectory> <beforeStyleIncludes> <beforeStyleInclude></beforeStyleInclude> </beforeStyleIncludes> <afterStyleIncludes> <afterStyleInclude></afterStyleInclude> </afterStyleIncludes> <scriptIncludes> <scriptInclude></scriptInclude> </scriptIncludes> <scriptExcludes> <scriptExclude></scriptExclude> </scriptExcludes> <styleIncludes> <styleInclude></styleInclude> </styleIncludes> <styleExcludes> <styleExclude></styleExclude> </styleExcludes> <namespaceIncludes> <namespaceInclude></namespaceInclude> </namespaceIncludes> <namespaceExcludes> <namespaceExclude></namespaceExclude> </namespaceExcludes> <componentIncludes> <componentInclude></componentInclude> </componentIncludes> <componentExcludes> <componentExclude></componentExclude> </componentExcludes> <xhtmlIncludes> <xhtmlInclude></xhtmlInclude> </xhtmlIncludes> <xhtmlExcludes> <xhtmlExclude></xhtmlExclude> </xhtmlExcludes> <xmlConfigPatterns> <xmlConfigPattern></xmlConfigPattern> </xmlConfigPatterns> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>assembly-resources</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <id>snapshots.jboss.com</id> <name>Jboss Repository for Maven</name> <url>http://snapshots.jboss.org/maven2</url> <layout>default</layout> </repository> </repositories> <pluginRepositories> <!--<pluginRepository> <snapshots/> <id>m2-snapshot</id> <url>http://people.apache.org/repo/m2-snapshot-repository/</url> </pluginRepository>--> </pluginRepositories> <dependencies> <!--JBoss Seam minimal--> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam</artifactId> <version>2.0.1.GA</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam-ui</artifactId> <version>2.0.1.GA</version> <scope>compile</scope> </dependency> <!--Seam makes use of Hibernate validator and sadly depends on JTA and JPA even if we don't use it--> <dependency> <groupId>javax.transaction</groupId> <artifactId>jta</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> <version>3.0.0.ga</version> </dependency> <!--optional Seam libraries--> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam-debug</artifactId> <version>2.0.1.GA</version> </dependency> <!--JSF and facelets--> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>1.2_04-p02</version> </dependency> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-impl</artifactId> <version>1.2_04-p02</version> </dependency> <dependency> <groupId>com.sun.facelets</groupId> <artifactId>jsf-facelets</artifactId> <version>1.1.11</version> </dependency> <!--I like to have log4j without Hibernate as well--> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <scope>compile</scope> </dependency> <!--persistence with Hibernate--> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.5.ga</version> <scope>compile</scope> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.3.0</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.3.0.ga</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-commons-annotations</artifactId> <version>3.3.0.ga</version> </dependency> <!--other--> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.2-507.jdbc3</version> <scope>compile</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.0.5</version> </dependency> </dependencies> </project>
-
21. Re: Seam/Richfaces home page loading slow
nbelaevski May 6, 2009 7:52 PM (in response to pramod_bs)Try removing empty elements, e.g.:
<scriptIncludes> <scriptInclude></scriptInclude> </scriptIncludes>
-
22. Re: Seam/Richfaces home page loading slow
pramod_bs May 7, 2009 12:02 AM (in response to pramod_bs)Thanks for pointing me. Now I get the "process xhtml" message from maven but I coudn't see any .js files being created in my webapp folder. I am sure I am doing something wrong. Can you please direct me. output from maven and pom file below
C:\Documents and Settings\PramodNair\Desktop\REM\seam\seamWeb>mvn resource-depe dency:assembly-resources -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building seamWeb [INFO] task-segment: [resource-dependency:assembly-resources] [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexu .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath,cdk'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] Setting property: cdk.resource.loader.class => 'org.ajax4jsf.builder.vel city.ResourceLoader'. [INFO] ************************************************************** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.p operties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassL aderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] Resource Loader Instantiated: org.ajax4jsf.builder.velocity.ResourceLoad r [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [INFO] Velocimacro : added new VM : #quietnull( a ) : source = VM_global_librar .vm [INFO] Velocimacro : added new VM : #tagPropertyMethods12( source ) : source = M_global_library.vm [INFO] Velocimacro : added new VM : #tagPropertyRelease( source ) : source = VM global_library.vm [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in template [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glo al in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [resource-dependency:assembly-resources] [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\jboss\s am\jboss-seam\2.0.1.GA\jboss-seam-2.0.1.GA.jar is resolved May 6, 2009 11:54:49 PM org.apache.commons.vfs.VfsLog info INFO: Using "C:\Temp\vfs_cache" as temporary files store. [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javassist\j vassist\3.3.GA\javassist-3.3.GA.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\dom4j\dom4j 1.6.1-jboss\dom4j-1.6.1-jboss.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\xml-apis\xm -apis\1.0.b2\xml-apis-1.0.b2.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\jboss\e \jboss-el\2.0.1.GA\jboss-el-2.0.1.GA.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javax\el\el api\1.0\el-api-1.0.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\jboss\s am\jboss-seam-ui\2.0.1.GA\jboss-seam-ui-2.0.1.GA.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\commons-bea utils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javax\trans ction\jta\1.1\jta-1.1.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javax\persi tence\persistence-api\1.0\persistence-api-1.0.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\hiberna e\hibernate-validator\3.0.0.ga\hibernate-validator-3.0.0.ga.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\jboss\s am\jboss-seam-debug\2.0.1.GA\jboss-seam-debug-2.0.1.GA.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\com\sun\fac lets\jsf-facelets\1.1.11\jsf-facelets-1.1.11.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javax\faces jsf-api\1.2_04-p02\jsf-api-1.2_04-p02.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\javax\faces jsf-impl\1.2_04-p02\jsf-impl-1.2_04-p02.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\log4j\log4j 1.2.14\log4j-1.2.14.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\hiberna e\hibernate\3.2.5.ga\hibernate-3.2.5.ga.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\net\sf\ehca he\ehcache\1.3.0\ehcache-1.3.0.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\commons-log ing\commons-logging\1.0.4\commons-logging-1.0.4.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\commons-col ections\commons-collections\2.1.1\commons-collections-2.1.1.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\asm\asm-att s\1.5.3\asm-attrs-1.5.3.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\antlr\antlr 2.7.6\antlr-2.7.6.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\cglib\cglib 2.1_3\cglib-2.1_3.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\asm\asm\1.5 3\asm-1.5.3.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\c3p0\c3p0\0 9.1.2\c3p0-0.9.1.2.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\net\sf\jsr1 7cache\jsr107cache\1.0\jsr107cache-1.0.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\backport-ut l-concurrent\backport-util-concurrent\3.0\backport-util-concurrent-3.0.jar is r solved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\hiberna e\hibernate-annotations\3.3.0.ga\hibernate-annotations-3.3.0.ga.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\org\hiberna e\hibernate-commons-annotations\3.3.0.ga\hibernate-commons-annotations-3.3.0.ga jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\postgresql\ ostgresql\8.2-507.jdbc3\postgresql-8.2-507.jdbc3.jar is resolved [INFO] artifact C:\Documents and Settings\PramodNair\.m2\repository\mysql\mysql connector-java\5.0.5\mysql-connector-java-5.0.5.jar is resolved [INFO] process file: error.xhtml [INFO] process file: hello.xhtml [INFO] process file: home.xhtml [INFO] process file: home1.xhtml [INFO] process file: display.xhtml [INFO] process file: edit.xhtml [INFO] process file: menu.xhtml [INFO] process file: menuModal.xhtml [INFO] process file: template.xhtml[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29 seconds [INFO] Finished at: Wed May 06 23:55:14 EDT 2009 [INFO] Final Memory: 26M/47M [INFO] ------------------------------------------------------------------------ C:\Documents and Settings\PramodNair\Desktop\REM\seam\seamWeb>
pom.xml<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>de.laliluna</groupId> <artifactId>seamWeb</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>seamWeb</name> <url>http://maven.apache.org</url> <build> <finalName>seamWeb</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> <plugin> <artifactId>maven-resource-dependency-plugin</artifactId> <groupId>org.richfaces.cdk</groupId> <version>3.3.1.CR2</version> <configuration> <webSourceDirectory></webSourceDirectory> <scriptFileName>test.js</scriptFileName> <outputScriptDirectory></outputScriptDirectory> <beforeScriptIncludes> <beforeScriptInclude></beforeScriptInclude> </beforeScriptIncludes> <afterScriptIncludes> <afterScriptInclude></afterScriptInclude> </afterScriptIncludes> <styleFileName>pramod.css</styleFileName> <outputStyleDirectory></outputStyleDirectory> <beforeStyleIncludes> <beforeStyleInclude></beforeStyleInclude> </beforeStyleIncludes> <afterStyleIncludes> <afterStyleInclude></afterStyleInclude> </afterStyleIncludes> <scriptIncludes> <scriptInclude></scriptInclude> </scriptIncludes> <scriptExcludes> <scriptExclude></scriptExclude> </scriptExcludes> <styleIncludes> <styleInclude></styleInclude> </styleIncludes> <styleExcludes> <styleExclude></styleExclude> </styleExcludes> <namespaceIncludes> <namespaceInclude></namespaceInclude> </namespaceIncludes> <namespaceExcludes> <namespaceExclude></namespaceExclude> </namespaceExcludes> <componentIncludes> <componentInclude></componentInclude> </componentIncludes> <componentExcludes> <componentExclude></componentExclude> </componentExcludes> <!-- <xhtmlIncludes> <xhtmlInclude></xhtmlInclude> </xhtmlIncludes> <xhtmlExcludes> <xhtmlExclude></xhtmlExclude> </xhtmlExcludes> <xmlConfigPatterns> <xmlConfigPattern></xmlConfigPattern> </xmlConfigPatterns> --> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>assembly-resources</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>snapshots.jboss.org</id> <url>http://snapshots.jboss.org/maven2</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <id>snapshots.jboss.com</id> <name>Jboss Repository for Maven</name> <url>http://snapshots.jboss.org/maven2</url> <layout>default</layout> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>snapshots.jboss.org</id> <url>http://snapshots.jboss.org/maven2</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <!--<pluginRepository> <snapshots/> <id>m2-snapshot</id> <url>http://people.apache.org/repo/m2-snapshot-repository/</url> </pluginRepository>--> </pluginRepositories> <dependencies> <!--JBoss Seam minimal--> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam</artifactId> <version>2.0.1.GA</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam-ui</artifactId> <version>2.0.1.GA</version> <scope>compile</scope> </dependency> <!--Seam makes use of Hibernate validator and sadly depends on JTA and JPA even if we don't use it--> <dependency> <groupId>javax.transaction</groupId> <artifactId>jta</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> <version>3.0.0.ga</version> </dependency> <!--optional Seam libraries--> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam-debug</artifactId> <version>2.0.1.GA</version> </dependency> <!--JSF and facelets--> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>1.2_04-p02</version> </dependency> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-impl</artifactId> <version>1.2_04-p02</version> </dependency> <dependency> <groupId>com.sun.facelets</groupId> <artifactId>jsf-facelets</artifactId> <version>1.1.11</version> </dependency> <!--I like to have log4j without Hibernate as well--> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <scope>compile</scope> </dependency> <!--persistence with Hibernate--> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.5.ga</version> <scope>compile</scope> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.3.0</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.3.0.ga</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-commons-annotations</artifactId> <version>3.3.0.ga</version> </dependency> <!--other--> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.2-507.jdbc3</version> <scope>compile</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.0.5</version> </dependency> </dependencies> </project>
-
23. Re: Seam/Richfaces home page loading slow
abelevich May 7, 2009 6:33 AM (in response to pramod_bs)Hi!
Looks like resources merge doesn't start properly, I'm working now with similar issue under linux. -
25. Re: Seam/Richfaces home page loading slow
pramod_bs May 7, 2009 10:02 AM (in response to pramod_bs)Thank you
-
26. Re: Seam/Richfaces home page loading slow
pramod_bs May 7, 2009 1:27 PM (in response to pramod_bs)nbelaevski
I think I sidetracked from my original issue of my home page loading being slow. Other than this resources assembly do you think you have any other suggestions to improve the performance. Like I mentioned earlier to make things faster I removed the parser altogther. -
27. Re: Seam/Richfaces home page loading slow
pramod_bs May 7, 2009 3:08 PM (in response to pramod_bs)nbelaevski
Any other suggestions to improve performance of my home page loading while they work on the resource dependecny mave issue. -
28. Re: Seam/Richfaces home page loading slow
nbelaevski May 7, 2009 7:27 PM (in response to pramod_bs)Take a look: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4078546#4078546
http://www.jsfcentral.com/articles/speed_up_your_jsf_app_2.html
http://www.jsfcentral.com/articles/speed_up_your_jsf_app_1.html
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149621&postdays=0&postorder=asc&start=0
Add PhaseTracker .jar and check on which JSF lifecycle phase most time is spent. -
29. Re: Seam/Richfaces home page loading slow
pramod_bs Jun 16, 2009 11:49 AM (in response to pramod_bs)I am still having problem with maven resource dependency plugin. Can you please look at this posting and help me. I want to avoid cross posting. Thanks
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154386&start=10