[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ ConventionsLayers --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ ConventionsLayers --- [INFO] Surefire report directory: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ ConventionsLayers --- [INFO] Building jar: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\ConventionsLayers-1.0.0-SNAPSHOT. jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.129s [INFO] Finished at: Mon Oct 24 21:51:48 BRST 2011 [INFO] Final Memory: 10M/24M [INFO] ------------------------------------------------------------------------ ***SUCCESS*** Build successful. ? An existing version of this plugin was found. Replace it? [Y/n] y ***INFO*** Installing plugin artifact. Wrote /Users/rmpestano/.forge/plugins/com.jsf.conventions.layers$ConventionsLayers$13$1.0.0-SNAPSHOT.jar ***SUCCESS*** Installed from [ConventionsLayers] successfully. Windows? Really? Okay... [no project] $ cd D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers [ConventionsLayers] ConventionsLayers $ layers generate-controller --class com.jsf.conventions.layers.model.Person.java Project:ProjectImpl [ConventionsLayers] ***ERROR*** [layers generate-controller] D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\src\main\java\com\js f\conventions\layers\model\Person\jav.java (O sistema nÒo pode encontrar o caminho especificado) [ConventionsLayers] ConventionsLayers $ layers generate-controller --class com.jsf.conventions.layers.model.Person.java Project:ProjectImpl [ConventionsLayers] Choose bean scope 1 - [RequestScoped] 2 - [ViewAccessScoped]* 3 - [ConversationScoped] 4 - [SessionScoped] ? Choose an option by typing the number of the selection [*-default]: 3 ***ERROR*** [layers generate-controller] null [ConventionsLayers] ConventionsLayers $ forge source-plugin D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers ***INFO*** Invoking build with underlying build system. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.jsf.conventions.layers:ConventionsLa yers:jar:1.0.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57, colum n 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 64, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ConventionsLayers 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:0.1.7-SNAPSHOT is missing, no depe ndency information available [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConventionsLayers --- [INFO] Deleting D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConventionsLayers --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ ConventionsLayers --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 3 source files to D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\classes [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ ConventionsLayers --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ ConventionsLayers --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ ConventionsLayers --- [INFO] Surefire report directory: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ ConventionsLayers --- [INFO] Building jar: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\ConventionsLayers-1.0.0-SNAPSHOT. jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.081s [INFO] Finished at: Mon Oct 24 21:54:44 BRST 2011 [INFO] Final Memory: 10M/24M [INFO] ------------------------------------------------------------------------ ***SUCCESS*** Build successful. ? An existing version of this plugin was found. Replace it? [Y/n] y ***INFO*** Installing plugin artifact. Wrote /Users/rmpestano/.forge/plugins/com.jsf.conventions.layers$ConventionsLayers$14$1.0.0-SNAPSHOT.jar ***SUCCESS*** Installed from [ConventionsLayers] successfully. Windows? Really? Okay... [ConventionsLayers] ConventionsLayers $ layers generate-controller --class com.jsf.conventions.layers.model.Person.java Project:ProjectImpl [ConventionsLayers] Choose bean scope 1 - [RequestScoped] 2 - [ViewAccessScoped]* 3 - [ConversationScoped] 4 - [SessionScoped] ? Choose an option by typing the number of the selection [*-default]: 4 java.lang.NullPointerException at com.jsf.conventions.layers.LayersPlugin.generateController(LayersPlugin.java:93) 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.jboss.forge.shell.command.Execution.perform(Execution.java:144) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63) at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:696) at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:512) 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.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.forge.shell.org$jboss$weld$bean-classpath-ManagedBean-org$jboss$forge$shell$ShellImpl[@javax$enterp rise$context$ApplicationScoped()]{org$jboss$forge$shell$ShellImpl$commandHolder[@javax$inject$Inject()]$org$jboss$forge$ shell$ShellImpl$environment[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$fshRuntime[@javax$inject$Inject()]$o rg$jboss$forge$shell$ShellImpl$manager[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$parameters[@javax$inject$ Inject()@org$jboss$weld$environment$se$bindings$Parameters()]$org$jboss$forge$shell$ShellImpl$postStartup[@javax$inject$ Inject()]$org$jboss$forge$shell$ShellImpl$projectContext[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$promptT ypeConverter[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$resourceFactory[@javax$inject$Inject()]$org$jboss$f orge$shell$ShellImpl$shellConfig[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$shutdown[@javax$inject$Inject() ]$org$jboss$forge$shell$ShellImpl$doShell(org$jboss$forge$shell$events$AcceptUserInput[@javax$enterprise$event$Observes( during=IN_PROGRESS,notifyObserver=ALWAYS)])$org$jboss$forge$shell$ShellImpl$init(org$jboss$forge$shell$events$Startup[@j avax$enterprise$event$Observes(during=IN_PROGRESS,notifyObserver=ALWAYS)],org$jboss$forge$shell$completer$PluginCommandC ompleter)$org$jboss$forge$shell$ShellImpl$teardown(org$jboss$forge$shell$events$Shutdown[@javax$enterprise$event$Observe s(during=IN_PROGRESS,notifyObserver=ALWAYS)],javax$enterprise$event$Event)$}_$ $_WeldClientProxy.doShell(org$jboss$weld$bean-classpath-ManagedBean-org$jboss$forge$shell$ShellImpl[@javax$enterprise$co ntext$ApplicationScoped()]{org$jboss$forge$shell$ShellImpl$commandHolder[@javax$inject$Inject()]$org$jboss$forge$shell$S hellImpl$environment[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$fshRuntime[@javax$inject$Inject()]$org$jbos s$forge$shell$ShellImpl$manager[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$parameters[@javax$inject$Inject( )@org$jboss$weld$environment$se$bindings$Parameters()]$org$jboss$forge$shell$ShellImpl$postStartup[@javax$inject$Inject( )]$org$jboss$forge$shell$ShellImpl$projectContext[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$promptTypeConv erter[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$resourceFactory[@javax$inject$Inject()]$org$jboss$forge$sh ell$ShellImpl$shellConfig[@javax$inject$Inject()]$org$jboss$forge$shell$ShellImpl$shutdown[@javax$inject$Inject()]$org$j boss$forge$shell$ShellImpl$doShell(org$jboss$forge$shell$events$AcceptUserInput[@javax$enterprise$event$Observes(during= IN_PROGRESS,notifyObserver=ALWAYS)])$org$jboss$forge$shell$ShellImpl$init(org$jboss$forge$shell$events$Startup[@javax$en terprise$event$Observes(during=IN_PROGRESS,notifyObserver=ALWAYS)],org$jboss$forge$shell$completer$PluginCommandComplete r)$org$jboss$forge$shell$ShellImpl$teardown(org$jboss$forge$shell$events$Shutdown[@javax$enterprise$event$Observes(durin g=IN_PROGRESS,notifyObserver=ALWAYS)],javax$enterprise$event$Event)$}_$$_WeldC lientProxy.java) 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.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:270) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:222) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:632) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:619) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:613) at org.jboss.forge.shell.Bootstrap$2.run(Bootstrap.java:93) at java.lang.Thread.run(Thread.java:662) [ConventionsLayers] ConventionsLayers $ forge source-plugin D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers ***INFO*** Invoking build with underlying build system. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.jsf.conventions.layers:ConventionsLa yers:jar:1.0.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57, colum n 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 64, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [ConventionsLayers] ConventionsLayers $ forge -version ____ _____ / ___| ___ __ _ _ __ ___ | ___|__ _ __ __ _ ___ \___ \ / _ \/ _` | '_ ` _ \ | |_ / _ \| '__/ _` |/ _ \ \\ ___) | __/ (_| | | | | | | | _| (_) | | | (_| | __/ // |____/ \___|\__,_|_| |_| |_| |_| \___/|_| \__, |\___| |___/ Seam Forge, version [ 20110609-1315 ] - JBoss, by Red Hat, Inc. [ http://jboss.org ] [ConventionsLayers] ConventionsLayers $ forge source-plugin D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers ***INFO*** Invoking build with underlying build system. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.jsf.conventions.layers:ConventionsLa yers:jar:1.0.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57, colum n 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 64, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ConventionsLayers 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:0.1.7-SNAPSHOT is missing, no depe ndency information available [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConventionsLayers --- [INFO] Deleting D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConventionsLayers --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ ConventionsLayers --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 3 source files to D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\classes [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ ConventionsLayers --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ ConventionsLayers --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ ConventionsLayers --- [INFO] Surefire report directory: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ ConventionsLayers --- [INFO] Building jar: D:\JAVA\Projetos\Conventions\Conventions\ConventionsLayers\target\ConventionsLayers-1.0.0-SNAPSHOT. jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.016s [INFO] Finished at: Mon Oct 24 21:57:17 BRST 2011 [INFO] Final Memory: 10M/24M [INFO] ------------------------------------------------------------------------ ***SUCCESS*** Build successful. ? An existing version of this plugin was found. Replace it? [Y/n] y ***INFO*** Installing plugin artifact. Wrote /Users/rmpestano/.forge/plugins/com.jsf.conventions.layers$ConventionsLayers$16$1.0.0-SNAPSHOT.jar ***SUCCESS*** Installed from [ConventionsLayers] successfully. Windows? Really? Okay... [ConventionsLayers] ConventionsLayers $ layers generate-controller --class com.jsf.conventions.layers.model.Person.java Project:ProjectImpl [ConventionsLayers] Choose bean scope 1 - [RequestScoped] 2 - [ViewAccessScoped]* 3 - [ConversationScoped] 4 - [SessionScoped] ? Choose an option by typing the number of the selection [*-default]: 4 Wrote /JAVA/Projetos/Conventions/Conventions/ConventionsLayers/src/main/java/com/jsf/conventions/layers/controller/perso nMBean.java [ConventionsLayers] ConventionsLayers $