[JBoss JIRA] (FORGE-423) SNAPSHOTs are not properly installed with new plugin versioning system.
by Lincoln Baxter III (Created) (JIRA)
SNAPSHOTs are not properly installed with new plugin versioning system.
-----------------------------------------------------------------------
Key: FORGE-423
URL: https://issues.jboss.org/browse/FORGE-423
Project: Forge
Issue Type: Bug
Components: Shell
Affects Versions: 1.0.0.Beta5
Reporter: Lincoln Baxter III
Fix For: 1.0.0.CR1
Plugins with SNAPSHOT Forge API versions were not being correctly installed because SNAPSHOT versions were being expanded to full maven form, and not actually being picked up as a SNAPSHOT.
{code}[no project] lbaxter $ forge find-plugin openshift
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
- openshift-flex (org.redhat.openshift.plugin-openshift:1.0.0-SNAPSHOT:::)
Author: Krishna Raman <kraman(a)redhat.com>
Website: http://openshift.com
Location: git://github.com/forge/plugin-openshift.git
Tags: cloud, openshift, redhat, jboss, deploy, rhc
Description: Plugins for creating cloud instances, managing existing clouds, and deploying applications to the Red Hat cloud.
- openshift-express (com.redhat.openshift.express:openshift-express-plugin:::1.0.0-SNAPSHOT)
Author: Pete Muir <pmuir(a)redhat.com>
Website: http://openshift.com
Location: git://github.com/forge/plugin-openshift-express.git
Tags: cloud, openshift, redhat, jboss, deploy, rhc, express
Description: Plugins for creating cloud instances, managing existing clouds, and deploying applications to the Red Hat express cloud.
[no project] lbaxter $ forge install-plugin openshift-express
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: openshift-express
***INFO*** Checking out plugin source files to [/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo] via 'git'
***WARNING*** Could not find a Ref matching the current Forge version [1.0.0.Beta5], building Plugin from HEAD.
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building openshift-express-plugin 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openshift-express-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ openshift-express-plugin ---
[INFO] Surefire report directory: /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.redhat.openshift.express.forge.TestUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ openshift-express-plugin ---
[INFO] Building jar: /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/openshift-express-plugin.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.761s
[INFO] Finished at: Tue Jan 10 14:24:46 EST 2012
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------
***SUCCESS*** Build successful.
***INFO*** Installing plugin artifact.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** Installed from [git://github.com/forge/plugin-openshift-express.git] successfully.
Wrote /Users/lbaxter/.forge/plugins/com
Wrote /Users/lbaxter/.forge/plugins/com/redhat
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/openshift-express-plugin.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/module.xml
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/jboss-dmr-1.0.0.Final.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/jsch-0.1.29.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/openshift-java-client-1.0.1-SNAPSHOT.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/module.xml
Not loading plugin [com.redhat.openshift.express.openshift-express-plugin] due to incompatible Forge API version [1.0.0-20120102.173624-230]. To remove this plugin, type 'forge remove-plugin com.redhat.openshift.express.openshift-express-plugin:1.0.0-20120102.173624-230:1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851' inside Forge.
[no project] lbaxter ${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
12 years, 4 months
[JBoss JIRA] (FORGE-391) Cannot install richfaces Forge Plugin
by Lincoln Baxter III (Closed) (JIRA)
[ https://issues.jboss.org/browse/FORGE-391?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-391.
------------------------------------
Assignee: Lincoln Baxter III (was: Brian Leathem)
Resolution: Done
Fixed, but in the future, would you please report plugin issues in their own issue trackers on github. Thanks!
> Cannot install richfaces Forge Plugin
> -------------------------------------
>
> Key: FORGE-391
> URL: https://issues.jboss.org/browse/FORGE-391
> Project: Forge
> Issue Type: Bug
> Environment: Ubuntu 11.04 64-bit, Sun JDK 6, Forge 1.0.0.Beta3
> Reporter: Hendy Irawan
> Assignee: Lincoln Baxter III
>
> {code}
> [ecommerce-web] ecommerce-sample $ forge install-plugin richfaces
> Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
> ***INFO*** Preparing to install plugin: richfaces
> ***INFO*** Checking out plugin source files to [/tmp/forgetemp162131015872653215/repo] via 'git'
> Receiving objects: 100% (165/165)
> Resolving deltas: 100% (43/43)
> ***WARNING*** Dependency [org.jboss.forge:forge-shell-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
> ***WARNING*** Dependency [org.jboss.forge:forge-javaee-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.
> ***INFO*** Invoking build with underlying build system.
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.richfaces.forge:richfaces-forge-plugin:jar:1.0.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 27, 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 richfaces-forge-plugin 1.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-j...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-s...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-p...
> Downloading: http://localhost:8081/nexus/content/groups/public/org/jboss/forge/forge-e...
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ richfaces-forge-plugin ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ richfaces-forge-plugin ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 5 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ richfaces-forge-plugin ---
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 3 source files to /tmp/forgetemp162131015872653215/repo/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ richfaces-forge-plugin ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /tmp/forgetemp162131015872653215/repo/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ richfaces-forge-plugin ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ richfaces-forge-plugin ---
> [INFO] No tests to run.
> [INFO] Surefire report directory: /tmp/forgetemp162131015872653215/repo/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) @ richfaces-forge-plugin ---
> [INFO] Building jar: /tmp/forgetemp162131015872653215/repo/target/richfaces-forge-plugin-1.0.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.258s
> [INFO] Finished at: Tue Nov 01 20:57:54 WIT 2011
> [INFO] Final Memory: 10M/150M
> [INFO] ------------------------------------------------------------------------
> ***SUCCESS*** Build successful.
> ***INFO*** Installing plugin artifact.
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Installed from [git://github.com/forge/plugin-richfaces.git] successfully.
> Wrote /tmp/forgetemp162131015872653215/repo/pom.xml
> Wrote /home/ceefour/.forge/plugins/org
> Wrote /home/ceefour/.forge/plugins/org/richfaces
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/richfaces-forge-plugin.jar
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> Wrote /home/ceefour/.forge/plugins/org/richfaces/forge/richfaces-forge-plugin/dependencies/1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29/module.xml
> Exception in thread "Thread-7" javax.enterprise.event.ObserverException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
> at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
> at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
> at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
> 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.ShellImpl$Proxy$_$$_WeldClientProxy.init(ShellImpl$Proxy$_$$_WeldClientProxy.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:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:85)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
> at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
> at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
> at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
> at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
> at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
> at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
> 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)
> ... 34 more
> {code}
> Forge terminates, then it drops right to the Linux shell prompt.
> Now Forge won't start at all on this project: :-(
> {code}
> ceefour@annafi:~/git/ecommerce-sample$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
> Exception in thread "Thread-2" javax.enterprise.event.ObserverException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
> at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
> at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
> at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
> 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.ShellImpl$Proxy$_$$_WeldClientProxy.init(ShellImpl$Proxy$_$$_WeldClientProxy.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:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:85)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
> at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
> at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
> at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
> at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
> at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
> at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
> 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)
> ... 34 more
> {code}
> cd-ing doesn't even work:
> {code}
> ceefour@annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
>
> [no project] git $ cd ecommerce-sample
> ***ERROR*** [cd] null
> {code}
> I can't remove the plugin either:
> {code}
> ceefour@annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
>
> [no project] git $ forge list-plugins
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> [no project] git $ forge remove-plugin richfaces
> ***INFO*** Preparing to remove plugin: richfaces
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [richfaces]
> Exception in thread "Thread-5" javax.enterprise.event.ObserverException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
> at org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
> at org.jboss.forge.shell.project.CurrentProject.setCurrentResource(CurrentProject.java:91)
> at org.jboss.forge.shell.ShellImpl.init(ShellImpl.java:319)
> 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.ShellImpl$Proxy$_$$_WeldClientProxy.init(ShellImpl$Proxy$_$$_WeldClientProxy.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:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:85)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NoSuchMethodError: org.jboss.forge.project.Project.hasAllFacets(Ljava/util/Collection;)Z
> at org.richfaces.forge.RichFacesFacet.isInstalled(RichFacesFacet.java:55)
> at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:159)
> at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:218)
> at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:188)
> at org.jboss.forge.project.services.ProjectFactory.findProjectRecursively(ProjectFactory.java:129)
> at org.jboss.forge.shell.project.ProjectInitializer.doInit(ProjectInitializer.java:87)
> 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)
> ... 34 more
> {code}
> It still lives:
> {code}
> ceefour@annafi:~/git$ forge
> Using Forge at /home/ceefour/vendor/forge-1.0.0.Beta3
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
>
> [no project] git $ forge remove-plugin richfaces
> ***INFO*** Preparing to remove plugin: richfaces
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [richfaces]
> [no project] git $ forge list-plugins
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-943ecca1-e619-4fa8-8559-5ab834c91c29
> {code}
> Update: It seems the right way to remove a plugin is:
> {code}
> [no project] git $ forge remove-plugin org.richfaces.forge.richfaces-forge-plugin
> ***INFO*** Preparing to remove plugin: org.richfaces.forge.richfaces-forge-plugin
> Warning: The encoding 'UTF-8' is not supported by the Java runtime.
> ***SUCCESS*** Successfully removed [org.richfaces.forge.richfaces-forge-plugin]
> [no project] git $ forge list-plugins
> com.redhat.openshift.express.openshift-express-plugin:1.0.0-SNAPSHOT-155e7864-17ee-434f-9d00-1d3a97daceb0
> {code}
> (I'll file a separate bug to Forge)
> The sample project that triggers this bug will be hosted on GitHub here: https://github.com/soluvas
> It's currently live & running on OpenShift Express here: http://ecommerce-soluvas.rhcloud.com
--
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
12 years, 4 months
[JBoss JIRA] (FORGE-417) forge does not start
by w m (Created) (JIRA)
forge does not start
--------------------
Key: FORGE-417
URL: https://issues.jboss.org/browse/FORGE-417
Project: Forge
Issue Type: Bug
Environment: D:\Dev\forge>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\user1\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=MPC
ComSpec=C:\Windows\system32\cmd.exe
ERROR_CODE=1
FORGE_HOME=D:\Dev\forge
FP_NO_HOST_CHECK=NO
gitdir=D:\Dev\git
HOME=C:\Users\user1
HOMEDRIVE=C:
HOMEPATH=\Users\user1
JAVA_HOME=d:\dev\jdk
JBOSS_HOME=d:\dev\jboss6
JRE_HOME=d:\dev\jdk\jre
LOCALAPPDATA=C:\Users\user1\AppData\Local
LOGONSERVER=\\MPC
M2=d:\dev\maven3\bin
M2_HOME=d:\dev\maven3
MAVEN_OPTS=-Xms256m -Xmx512m
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;D:\dev\SlikSvn\bin;d:\dev\jdk\bin;d:\dev\maven3\bin;D:\
Dev\forge\bin;D:\Dev\git\cmd;C:\Program Files\Intel\WirelessCommon\;C:\Program F
iles\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\sys
wow64;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1e05
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\user1\AppData\Local\Temp
TMP=C:\Users\user1\AppData\Local\Temp
USERDOMAIN=mpc
USERNAME=user1
USERPROFILE=C:\Users\user1
windir=C:\Windows
D:\Dev\forge>
Reporter: w m
Priority: Blocker
D:\Dev\forge>forge
Fehler: Hauptklasse D:\Dev\forge\lib\aether-api.jar konnte nicht gefunden oder geladen werden
D:\Dev\forge>
--
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
12 years, 4 months