[wildfly-dev] Module dependencies WF10

Jason T. Greene jason.greene at redhat.com
Wed Jun 17 11:14:51 EDT 2015



> On Jun 17, 2015, at 10:08 AM, Jaikiran Pai <jai.forums2013 at gmail.com> wrote:
> 
>> On Wednesday 17 June 2015 07:56 PM, John O'Hara wrote:
>> When I build WF10 in a build env. and move the built app server to a
>> different env. I am unable to start WF10.
> 
> Are you sure you aren't copying over the distribution from 
> WFLY_SRC_CHECKOUT_HOME/build/target/ folder? You should instead be using 
> the one from WFLY_SRC_CHECKOUT_HOME/dist/target/

Note that you have to build with -Drelease to get that, and also you probably will need to beef up the maven max mem settings as the zip plugin seems to consume massive memory:

MAVEN_OPTS=-Xmx2g mvn clean install -Drelease -DskipTests

I need to fix build.sh so that this is no longer necessary.

> 
> -Jaikiran
> 
>>  This is due to the modules
>> now resolving jars from the local maven repo. The build process
>> downloads and installs the required jars to local maven repo. that are
>> not available on the target environment.
>> 
>> Is there a way to either
>> a) build WF10 and package all the module jars into the build so that it
>> is portable,
>> or b) for the WF10 bootstrap process to download missing packages from a
>> remote maven repo on startup where any modules are missing in the local
>> repo?
>> 
>> Thanks
> 
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev



More information about the wildfly-dev mailing list