Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] [jakartaee-tck-dev] Jakarta Authentication TCK



On Tue, Mar 29, 2022 at 11:28 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

On Tue, Mar 29, 2022 at 1:13 PM Olivier Lamy <olamy@xxxxxxxxxxx> wrote:

Will you provide *-test.jar for each module from https://github.com/jakartaee/authentication/tree/master/tck?

if yes it should be possible to have your own pom containing your arquillian provider and all those test jars then run those tests using surefire and <dependenciesToScan> with those jars.

I wonder how feasible that is. I used that technique to run the JWT TCK here: https://github.com/piranhacloud/piranha/blob/current/external/tck/jwt/pom.xml#L117

I've also looked at this for the Faces TCK; https://github.com/jakartaee/faces/tree/master/tck

One issue is that the Arquillian deployment there uses the output from the Maven build in the IT fase, which is likely not going to work when using *-test.jars. For Authentication it may be easier though, but we'll still have to adjust the archive creation there and be very careful with the packages.

not sure I understand you here? Is the problem with faces project?
 

Also, how would we most easily include the test jars? Just manually list them all under <dependenciesToScan>? and document the list in the Guide?
 
they only need to be dependencies of the project.
then dependenciesToScan support wildcard pattern so we can include everything for a groupId 
<dependencieToScan>groupId:*:*:*</dependencieToScan>
or even sub groupIds
<dependencieToScan>jakartaee.tck>*:*:*:*</dependencieToScan> 


Kind regards,
Arjan Tijms



 
_______________________________________________
jakartaee-platform-dev mailing list
jakartaee-platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev


--
Olivier

Back to the top