Hi folks,<div><br></div><div>I just fetched the latest version of forge. I launched maven build and it failed while building the forge shell project. One of the tests (ForgePluginTest::testFindPlugin) failed with the following exception:</div>
<div><br></div><div><div>java.lang.RuntimeException: no default repository set: (to set, type: set DEFAULT_PLUGIN_REPO &lt;repository&gt;)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.util.PluginUtil.getDefaultRepo(PluginUtil.java:62)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.util.PluginUtil.findPlugin(PluginUtil.java:73)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.plugins.builtin.ForgePlugin.find(ForgePlugin.java:158)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.reflect.Method.invoke(Method.java:597)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.command.Execution.perform(Execution.java:147)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:716)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.execute(ShellImpl$Proxy$_$$_WeldClientProxy.java)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.forge.shell.test.plugins.builtin.ForgePluginTest.testFindPlugin(ForgePluginTest.java:41)</div>
</div><div><br></div><div>I did a quick debug (the test failed in the IDE as well) and found that the ForgePlugin class under test is initialized with an Environment object that has an empty properties map. I tried to find out how the plugin gets initialized, but I got lost somewhere in the calls of the Weld library:</div>
<div><br></div><div>from Execution::perform:90</div><div><br></div><div><div>         Class&lt;? extends Plugin&gt; pluginType = command.getParent().getType();</div><div><br></div><div>         Set&lt;Bean&lt;?&gt;&gt; beans = manager.getBeans(pluginType);</div>
<div>         Bean&lt;?&gt; bean = manager.resolve(beans);</div></div><div><br></div><div>However, I checked the CI server logs from today (<a href="http://ci.jboss.org/jenkins/view/Forge/job/Forge-CI/366/console">http://ci.jboss.org/jenkins/view/Forge/job/Forge-CI/366/console</a>). The build is broken, but the Forge shell project is built successfully. </div>
<div><br></div><div>Is there anything wrong with my setup? Just for your information, I&#39;m using Windows.</div><div><br></div><div>Thanks and regards,</div><div>Ivan</div><div><br></div><div>P.S. BTW I get the same compilation error as Jenkins when I run the build with -DskipTests:</div>
<div><br></div><div><pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; background-color: rgb(255, 255, 255); "><span class="error-inline" style="color: rgb(204, 0, 0); font-weight: bold; ">[ERROR] COMPILATION ERROR : 
</span>[INFO] -------------------------------------------------------------
<span class="error-inline" style="color: rgb(204, 0, 0); font-weight: bold; ">[ERROR] /mnt/hudson_workspace/workspace/Forge-CI/scaffold-faces/src/main/java/org/jboss/forge/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyle.java:[529,59] type parameters of &lt;T&gt;T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.annotation.Annotation
</span></pre></div><div><span class="error-inline" style="color: rgb(204, 0, 0); font-weight: bold; "><br></span></div>