<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Check if you're not using @Inject Project project; inside a facet. I get this error by doing this.</div><div><br>Em 28/04/2013, às 11:20, "Lincoln Baxter, III" &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; escreveu:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hey James,<div><br></div><div style="">I've had a chance to try this out, and it seems like your plugin changes introduce a scenario where `new-project` fails:</div><div style=""><br></div><div style=""><div><font face="courier new, monospace">&nbsp;</font></div>
<div><font face="courier new, monospace">[no project] Desktop $ new-project --named example</font></div><div><font face="courier new, monospace">&nbsp;? Use [/Users/lb3/Desktop/example] as project directory? [Y/n]&nbsp;</font></div>
<div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example</font></div><div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example/pom.xml</font></div><div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example/src/main/java</font></div>
<div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example/src/test/java</font></div><div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example/src/main/resources</font></div><div><font face="courier new, monospace">Wrote /Users/lb3/Desktop/example/src/test/resources</font></div>
<div><font face="courier new, monospace">***ERROR*** Exception encountered: WELD-001303 No active contexts for scope type org.jboss.forge.shell.project.ProjectScoped (type "set VERBOSE true" to enable stack traces)</font></div>
<div><font face="courier new, monospace">[no project] Desktop $ cd example/</font></div><div><font face="courier new, monospace">[generated-pom] example $ ls</font></div><div><font face="courier new, monospace">[generated-pom] example $ project</font></div>
<div><font face="courier new, monospace">&nbsp;name: generated-pom</font></div><div><font face="courier new, monospace">&nbsp;groupId: &nbsp;org.jboss.forge.generated</font></div><div><font face="courier new, monospace">&nbsp;final artifact: &nbsp;generated-pom-1.0.0-SNAPSHOT.jar</font></div>
<div><font face="courier new, monospace">&nbsp;packaging: &nbsp;jar</font></div><div><font face="courier new, monospace">&nbsp;dir: &nbsp;/Users/lb3/Desktop/example</font></div><div><font face="courier new, monospace">[generated-pom] example $&nbsp;</font></div>
<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 5:44 PM, James R. Perkins <span dir="ltr">&lt;<a href="mailto:jperkins@redhat.com" target="_blank">jperkins@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Just bumping this to see if anyone had a chance to review it.<div class="im"><br>
    <br>
    <div>On 04/04/2013 07:23 PM, Lincoln Baxter,
      III wrote:<br>
    </div>
    </div><div><div class="h5"><blockquote type="cite">
      <div dir="ltr">Hey James! I'll take a look when I'm back from this
        trip, but I'm sure it's great :)<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Apr 4, 2013 at 8:52 PM, James
          R. Perkins <span dir="ltr">&lt;<a href="mailto:jperkins@redhat.com" target="_blank">jperkins@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello All,<br>
              I've spent some time the past 2 weeks attempting to clean
              up the AS7 plugin. The goal was to clear up the confusing
              prompts and fix bugs with the initial approach.<br>
              <br>
              I also added a couple new commands:<br>
              - override: This command allows you to override the
              hostname and port for managing servers listening on
              different hostnames or ports.<br>
              - print-console: This option prints the console output
              captured if the server was started with the as7 start
              command.<br>
              <br>
              I will follow up with a PR documenting the plugin better.<br>
              <br>
              If anyone feels like reviewing and/or testing the plugin
              to make sure it makes sense I would greatly appreciate it.
              The PR is located here <a href="https://github.com/forge/plugin-jboss-as/pull/8" target="_blank">https://github.com/forge/plugin-jboss-as/pull/8</a>.<span><font color="#888888"><br>
                  <pre cols="72">-- 
James R. Perkins
JBoss by Red Hat</pre>
                </font></span></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>
          </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."
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
James R. Perkins
JBoss by Red Hat</pre>
  </div></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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span></div></blockquote></body></html>