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">&lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt;</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">&lt;<a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>&gt;</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&#39;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">&lt;<a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>&gt;</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 , &quot;Lincoln Baxter, III&quot; &lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt; a scris:<div><div>
<br>&gt; You set up your persistence unit to reference EclipseLink, but JBoss AS7 uses Hibernate.<br>&gt; <br>&gt; ~Lincoln<br>&gt; <br>&gt; On Sun, Mar 25, 2012 at 4:49 PM,  <a href="mailto:vladbogolin@gmail.com" target="_blank">vladbogolin@gmail.com</a>&gt; wrote:<br>


&gt; <br>&gt; I dont&#39;t know if i did it right because i get the same output<br>&gt; <br>&gt; [test] test $ set VERBOSE true<br>&gt; [test] test $ as7 deploy <br>&gt; <br>&gt; [INFO] Scanning for projects...<br>&gt; [INFO]                                                                         <br>


&gt; [INFO] ------------------------------------------------------------------------<br>&gt; [INFO] Building test 1.0.0-SNAPSHOT<br>&gt; <br>&gt; [INFO] ------------------------------------------------------------------------<br>


&gt; [INFO] <br>&gt; [INFO] --- jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) @ test ---<br>&gt; [INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.<br>&gt; <br>&gt; [INFO] ------------------------------------------------------------------------<br>


&gt; [INFO] BUILD FAILURE<br>&gt; [INFO] ------------------------------------------------------------------------<br>&gt; [INFO] Total time: 0.913s<br>&gt; [INFO] Finished at: Sun Mar 25 23:46:58 EEST 2012<br>&gt; <br>&gt; [INFO] Final Memory: 49M/356M<br>


&gt; [INFO] ------------------------------------------------------------------------<br>&gt; [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. -&gt; [Help 1]<br>


&gt; <br>&gt; [ERROR] <br>&gt; [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>&gt; [ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>&gt; [ERROR] <br>&gt; [ERROR] For more information about the errors and possible solutions, please read the following articles:<br>


&gt; <br>&gt; [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>&gt; <br>&gt; And this is also the error message i get from as instance:<br>


&gt; <br>&gt; <br>&gt; 23:48:39,295 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service.&quot;deployment.test.war&quot;.main: org.jboss.msc.service.StartException in service jboss.module.service.&quot;deployment.test.war&quot;.main: Failed to load module: deployment.test.war:main<br>


&gt; <br>&gt;         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>&gt;         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>


&gt; <br>&gt;         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>&gt;         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_23]<br>


&gt; <br>&gt;         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_23]<br>&gt;         at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_23]<br>&gt; 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>


&gt; <br>&gt;         at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)<br>&gt;         at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)<br>&gt;         at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)<br>


&gt; <br>&gt;         at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)<br>&gt;         at org.jboss.modules.Module.addPaths(Module.java:841)<br>&gt;         at org.jboss.modules.Module.link(Module.java:1181)<br>


&gt;         at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207)<br>&gt; <br>&gt;         at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)<br>&gt;         at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]<br>


&gt;         ... 5 more<br>&gt; <br>&gt; <br>&gt; 23:48:39,515 INFO  [org.jboss.as.server] (management-handler-thread - 14) JBAS015870: Deploy of deployment &quot;test.war&quot; was rolled back with failure message {&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.module.service.\&quot;deployment.test.war\&quot;.main&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.module.service.\&quot;deployment.test.war\&quot;.main: Failed to load module: deployment.test.war:main&quot;}}<br>


&gt; <br>&gt; 23:48:39,524 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test.war in 9ms<br>&gt; 23:48:39,529 INFO  [org.jboss.as.controller] (management-handler-thread - 14) JBAS014774: Service status report<br>


&gt; <br>&gt; JBAS014777:   Services which failed to start:      service jboss.module.service.&quot;deployment.test.war&quot;.main: org.jboss.msc.service.StartException in service jboss.module.service.&quot;deployment.test.war&quot;.main: Failed to load module: deployment.test.war:main<br>


&gt; <br>&gt; <br>&gt; <br>&gt; La data de , Thomas Frühbeck <a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>&gt; a scris:<br>&gt; &gt; <br>&gt; &gt;   <br>&gt; &gt;     <br>&gt; &gt;   <br>&gt; &gt;   <br>


&gt; &gt;     Hello Vlad,<br>&gt; <br>&gt; &gt; <br>&gt; &gt;     <br>&gt; &gt; <br>&gt; &gt;     please activate verbose output via:<br>&gt; &gt; <br>&gt; &gt;     <br>&gt; &gt; <br>&gt; &gt;     set VERBOSE true<br>&gt; &gt; <br>


&gt; &gt;     <br>&gt; &gt; <br>&gt; &gt;     and retry your command and send the output.<br>&gt; <br>&gt; &gt; <br>&gt; &gt;     <br>&gt; &gt; <br>&gt; &gt;     Am <a href="tel:25.03.2012%2022" value="+12503201222" target="_blank">25.03.2012 22</a>:35, schrieb Vlad Bogolin:<br>


&gt; &gt;     Hi,<br>&gt; &gt; <br>&gt; &gt;       I get the fallowing error when I try to run as7 deploy<br>&gt; <br>&gt; &gt; <br>&gt; &gt;       [ERROR] Failed to execute goal<br>&gt; &gt;       org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy<br>


&gt; &gt;       (default-cli) on project test: Could not execute goal deploy on<br>&gt; &gt;       test.war. Reason: Deployment failed and was rolled back.<br>&gt; <br>&gt; &gt; <br>&gt; &gt;       I found out that the problem is caused by some missing<br>


&gt; &gt;       dependencies but I couldn&#39;t resolve it. I hope you can help me.<br>&gt; &gt; <br>&gt; &gt;       Thanks,<br>&gt; &gt; <br>&gt; &gt;       Vlad<br>&gt; &gt; <br>&gt; <br>&gt; &gt;       <br>&gt; &gt; <br>


&gt; &gt;       <br>&gt; &gt;       <br>&gt; &gt; <br>&gt; &gt;       _______________________________________________<br>&gt; &gt; forge-dev mailing list<br>&gt; &gt; <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>


&gt; <br>&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>&gt; &gt; <br>&gt; &gt;     <br>&gt; &gt;     <br>&gt; &gt; <br>&gt; &gt;   <br>


&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; <br>&gt; forge-dev mailing list<br>&gt; <br>&gt; <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>


&gt; <br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Lincoln Baxter, III<br>


&gt; <a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&gt; &quot;Simpler is better.&quot;<br>&gt; <br>&gt;</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>&quot;Simpler is better.&quot;<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>