Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mojarra-dev] Problems Building the 2.3 Branch

Hi,

There's unfortunately no maven profile. We wish there was, based on plain Arquillian, but unfortunately it's now a bit of a mixed script/maven/cargo affair. 

Test are run from the test folder:

cd test
./run-tests.sh

You need to configure a GlassFish server that is used as the vehicle for running the tests. GlassFish 5.1 should suffice. Then configure it in a ~/m2/settings.xml as follows:

 Configure settings.xml
 ----------------------

  Make sure you have a glassfish.patch.home and glassfish.cargo.home defined
  in your settings.xml

    <properties>
        <glassfish.cargo.home>C:/Glassfish4.0</glassfish.cargo.home>
        <glassfish.patch.home>C:/Glassfish4.0</glassfish.patch.home>
    </properties>

Hope this helps.

Kind regards,
Arjan



On Thu, Jun 11, 2020 at 7:37 PM Cody Lerum <cody.lerum@xxxxxxxxx> wrote:
Thanks Arjan that got me to a clean build.

Is there a recommended maven profile for the default test suite? The
readme doesn't go into testing but most tests seem to not run and log

Jun 11, 2020 11:31:26 AM javax.faces.FactoryFinderInstance injectImplementation
SCHWERWIEGEND: Unable to inject
com.sun.faces.mock.MockFacesContextFactory@5b64c4b7 because no
InjectionProvider can be found. Does this container implement the
Mojarra Injection SPI?

On Thu, Jun 11, 2020 at 11:27 AM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
>
> Hi,
>
> On Thu, Jun 11, 2020 at 7:15 PM Cody Lerum <cody.lerum@xxxxxxxxx> wrote:
>>
>> Non-resolvable parent POM for
>> com.sun.faces.test.javaee6:viewParamNullValueAjax:3.0.0-m01-SNAPSHOT
>
>
> That's an error in the source. For the 2.3 branch it should be 2.3.15-SNAPSHOT.  I remember we fixed this a couple of times before, but unfortunately it keeps coming back :(
>
> You can just manually update it, and then the build should succeed.
>
> Kind regards,
> Arjan
>
>
>
>
> _______________________________________________
> mojarra-dev mailing list
> mojarra-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mojarra-dev
_______________________________________________
mojarra-dev mailing list
mojarra-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mojarra-dev

Back to the top