Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] Preparing to hack with ReWrite...

While keep working on this branch I wanted to integrate some modules in a complete build.
I discovered some usage of maven in master which looks wrong to me,
the poms are not using a -SNAPSHOT version which can be a potential problem when real release will happen.

I cannot this artifact
So i have this error:
Error:  Failed to execute goal on project glassfish-rest-tck: Could not resolve dependencies for project jakarta:glassfish-rest-tck:jar:3.1.1: Could not find artifact in jakarta-snapshots ( -
Does someone know in which repository is it available?

Is this a repository for snapshots or not?


Is it the goal to build everything all together? 
I would say yes :) but asking for confirmation.

On Sat, Dec 3, 2022 at 12:55 AM Scott Marlow <smarlow@xxxxxxxxxx> wrote:

On 12/1/22 2:59 AM, Olivier Lamy wrote:

On Thu, Dec 1, 2022 at 1:49 AM Scott Marlow <smarlow@xxxxxxxxxx> wrote:
Sorry for the delay in responding.  

No worries.
Thanks, will look soon (tried on github but its too large of course :-) which is typical for Platform TCK changes) .

I have a lot of modules now compiling (some content has been moved to a glassfishtck module for future removal)
Yay!!! Thanks Oliver!!!

yup it's an interface extending a class!
I don't even understand why this doesn't fail building master branch?

What should I do with such class?

It looks like Simple2HttpSvc is extending the API in an application specific way.

are the modules webservices12 and webservices12 still used?

They are optional and still valid for EE 10 but not sure yet of what will be removed from EE 11.

Consider removing the webservice12 + webservices13 sub-module from the root pom (perhaps comment it out and have the comment indicate "TODO: implement or remove optional webservices12/webservices13 tests" or something like that). 


On Tue, Nov 22, 2022 at 4:03 AM Olivier Lamy <olamy@xxxxxxxxxxx> wrote:

On Tue, Nov 22, 2022 at 3:21 AM Scott Marlow <smarlow@xxxxxxxxxx> wrote:

On 11/20/22 8:31 PM, Olivier Lamy wrote:
I have started some work. 
But is there any reason to split runtime and glassfishtck?

On a case by case basis, IMO we should move sources that we don't think are going to be needed by the actual refactored TCK tests, into a `to_be_deleted_later` folder.

It would also be good to isolate the GlassFish TCK into a separate folder that other test sources do not reference. 

Trying to have a clean (e.g at least compiling) I have to re enable those modules.
And there are some circular dependencies between both.
At the end of the day, those modules will be removed?

I think the test harness and other runtime sources will be removed as they serve no purpose. 

I'm not sure about the GlassFish TCK porting kit.  David, Guru, Alwin do you have a preference for where the GlassFish TCK porting kit should live? 

Can I assume to replace throws Fault by throws Exception (e,g replace all usage of Fault by Exception)?

That sounds like a reasonable change to me.
I did that in servlet refactoring.

Is everything from the runtime module supposed to go?

Yes, I think so. 

I think that some of the common module contents should also go except for parts needed for tests. 
There are a lot of circular dependencies currently.

Yes there are.  :)
Those packages from runtime com.sun.ts.lib.deliverable.* causes some issues.
Can I simply remove them?

Yes, I think that makes sense. 




On Sun, Nov 20, 2022 at 4:53 PM Olivier Lamy <olamy@xxxxxxxxxxx> wrote:
I'm not sure adding more tooling will fix anything (except making it more complicated by adding more tooling :)).
I have some issues on how the current tckrefactor build structure (e.g pom content), I have some changes in my branch with the servlet tck using arquilian. [1]
But I didn't to fix too many things in this branch as the merge/rebase will be an even worst nightmare for me :) 
Some content I have in mind which looks wrong (or I don't understand the reason) to my (long) Maven experience.
Why having everything in <dependencies> [2] in parent pom, this mean by example servlet or jsp will have batch or jms as dependency?
Why having this section with m-enforcer-p [3] is every poms?
I don't understand the need of using of build-helper-m-p [4] in every poms? we probably only need to have the sources in the standard Maven location.

If your concern is about having a clean build (e.g no compile issue) in the tckrefactor branch if you need a volunteer I can have a try for the next few days.


On Sat, Nov 19, 2022 at 12:54 AM Scott Marlow <smarlow@xxxxxxxxxx> wrote:


I am finding that in order to use ReWrite [1] to make source changes in our `tckrefactor` branch, we need to first get to zero build failures.  My `rewrite` topic branch [2] has some changes but more changes are needed to resolve build failures such as [3].  My question for all of you is how can we best get the `tckrefactor` branch building cleanly? 

Is there anything that I can do to help others to participate in the clean up? 



jakartaee-tck-dev mailing list
To unsubscribe from this list, visit



jakartaee-tck-dev mailing list
To unsubscribe from this list, visit




Back to the top