<div dir="ltr">mvn clean install -DskipTests -Pdistribution<div>kc-server -s</div><div><br></div><div>kc-server unzips it from ~/.m2/repository to a special location on my box. It also has other clever tricks like installing overlay on WF/EAP7, enabling debug, etc, etc..</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 April 2016 at 14:22, Stan Silvert <span dir="ltr">&lt;<a href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@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 text="#000000" bgcolor="#FFFFFF"><span class="">
    <div>On 4/25/2016 8:19 AM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Not you, I meant what Bill does ;)</div>
    </blockquote></span>
    lol.  For the record, you did reply to me.  :-)<br>
    <br>
    But now I&#39;m intrigued.  How are you building it, Stian?<div><div class="h5"><br>
    <br>
    <blockquote type="cite">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 25 April 2016 at 14:14, Stan Silvert
          <span dir="ltr">&lt;<a href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@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 text="#000000" bgcolor="#FFFFFF"><span>
                <div>On 4/25/2016 8:03 AM, Stian Thorgersen wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">I&#39;ve just tried a clean build from
                    1.9.x sources here and it works fine. What steps do
                    you use to build and run it?</div>
                </blockquote>
              </span> I go to &lt;keycloak-home&gt;/distribution and
              run:<br>
              mvn install -DskipTests<br>
              <br>
              Then if I want to run a development server from
              server-dist, I run a bat file with this:<br>
              cd c:\GitHub\keycloak\distribution\server-dist<br>
              call mvn clean<br>
              sed -i
              &#39;s/copy-module-artifacts=&quot;true&quot;/copy-module-artifacts=&quot;false&quot;/&#39;
/cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml<br>
              call mvn compile -DskipTests<br>
              sed -i
              &#39;s/copy-module-artifacts=&quot;false&quot;/copy-module-artifacts=&quot;true&quot;/&#39;
/cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml<br>
              <br>
              cd
c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\standalone\configuration<br>
              sed -i &#39;s,&quot;dir&quot;: &quot;${jboss.home.dir}/themes&quot;,&quot;dir&quot;:
              &quot;/GitHub/keycloak/themes/src/main/resources/theme&quot;,&#39;
              keycloak-server.json<br>
              <br>
              cd
              c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\modules<br>
              copy
              c:\GitHub\keycloak\distribution\server-dist\src\main\modules\layers.conf
              <br>
              <br>
              cd
              c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\bin<br>
              add-user -u admin -p admin
              <div>
                <div><br>
                  <br>
                  <blockquote type="cite">
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On 25 April 2016 at
                        13:47, Stan Silvert <span dir="ltr">&lt;<a href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@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"><span>On 4/24/2016
                            10:17 PM, Bill Burke wrote:<br>
                            &gt; I&#39;m losing my mind... The unzip has
                            it...<br>
                          </span>I felt the same way when I came across
                          that issue.  My personal build<br>
                          script copies it over so that I can still run
                          from server-dist/target.<br>
                          <div>
                            <div>&gt;<br>
                              &gt; On 4/24/2016 10:14 PM, Bill Burke
                              wrote:<br>
                              &gt;&gt; What download are you talking
                              about RH-SSO?<br>
                              &gt;&gt;<br>
                              &gt;&gt; On 4/24/2016 9:50 PM, Stan
                              Silvert wrote:<br>
                              &gt;&gt;&gt; On 4/24/2016 9:49 PM, Bill
                              Burke wrote:<br>
                              &gt;&gt;&gt;&gt; What final build?<br>
                              &gt;&gt;&gt; The one that actually makes
                              it to the download.  It&#39;s been like this
                              for<br>
                              &gt;&gt;&gt; a while so it must be
                              working.  I really don&#39;t know the details.<br>
                              &gt;&gt;&gt;&gt; On 4/24/2016 9:32 PM,
                              Stan Silvert wrote:<br>
                              &gt;&gt;&gt;&gt;&gt; On 4/24/2016 6:05 PM,
                              Bill Burke wrote:<br>
                              &gt;&gt;&gt;&gt;&gt;&gt; Doesn&#39;t boot
                              anymore on 1.9.x build (not sure about
                              master).  Built from<br>
                              &gt;&gt;&gt;&gt;&gt;&gt; clean clone of
                              keycloak repo.  I&#39;ll look at it tomorrow
                              (Monday) unless<br>
                              &gt;&gt;&gt;&gt;&gt;&gt; the Europeans can
                              do it.<br>
                              &gt;&gt;&gt;&gt;&gt; Are you running from
                              /server-dist/target?  You can&#39;t do that
                              any more<br>
                              &gt;&gt;&gt;&gt;&gt; because it doesn&#39;t
                              have a /modules/layers.conf file.<br>
                              &gt;&gt;&gt;&gt;&gt;<br>
                              &gt;&gt;&gt;&gt;&gt; I&#39;d be all for having
                              the server-dist include that file.  Not
                              sure why<br>
                              &gt;&gt;&gt;&gt;&gt; it is not in
                              server-dist, but it does get copied over
                              in the final build.<br>
                              &gt;&gt;&gt;&gt;&gt;&gt; Caused by:
                              org.jboss.modules.ModuleNotFoundException:<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;
                              org.keycloak.keycloak-server-subsystem:main<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;                at<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;
                              org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:223)<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;
                              [jboss-modules.jar:1.5.1.Final]<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;                at<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;
org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;
                              [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;               
                              ... 8 more<br>
                              &gt;&gt;&gt;&gt;&gt;&gt;<br>
                              &gt;&gt;&gt;&gt;&gt;
                              _______________________________________________<br>
                              &gt;&gt;&gt;&gt;&gt; keycloak-dev mailing
                              list<br>
                              &gt;&gt;&gt;&gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                              &gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                              &gt;&gt;&gt;
                              _______________________________________________<br>
                              &gt;&gt;&gt; keycloak-dev mailing list<br>
                              &gt;&gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                              &gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                              <br>
_______________________________________________<br>
                              keycloak-dev mailing list<br>
                              <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                              <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>