Custom Templates by Project
by Filipe Névola
Hi, I'm starting with Forge and I would like to know how can I work with
custom templates by project.
Let me try to be more clear, I want to have a project A using AngularJS
Addon with custom templates for my views and a project B using AngularJS
Addon with others custom templates.
The differences won't be only images, styles, etc but will be on the
structure of html also.
My question is: How can I do that? Is there a simple way? Maybe some addon.
Thank you!
---
*Filipe Névola <https://twitter.com/FilipeNevola>*
*Leader of Product Innovation Lab at *Tecsinapse
<http://www.tecsinapse.com.br>
*Você conhece Jesus? Ainda não? Então busque conhecer pois você não está
aproveitando sua vida como poderia.*
*Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com
abundância."*
10 years, 3 months
Re: [forge-dev] Forge and Camel Archetypes
by Grzegorz Grzybek
Hello
Finally I have time to start the discussion about the use of Maven
Archetypes in both JBoss Fuse and JBoss Fabric.
Here are the links to relevant issues:
- https://issues.jboss.org/browse/FORGE-273
- https://github.com/fabric8io/fabric8/issues/1091
Currently we have (here:
https://github.com/fabric8io/fabric8/blob/master/tooling/camel-tooling-ut...)
a helper which can unpack maven archetype and correctly replace ${VAR}
variables in archetype resources.
Let's first say what we want to achieve. I'd say (please provide
comments if I misunderstood something):
Basic:
- to be able to unpack any Maven Archetype JAR and create working
("mvn clean install"able) project in FileSystem *without* using Maven
archetype-related libraries
- to be able to replace variables in archetype resources
- to be able to evaluate Velocity expressions (they may be present in
the archetypes)
Discovery:
- to be able to read list of available archetypes
- to be able to discover available archetypes and create the above
list (explicit distinction to free ourselves from finding the archetypes
in M2_REPO each time)
Help:
- to be able to discover archetype parameters (this is the main goal -
to make something more user/tab-completion friendly than "mvn
archetype:create" with millions of options)
- to provide commands (Karaf/Gogo or JBoss Forge) for project creation
- to ask users (GUI? Console? Hawt.io?) for required archetype:create
params
OK. I'd like to start a project (https://github.com/forge/ or
https://github.com/fusesource/ or https://github.com/jboss/ or
https://github.com/jboss-fuse/ - any suggestions?) which will do most of
the above and will be a foundation of:
- karaf/fabric command
- Forge addon(?)
Any suggestions?
---
regards
Grzegorz Grzybek
> That sounds good. Please post to forge-dev(a)lists.jboss.org
> <mailto:forge-dev@lists.jboss.org> when you want help getting this
> rolling!
>
>
> On Wed, May 21, 2014 at 9:10 AM, James Strachan <jstracha(a)redhat.com
> <mailto:jstracha@redhat.com>> wrote:
>
> Hey :)
>
> The scala code is ported to Java now; why don’t we get the little
> ‘project creator’ command in fabric8 working; then when its there,
> we could post it to the forge list to see about
> including/sharing/reusing the same stuff there too?
>
> On 21 May 2014, at 12:33, Grzegorz Grzybek <ggrzybek(a)redhat.com
> <mailto:ggrzybek@redhat.com>> wrote:
>> Hello - sorry I couldn't start the discussion... But I still
>> remember that it's quite important ;)
>>
>> regards
>> Grzegorz Grzybek
>>> I think that sounds like a good idea. If we can consume this as
>>> a library, it would make things very easy to implement. It would
>>> also probably give you guys a migration path so you don't
>>> immediately have to jump to Forge on drop 0.
>>>
>>> Forge has a number of ways of locating resources, we can come up
>>> with a nice pattern for this :)
>>>
>>> Shall we move this discussion to forge-dev(a)lists.jboss.org
>>> <mailto:forge-dev@lists.jboss.org> or #forge on irc.freenode.net
>>> <http://irc.freenode.net/> and get started?
>>>
>>> ~Lincoln
>>>
>>>
>>> On Thu, May 15, 2014 at 3:13 AM, James Strachan
>>> <jstracha(a)redhat.com <mailto:jstracha@redhat.com>> wrote:
>>>
>>> Yeah, we might wanna polish the archetype generator code
>>> into its own jar/bundle thats got minimal dependencies & is
>>> easier to use stand alone (so it could be more easily
>>> consumed from inside Forge).
>>>
>>> For the ‘create project’ command/plugin I figured we’d
>>> discover the available archetypes on the classpath somehow;
>>> in Fuse IDE (the Fuse/Camel plugins now in JBDS) we just did
>>> a bit of code generation to put the archetype jars inside
>>> the plugin. Something a bit more extensible, eventually,
>>> might be nice for Forge; though for fabric8 just having a
>>> curated list of archetypes from the fabric8 project itself
>>> will be fine for us for a while ;)
>>>
>>>
>>> On 15 May 2014, at 08:03, Grzegorz Grzybek
>>> <ggrzybek(a)redhat.com <mailto:ggrzybek@redhat.com>> wrote:
>>>> Hello!
>>>>> Awesome, thanks Grzegorz!
>>>>>
>>>>> BTW a bit of background for you, sorry I should have said
>>>>> - there’s been discussions in the past of adding a nice
>>>>> ability to create new projects from archetypes nicely into
>>>>> JBoss Forge:
>>>>> https://issues.jboss.org/browse/FORGE-273
>>>>>
>>>>> http://forge.jboss.org/
>>>>>
>>>>> the mvn command line to generate archetypes isn’t awesome
>>>>> ;) and we could curate a nice default set with
>>>>> auto-completion of all the known jboss archetypes from our
>>>>> projects (and maybe have a nice little way to filter them
>>>>> by tag/project name/tech etc) with tab completion etc
>>>> Thanks for links - so another item on my TODO list ;)
>>>> I'll think about how to make it easier both for Forge and
>>>> commands inside Fabric8.
>>>>
>>>> regards
>>>> Grzegorz
>>>>>
>>>>> On 15 May 2014, at 07:55, Grzegorz Grzybek
>>>>> <ggrzybek(a)redhat.com <mailto:ggrzybek@redhat.com>> wrote:
>>>>>> Hello!
>>>>>>
>>>>>> I successfully ported insight-maven stuff from Scala
>>>>>> (it's Maven's Aether concept to deal with repositories).
>>>>>> But now I'm 30% in camel-tooling-util. Scala is not
>>>>>> really needed here and I see it has much more cons than pros!
>>>>>> I know that for Scala ninjas this language is the
>>>>>> ultimate expression tool, but reading it after few years
>>>>>> is not such a Zen experience after all.
>>>>>>
>>>>>> As someone said - Java8 is the new Java, not Scala. Of
>>>>>> course I don't want to rewrite all this code into
>>>>>> lambda-spaghetti, but good old Java6 syntax is enough :)
>>>>>>
>>>>>> And after porting camel-tooling-util back to Java, I'll
>>>>>> look at https://github.com/fabric8io/fabric8/issues/1091
>>>>>> which is about making creating projects from archetypes
>>>>>> much easier.
>>>>>>
>>>>>> regards
>>>>>> Grzegorz
>>>>>>> Cool; wanna CC Grzegorz and myself?; am hoping at some
>>>>>>> point Grzegorz gets the chance to port the existing
>>>>>>> Archetype creation code from scala to java so its a
>>>>>>> little leaner & meaner and easier to reuse in Forge.
>>>>>>>
>>>>>>> On 14 May 2014, at 20:31, Lincoln Baxter, III
>>>>>>> <lincolnbaxter(a)gmail.com
>>>>>>> <mailto:lincolnbaxter@gmail.com>> wrote:
>>>>>>>> Okay cool. We'll continue to go down the archetype
>>>>>>>> route and see if we can get that working for you guys.
>>>>>>>> It would help if we had someone on your team who could
>>>>>>>> take point on this so we can assist. Is that possible?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, May 14, 2014 at 3:29 PM, James Strachan
>>>>>>>> <jstracha(a)redhat.com <mailto:jstracha@redhat.com>> wrote:
>>>>>>>>
>>>>>>>> Ah yeah - just chatted to Dave; this is some gem
>>>>>>>> based stuff for generating projects from templates;
>>>>>>>> which is cool too. We went the maven archetype
>>>>>>>> direction in Fuse IDE (now the Fuse / Camel tooling
>>>>>>>> in JBDS) and now have lots of archetypes (both on
>>>>>>>> upstream projects like camel & cxf and in JBoss
>>>>>>>> Fuse); so I’m personally more keen to support
>>>>>>>> archetypes ASAP; but the more tooling and options
>>>>>>>> the better! :)
>>>>>>>>
>>>>>>>> On 14 May 2014, at 17:58, Lincoln Baxter, III
>>>>>>>> <lincolnbaxter(a)gmail.com
>>>>>>>> <mailto:lincolnbaxter@gmail.com>> wrote:
>>>>>>>>
>>>>>>>>> https://issues.jboss.org/browse/FORGE-273
>>>>>>>>>
>>>>>>>>> Also just got contacted by some people from GSS
>>>>>>>>> who are working on fusegen and want to merge that
>>>>>>>>> into Forge. Do you know anything about that?
>>>>>>>>> Wai Chun Hoi, and Dave Stanley.
>>>>>>>>>
>>>>>>>>> ~Lincoln
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Apr 16, 2014 at 11:50 AM, James Strachan
>>>>>>>>> <jstracha(a)redhat.com <mailto:jstracha@redhat.com>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Sounds cool; am around until about 2-3pm I
>>>>>>>>> think so late morning sounds cool.
>>>>>>>>>
>>>>>>>>> FWIW we added an archetype generator a while
>>>>>>>>> back into eclipse so it was easy for folks to
>>>>>>>>> start projects & we pre-baked all our
>>>>>>>>> camel/fuse archetypes - as using the maven
>>>>>>>>> archetype:generate command line is so utterly
>>>>>>>>> awful.
>>>>>>>>>
>>>>>>>>> Here’s the code to create an archetype from
>>>>>>>>> the mvn coordinates of the archetype distro:
>>>>>>>>> https://github.com/fabric8io/fabric8/blob/master/tooling/camel-tooling-ut...
>>>>>>>>>
>>>>>>>>> e.g. here’s a test case that creates a bunch
>>>>>>>>> of archetypes - no maven is required etc:
>>>>>>>>> https://github.com/fabric8io/fabric8/blob/master/tooling/camel-tooling-ut...
>>>>>>>>>
>>>>>>>>> I was hoping we could cobble something like
>>>>>>>>> this into a standard command; then have nice
>>>>>>>>> tab completion on the list of archetypes we
>>>>>>>>> ship by default in Forge which groks all the
>>>>>>>>> jboss / fuse / apache archetypes we want to
>>>>>>>>> prime it with; and make it easy for folks to
>>>>>>>>> add/load/configure others. e.g. JBoss Fuse
>>>>>>>>> ships with a bunch of archetypes (but they are
>>>>>>>>> not sync’d to maven central); so it’d be nice
>>>>>>>>> if all jboss products that have archetypes
>>>>>>>>> were baked into Forge (e.g. EAP / Fuse / Fuse
>>>>>>>>> Service Works / BRMS etc).
>>>>>>>>>
>>>>>>>>> Hope that helps - would love to port the code
>>>>>>>>> to plain java ;) but I guess whats another
>>>>>>>>> massive jar dependency on spring-library
>>>>>>>>> between friends ;)
>>>>>>>>>
>>>>>>>>> Anyway - hope to see you around this morning.
>>>>>>>>> Go Errai! :)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 16 Apr 2014, at 02:52, Lincoln Baxter, III
>>>>>>>>> <lincolnbaxter(a)gmail.com
>>>>>>>>> <mailto:lincolnbaxter@gmail.com>> wrote:
>>>>>>>>>> Let's talk about this tomorrow (today.) I'll
>>>>>>>>>> be over at the conference in the late
>>>>>>>>>> morning. And I'll be at the hack-fest.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Lincoln Baxter, III
>>>>>>>>>> http://ocpsoft.org <http://ocpsoft.org/>
>>>>>>>>>> "Simpler is better."
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> James
>>>>>>>>> -------
>>>>>>>>> Red Hat
>>>>>>>>>
>>>>>>>>> Email: jstracha(a)redhat.com
>>>>>>>>> <mailto:jstracha@redhat.com>
>>>>>>>>> Web: http://fusesource.com
>>>>>>>>> <http://fusesource.com/>
>>>>>>>>> Twitter: jstrachan, fusenews
>>>>>>>>> Blog: http://macstrac.blogspot.com/
>>>>>>>>>
>>>>>>>>> Open Source Integration
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Lincoln Baxter, III
>>>>>>>>> http://ocpsoft.org <http://ocpsoft.org/>
>>>>>>>>> "Simpler is better."
>>>>>>>>
>>>>>>>>
>>>>>>>> James
>>>>>>>> -------
>>>>>>>> Red Hat
>>>>>>>>
>>>>>>>> Twitter: @jstrachan
>>>>>>>> Email: jstracha(a)redhat.com <mailto:jstracha@redhat.com>
>>>>>>>> Blog: http://macstrac.blogspot.com/
>>>>>>>>
>>>>>>>> hawtio: http:/ <http://fusesource.com/>/hawt.io/
>>>>>>>> <http://hawt.io/>
>>>>>>>> fabric8: http:/
>>>>>>>> <http://fusesource.com/>/fabric8.io/
>>>>>>>> <http://fabric8.io/>
>>>>>>>>
>>>>>>>> Open Source Integration
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Lincoln Baxter, III
>>>>>>>> http://ocpsoft.org <http://ocpsoft.org/>
>>>>>>>> "Simpler is better."
>>>>>>>
>>>>>>>
>>>>>>> James
>>>>>>> -------
>>>>>>> Red Hat
>>>>>>>
>>>>>>> Twitter: @jstrachan
>>>>>>> Email: jstracha(a)redhat.com <mailto:jstracha@redhat.com>
>>>>>>> Blog: http://macstrac.blogspot.com/
>>>>>>>
>>>>>>> hawtio: http:/ <http://fusesource.com/>/hawt.io/
>>>>>>> <http://hawt.io/>
>>>>>>> fabric8: http:/ <http://fusesource.com/>/fabric8.io/
>>>>>>> <http://fabric8.io/>
>>>>>>>
>>>>>>> Open Source Integration
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> James
>>>>> -------
>>>>> Red Hat
>>>>>
>>>>> Twitter: @jstrachan
>>>>> Email: jstracha(a)redhat.com <mailto:jstracha@redhat.com>
>>>>> Blog: http://macstrac.blogspot.com/
>>>>>
>>>>> hawtio: http:/ <http://fusesource.com/>/hawt.io/
>>>>> <http://hawt.io/>
>>>>> fabric8: http:/ <http://fusesource.com/>/fabric8.io/
>>>>> <http://fabric8.io/>
>>>>>
>>>>> Open Source Integration
>>>>>
>>>>
>>>
>>>
>>> James
>>> -------
>>> Red Hat
>>>
>>> Twitter: @jstrachan
>>> Email: jstracha(a)redhat.com <mailto:jstracha@redhat.com>
>>> Blog: http://macstrac.blogspot.com/
>>>
>>> hawtio: http:/ <http://fusesource.com/>/hawt.io/
>>> <http://hawt.io/>
>>> fabric8: http:/ <http://fusesource.com/>/fabric8.io/
>>> <http://fabric8.io/>
>>>
>>> Open Source Integration
>>>
>>>
>>>
>>>
>>> --
>>> Lincoln Baxter, III
>>> http://ocpsoft.org <http://ocpsoft.org/>
>>> "Simpler is better."
>>
>
>
> James
> -------
> Red Hat
>
> Twitter: @jstrachan
> Email: jstracha(a)redhat.com <mailto:jstracha@redhat.com>
> Blog: http://macstrac.blogspot.com/
>
> hawtio: http:/ <http://fusesource.com/>/hawt.io/ <http://hawt.io/>
> fabric8: http:/ <http://fusesource.com/>/fabric8.io/
> <http://fabric8.io/>
>
> Open Source Integration
>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
10 years, 5 months
How do I install the Arquillian add-on from Git ?
by Antonio Goncalves
Hi guys,
I would like to install the Arquillian add-on straight from Github. I do
the following :
addon-install-from-git --url
https://github.com/agoncal/plugin-arquillian.git --branch forge2
But I get the following error. Am I missing something ? The
addon-install-from-git has a "coordonates" parameter but I don't know what
to enter and if it's useful.
Thanks
Antonio
[projarq]$ addon-install-from-git --url
https://github.com/agoncal/plugin-arquillian.git --branch forge2
***INFO*** Installing git addon [0/4] ...
***INFO*** Installing git addon:Cloning repository in
/var/folders/ds/w5m7dxx91t98p0s19sjcv6_00000gn/T/1402306123063-0 [0/4] ...
***INFO*** Installing git addon:Installing project into local repository [1/4]
...
***INFO*** Installing git addon:Removing previous addon installation
(org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) [2/4] ...
***INFO*** Installing git addon:Installing addon
(org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT) [3/4] ...
Downloading:
http://repo1.maven.org/maven2/org/arquillian/forge/arquillian-plugin/1.0....
***ERROR*** Addon org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT
could not be installed.
*From the logs :*
11:35:10,037 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter]
(AeshProcess: 7) Addon
org.arquillian.forge:arquillian-plugin,1.0.0-SNAPSHOT could not be
installed.: java.lang.RuntimeException:
org.eclipse.aether.resolution.DependencyResolutionException: Failure to
find org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT
in http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
at
org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:111)
[furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.resolveResources(LazyAddonInfo.java:88)
[furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.getResources(LazyAddonInfo.java:39)
[furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:59)
[furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49)
[furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48)
[furnace-2.6.1-20140604.061525-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44)
[furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57)
[furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39)
[furnace-manager-2.6.1-20140604.061628-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand.execute(AddonGitBuildAndInstallCommand.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
[furnace-proxy-2.6.1-20140604.061510-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-20140604.061455-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
[furnace-proxy-2.6.1-20140604.061510-2.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.manager.impl.ui.AddonGitBuildAndInstallCommand_$$_javassist_56c43058-db1a-405c-85d8-9f70b3553106.execute(AddonGitBuildAndInstallCommand_$$_javassist_56c43058-db1a-405c-85d8-9f70b3553106.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:88)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
[shell-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:298)
[aesh-0.55.jar:0.55]
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:39)
[aesh-0.55.jar:0.55]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
Failure to find
org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
[aether-impl-0.9.0.M2.jar:]
at
org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:107)
[furnace-manager-resolver-maven-2.6.1-20140604.061652-2.jar:2.6.1-SNAPSHOT]
... 24 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
Failure to find
org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
[aether-impl-0.9.0.M2.jar:]
... 25 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure
to find
org.arquillian.forge:arquillian-plugin:jar:forge-addon:1.0.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
[aether-impl-0.9.0.M2.jar:]
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
[aether-impl-0.9.0.M2.jar:]
... 27 more
--
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>
| Paris JUG <http://www.parisjug.org/> | Devoxx France
<http://www.devoxx.fr/>
10 years, 6 months
Adding @Named to an EJBs... or anywhere
by Antonio Goncalves
When I create an EJB with Forge with the following command :
ejb-new-bean --named MyService
I get the following :
@Stateless
@LocalBean
public class MyService implements Serializable
In some cases, I would need to add an extra @Named annotation. Several ways
to do it. On the EJB command itself, we could add a parameter :
ejb-new-bean --named MyService --addNamed
But I think it would be good to have something more generic that could be
used anywhere. We could use the same logic as constraint-add (that adds any
kind of constraint on any Entity) and have something like
cdi-add-qualifier --qualifier Named --target org.app.service.MyService
// or on a property, which could be useful
cdi-add-qualifier --qualifier Named --onProperty myProp
cdi-add-qualifier --qualifier Named --onMethod myMethod
Or something even more generic would be to use the Java command
java-add-annotation --annotation javax.inject.Named --target
org.app.service.MyService
java-add-annotation --annotation javax.inject.Named --target
org.app.service.MyService --onProperty myProp
java-add-annotation --annotation javax.inject.Named --target
org.app.service.MyService --onMethod myMethod
java-add-annotation --annotation javax.inject.Named --onProperty myProp
java-add-annotation --annotation javax.inject.Named --onMethod myMethod
Any thoughts ?
Antonio
10 years, 6 months
Git install from ref
by Lincoln Baxter, III
I changed the name of branch to ref in the git install addon command... but
there's still some problems it seems like:
*[*Desktop*]*$ addon-install-from-git --url
https://github.com/bsorrentino/maven-confluence-reporting-plugin.git
--coordinate org.jboss.forge.addon:confluence --ref v4
***INFO*** Installing Addon from Git [0/4] ...
***INFO*** Installing Addon from Git:Cloning repository in
/var/folders/qp/tx3m3_49487d60x3b429p8g40000gn/T/1403217372628-0 [0/4] ...
***ERROR*** Ref v4 already exists
*[*Desktop*]*$
Not sure what is going on here. Could you take a look?
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 6 months
Forge meeting minutes 2014-06-18
by Lincoln Baxter, III
Meeting summary
---------------
* Agenda (lincolnthree, 15:02:57)
* Website (gastaldi, 15:06:05)
* The current website launch pending tasks can be found on
https://trello.com/b/UwGqxW0p/forge-2-website-launch (gastaldi,
15:11:57)
* Meeting with Erin (designer) will occur next week at the F2F
(lincolnthree, 15:12:15)
* Roadmap (gastaldi, 15:12:51)
* ACTION: lincolnthree is working on the CLAC performance (gastaldi,
15:16:26)
* ACTION: gastaldi will fix the bug on the Generate Entities From
Tables command (gastaldi, 15:17:48)
* Conferences (lincolnthree, 15:20:18)
* Arquillian Addon (gastaldi, 15:36:12)
* ACTION: gastaldi will have a look at addon-install-from-git issues
(gastaldi, 15:42:43)
* IDEA: We'll create custom download profiles for different addons
bundling (gastaldi, 15:59:06)
Meeting ended at 16:01:15 UTC.
Action Items
------------
* lincolnthree is working on the CLAC performance
* gastaldi will fix the bug on the Generate Entities From Tables command
* gastaldi will have a look at addon-install-from-git issues
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 6 months
Is it me or Forge is completely broken ?
by Antonio Goncalves
Hi all,
I've just updated my code with the latest SNAPSHOT... and nothing is
working. I've installed Forge, run forge command, hit TAB, and I have the
following exception.
Is it me or someone else can reproduce it ?
23:05:46,018 SEVERE
[org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl] (Aesh Process
Loop 1917268731) Error while retrieving command instance:
org.jboss.forge.furnace.exception.ContainerException: Failed to get
instance of [class
org.jboss.forge.addon.scaffold.impl.ui.ScaffoldGenerateCommandImpl] with
proxy for ClassLoader [ModuleClassLoader for Module
"org.jboss.forge.addon.scaffold:2.6.1-SNAPSHOT_8f77995b-6ecd-4f86-8fa8-d5f8ffb0fd80"
from AddonModuleLoader]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:76)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.impl.addons.ImportedImpl$ImportedIteratorImpl.next(ImportedImpl.java:183)
[furnace-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getCommands(CommandFactoryImpl.java:58)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getEnabledCommandNames(CommandFactoryImpl.java:79)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
[furnace-proxy-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
[furnace-proxy-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl_$$_javassist_59492f4e-7283-4cc3-8bc2-83aba8c148d4.getEnabledCommandNames(CommandFactoryImpl_$$_javassist_59492f4e-7283-4cc3-8bc2-83aba8c148d4.java)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommandNames(ForgeCommandRegistry.java:171)
at
org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getAllCommandNames(ForgeCommandRegistry.java:162)
at
org.jboss.aesh.console.AeshConsoleImpl.completeCommandName(AeshConsoleImpl.java:184)
at
org.jboss.aesh.console.AeshConsoleImpl.access$000(AeshConsoleImpl.java:49)
at
org.jboss.aesh.console.AeshConsoleImpl$AeshCompletion.complete(AeshConsoleImpl.java:230)
at
org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:126)
at
org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:381)
at
org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:149)
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:603)
at org.jboss.aesh.console.Console.execute(Console.java:593)
at org.jboss.aesh.console.Console.access$700(Console.java:59)
at org.jboss.aesh.console.Console$6.run(Console.java:496)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.forge.furnace.exception.ContainerException: Failed to
get instance of [interface org.jboss.forge.addon.ui.input.UISelectOne] from
addon [org.jboss.forge.addon:ui,2.6.1-SNAPSHOT +STARTED HC: 34382025]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:118)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.impl.ImportedBeanLifecycle.create(ImportedBeanLifecycle.java:105)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.util.ImmutableBean.create(ImmutableBean.java:68)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:68)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.access$101(ResourceInjector.java:46)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:65)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:109)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:760)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:78)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$1.call(ExportedInstanceImpl.java:64)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:72)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 26 more
Caused by: org.jboss.forge.furnace.exception.ContainerException: Failed to
get instance of [class
org.jboss.addon.validation.ui.ValidationInputComponentEnricher] with proxy
for ClassLoader [ModuleClassLoader for Module
"org.jboss.forge.addon.bean-validation:2.6.1-SNAPSHOT_8fced0f4-8e47-442a-8cdc-af60b4bc9e61"
from AddonModuleLoader]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:76)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.impl.addons.ImportedImpl$ImportedIteratorImpl.next(ImportedImpl.java:183)
[furnace-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.input.InputComponentProducer.produceSelectOne(InputComponentProducer.java:88)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:83)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:96)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:151)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:846)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getInjectableReference(ForwardingBeanManager.java:66)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getInjectableReference(BeanManagerProxy.java:84)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$2.call(ExportedInstanceImpl.java:106)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:114)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 51 more
Caused by: java.lang.IllegalStateException: Addon service
[javax.validation.Validator] is not registered.
at
org.jboss.forge.furnace.container.cdi.impl.ImportedBeanLifecycle.create(ImportedBeanLifecycle.java:121)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.util.ImmutableBean.create(ImmutableBean.java:68)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:68)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.access$101(ResourceInjector.java:46)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:65)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:109)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:760)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:78)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$1.call(ExportedInstanceImpl.java:64)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:72)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 71 more
23:05:46,036 SEVERE
[org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl] (Aesh Process
Loop 1917268731) Error while retrieving command instance:
org.jboss.forge.furnace.exception.ContainerException: Failed to get
instance of [class
org.jboss.forge.addon.javaee.jaxws.ui.setup.JAXWSSetupWizard] with proxy
for ClassLoader [ModuleClassLoader for Module
"org.jboss.forge.addon.javaee:2.6.1-SNAPSHOT_dd81c3f5-11bf-4ca7-b49c-7ffb2ac4f02b"
from AddonModuleLoader]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:76)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.impl.addons.ImportedImpl$ImportedIteratorImpl.next(ImportedImpl.java:183)
[furnace-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getCommands(CommandFactoryImpl.java:58)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getEnabledCommandNames(CommandFactoryImpl.java:79)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
[furnace-proxy-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
[furnace-proxy-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl_$$_javassist_59492f4e-7283-4cc3-8bc2-83aba8c148d4.getEnabledCommandNames(CommandFactoryImpl_$$_javassist_59492f4e-7283-4cc3-8bc2-83aba8c148d4.java)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommandNames(ForgeCommandRegistry.java:171)
at
org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getAllCommandNames(ForgeCommandRegistry.java:162)
at
org.jboss.aesh.console.AeshConsoleImpl.completeCommandName(AeshConsoleImpl.java:184)
at
org.jboss.aesh.console.AeshConsoleImpl.access$000(AeshConsoleImpl.java:49)
at
org.jboss.aesh.console.AeshConsoleImpl$AeshCompletion.complete(AeshConsoleImpl.java:230)
at
org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:126)
at
org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:381)
at
org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:149)
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:603)
at org.jboss.aesh.console.Console.execute(Console.java:593)
at org.jboss.aesh.console.Console.access$700(Console.java:59)
at org.jboss.aesh.console.Console$6.run(Console.java:496)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.forge.furnace.exception.ContainerException: Failed to
get instance of [interface org.jboss.forge.addon.ui.input.UISelectOne] from
addon [org.jboss.forge.addon:ui,2.6.1-SNAPSHOT +STARTED HC: 34382025]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:118)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.impl.ImportedBeanLifecycle.create(ImportedBeanLifecycle.java:105)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.util.ImmutableBean.create(ImmutableBean.java:68)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:68)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.access$101(ResourceInjector.java:46)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:65)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:109)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:760)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:78)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$1.call(ExportedInstanceImpl.java:64)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:72)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 26 more
Caused by: org.jboss.forge.furnace.exception.ContainerException: Failed to
get instance of [class
org.jboss.addon.validation.ui.ValidationInputComponentEnricher] with proxy
for ClassLoader [ModuleClassLoader for Module
"org.jboss.forge.addon.bean-validation:2.6.1-SNAPSHOT_8fced0f4-8e47-442a-8cdc-af60b4bc9e61"
from AddonModuleLoader]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:76)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.impl.addons.ImportedImpl$ImportedIteratorImpl.next(ImportedImpl.java:183)
[furnace-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.input.InputComponentProducer.produceSelectOne(InputComponentProducer.java:88)
[ui-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:83)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:96)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:151)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:846)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getInjectableReference(ForwardingBeanManager.java:66)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getInjectableReference(BeanManagerProxy.java:84)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$2.call(ExportedInstanceImpl.java:106)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:114)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 51 more
Caused by: java.lang.IllegalStateException: Addon service
[javax.validation.Validator] is not registered.
at
org.jboss.forge.furnace.container.cdi.impl.ImportedBeanLifecycle.create(ImportedBeanLifecycle.java:121)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.util.ImmutableBean.create(ImmutableBean.java:68)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:831)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:68)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.access$101(ResourceInjector.java:46)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:65)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:109)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:740)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:760)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:61)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:78)
[weld-core-impl-2.2.1.Final.jar:2014-05-09 12:21]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl$1.call(ExportedInstanceImpl.java:64)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
at
org.jboss.forge.furnace.container.cdi.services.ExportedInstanceImpl.get(ExportedInstanceImpl.java:72)
[cdi-impl-2.6.1-SNAPSHOT.jar:2.6.1-SNAPSHOT]
... 71 more
--
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>
| Paris JUG <http://www.parisjug.org/> | Devoxx France
<http://www.devoxx.fr/>
10 years, 6 months