Sorry about the lack of information. This are the commands I execute: <br><br>[no project] vlad $ new-project --named examplePlugin --topLevelPackage com.example<br>[examplePlugin] examplePlugin $ plugins setup<br>[examplePlugin] examplePlugin $ plugins new-plugin --named ePlugin<br>
and<br>[examplePlugin] EPlugin.java $ eplugin<br>***ERROR*** No such command: eplugin<br><br>The alias is the default alias. If i build the project I get no error.<br>Thanks,<br>Vlad<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 7:52 PM, Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm... could you please post the command you used to create the alias?<br><br>Always post as much information as possible when you ask questions :) it will help us answer. Thanks,<br>
~lincoln<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
On Tue, Mar 27, 2012 at 3:41 PM, Vlad Bogolin <span dir="ltr"><<a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry to bother you again. Maybe I don't understand how it is supposed to be used but after making a step by step plugin described on Forge website after adding an Alias I get the No such command error. I should not run it in forge command line or it is something wrong?<div>
<div><br>
<br><div class="gmail_quote">On Tue, Mar 27, 2012 at 9:45 PM, <span dir="ltr"><<a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your help! It works.<br><br>La data de , "Lincoln Baxter, III" <<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>> a scris:<div><div>
<br>> You set up your persistence unit to reference EclipseLink, but JBoss AS7 uses Hibernate.<br>> <br>> ~Lincoln<br>> <br>> On Sun, Mar 25, 2012 at 4:49 PM, <a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>> wrote:<br>
> <br>> I dont't know if i did it right because i get the same output<br>> <br>> [test] test $ set VERBOSE true<br>> [test] test $ as7 deploy <br>> <br>> [INFO] Scanning for projects...<br>> [INFO] <br>
> [INFO] ------------------------------------------------------------------------<br>> [INFO] Building test 1.0.0-SNAPSHOT<br>> <br>> [INFO] ------------------------------------------------------------------------<br>
> [INFO] <br>> [INFO] --- jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) @ test ---<br>> [INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.<br>> <br>> [INFO] ------------------------------------------------------------------------<br>
> [INFO] BUILD FAILURE<br>> [INFO] ------------------------------------------------------------------------<br>> [INFO] Total time: 0.913s<br>> [INFO] Finished at: Sun Mar 25 23:46:58 EEST 2012<br>> <br>> [INFO] Final Memory: 49M/356M<br>
> [INFO] ------------------------------------------------------------------------<br>> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) on project test: Could not execute goal deploy on test.war. Reason: Deployment failed and was rolled back. -> [Help 1]<br>
> <br>> [ERROR] <br>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>> [ERROR] <br>> [ERROR] For more information about the errors and possible solutions, please read the following articles:<br>
> <br>> [ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a><br>> <br>> And this is also the error message i get from as instance:<br>
> <br>> <br>> 23:48:39,295 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service."deployment.test.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.test.war".main: Failed to load module: deployment.test.war:main<br>
> <br>>         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>
> <br>>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]<br>
> <br>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]<br>>         at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]<br>> Caused by: org.jboss.modules.ModuleNotFoundException: Module org.eclipse.persistence:main is not found in local module loader @1f66cff (roots: /home/vlad/jboss-as-7.1.1.Final/modules)<br>
> <br>>         at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)<br>>         at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)<br>>         at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)<br>
> <br>>         at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)<br>>         at org.jboss.modules.Module.addPaths(Module.java:841)<br>>         at org.jboss.modules.Module.link(Module.java:1181)<br>
>         at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)<br>> <br>>         at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)<br>>         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>
>         ... 5 more<br>> <br>> <br>> 23:48:39,515 INFO [org.jboss.as.server] (management-handler-thread - 14) JBAS015870: Deploy of deployment "test.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.test.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.test.war\".main: Failed to load module: deployment.test.war:main"}}<br>
> <br>> 23:48:39,524 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test.war in 9ms<br>> 23:48:39,529 INFO [org.jboss.as.controller] (management-handler-thread - 14) JBAS014774: Service status report<br>
> <br>> JBAS014777: Services which failed to start: service jboss.module.service."deployment.test.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.test.war".main: Failed to load module: deployment.test.war:main<br>
> <br>> <br>> <br>> La data de , Thomas Frühbeck <a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>> a scris:<br>> > <br>> > <br>> > <br>> > <br>> > <br>
> > Hello Vlad,<br>> <br>> > <br>> > <br>> > <br>> > please activate verbose output via:<br>> > <br>> > <br>> > <br>> > set VERBOSE true<br>> > <br>
> > <br>> > <br>> > and retry your command and send the output.<br>> <br>> > <br>> > <br>> > <br>> > Am <a href="tel:25.03.2012%2022" value="+12503201222" target="_blank">25.03.2012 22</a>:35, schrieb Vlad Bogolin:<br>
> > Hi,<br>> > <br>> > I get the fallowing error when I try to run as7 deploy<br>> <br>> > <br>> > [ERROR] Failed to execute goal<br>> > org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy<br>
> > (default-cli) on project test: Could not execute goal deploy on<br>> > test.war. Reason: Deployment failed and was rolled back.<br>> <br>> > <br>> > I found out that the problem is caused by some missing<br>
> > dependencies but I couldn't resolve it. I hope you can help me.<br>> > <br>> > Thanks,<br>> > <br>> > Vlad<br>> > <br>> <br>> > <br>> > <br>
> > <br>> > <br>> > <br>> > _______________________________________________<br>> > forge-dev mailing list<br>> > <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
> <br>> > <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>> > <br>> > <br>> > <br>> > <br>> > <br>
> > <br>> > <br>> ><br>> <br>> <br>> <br>> _______________________________________________<br>> <br>> forge-dev mailing list<br>> <br>> <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
> <br>> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>> <br>> <br>> <br>> <br>> <br>> -- <br>> Lincoln Baxter, III<br>
> <a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>> "Simpler is better."<br>> <br>></div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."<br>
</div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br>