[wildfly-dev] Module dependencies WF10
Jason T. Greene
jason.greene at redhat.com
Wed Jun 17 11:33:11 EDT 2015
Sent from my iPhone
> On Jun 17, 2015, at 10:18 AM, Jaikiran Pai <jai.forums2013 at gmail.com> wrote:
>
> Hi Jason,
>
>> On Wednesday 17 June 2015 08:44 PM, Jason T. Greene wrote:
>>
>>>> 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:
>
> I just do:
>
> mvn clean install -DskipTests=true
>
> (and sometimes without skipTests) and it generates the binary in the dist/target just fine. By fine, I mean, I have been able to use that binary as if I download it from the WildFly downloads.
Ah interesting. I didn't realize we were doing that by default now. I'll have to check if it's only building the full dist, which is fine if so.
>
> The one in the build/target folder though, I always run into the same issues as others have noted here, even when I have full access to the Maven repo (just like I did while building).
>
> -Jaikiran
>
>
>
>
>>
>> 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