Hi Jon and Jean-Louis, With the latest changes of Jon, the issues are solved. There are only 1 javamail and 1 javamail-spec jar.
Thanks a lot for your help! With kind regards, Cees ________________________________ From: Cees Bos <c...@opentext.com> Sent: Monday, August 5, 2019 15:41 To: dev@tomee.apache.org <dev@tomee.apache.org> Subject: Re: [EXTERNAL] - TomEE 8 / Jakarta EE 8 / JavaMail 1.5 Hi Jon, Thanks for push. Locally I am not able to reproduce the issue we saw earlier. I tried a local build with the latest changes, that looks good (but as said I was not able to produce the issue). I found these 2 items while look similar: https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_10525231_maven-2Dsnapshot-2Djar-2Dfile-2Dnames-2Dnot-2Dconsistent-2Dusing-2Dmaven-2Dassembly-2Din-2Dmanifest-2Dfi-3Fnoredirect-3D1-26lq-3D1&d=DwIFAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=OPRlYEBCplk0Cp402NTcCiIkuK-khfgcDBf1LH_ONIc&s=A-hTVQK1e812frWljBwRcDXYNNZX8wD2hH4H46_OygQ&e= https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_2516860_maven-2Dhow-2Dto-2Dcreate-2Dassembly-2Dwith-2Dsnapshot-2Dartifacts-2Dwithout-2Dtimestamps-2Dfile-2Dna&d=DwIFAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=OPRlYEBCplk0Cp402NTcCiIkuK-khfgcDBf1LH_ONIc&s=do9GK7VxSZ-UUfm0naVbtxZdbmyxK7jqBUQvUsDptn4&e= Once a new SNAPSHOT build is available I will validate that. Otherwise we might have to look at the option mentioned in the stackoverflow links, that provides a possible solution for all situations, not only javamail as implemented now. With regards, Cees ________________________________ From: Jonathan Gallimore <jonathan.gallim...@gmail.com> Sent: Monday, August 5, 2019 15:30 To: dev@tomee.apache.org <dev@tomee.apache.org> Subject: Re: [EXTERNAL] - TomEE 8 / Jakarta EE 8 / JavaMail 1.5 Just tried pushing a patch, which *seemed* to work ok here. Can you give it a try? Cheers Jon On Mon, Aug 5, 2019 at 10:07 AM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Grrr > > No idea what Maven is doing. > Thanks for having a look again. I tried locally and it was working fine. > > -- > Jean-Louis Monteiro > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=f3sSyQCfYgt1CafvKOqZkr5GsmU6XOv72kzxVO3quHI&e= > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=kA7mES8ADNCmmKWK_wCghVYW_ghgNxolPmoQBjZ9U2A&e= > > > On Mon, Aug 5, 2019 at 10:51 AM Cees Bos <c...@opentext.com> wrote: > > > Hi Jean-Louis, > > > > > > > > I downloaded > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__repository.apache.org_content_repositories_snapshots_org_apache_tomee_apache-2Dtomee_8.0.0-2DSNAPSHOT_apache-2Dtomee-2D8.0.0-2D20190805.041822-2D288-2Dplus.tar.gz&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=uCSk0KoLald4ESV2rHpstS1D9gOdmx3x25FJomyXU7Q&e= > > (build on August 5th). > > > > That is still having duplicate jars for mail: > > > > > > > > - geronimo-javamail_1.5_mail-1.0.0-20190802.101725-2.jar > > - geronimo-javamail_1.5_mail-1.0.0-SNAPSHOT.jar > > > > > > > > Same issue is also there for the spec jar: > > > > - geronimo-javamail_1.5_spec-1.0.0-20190802.101602-6.jar > > - geronimo-javamail_1.5_spec-1.0.0-SNAPSHOT.jar > > > > > > I loaded the TomEE project in IntelliJ. IntelliJ transforms SNAPSHOT in > to > > a version jar as well. (see screenshot attached) > > I don't know all details of Maven and the just plugins, but it looks like > > it uses a version jar at the moment it resolves SNAPSHOT. > > During the creation of deliverable one of the 2 jars has to be skipped, > to > > ship only 1 jar, I think. > > > > > > > > With kind regards, > > Cees > > > > > > > > *From:* Jean-Louis Monteiro <jlmonte...@tomitribe.com> > > *Sent:* vrijdag 2 augustus 2019 15:59 > > *To:* Cees Bos <c...@opentext.com> > > *Cc:* dev@tomee.apache.org; d...@geronimo.apache.org > > *Subject:* Re: [EXTERNAL] - TomEE 8 / Jakarta EE 8 / JavaMail 1.5 > > > > > > > > Hi Cees, > > > > > > > > I just pushed some changes to fix this issue and also did a deploy of a > > new set of snapshots. > > > > I just ran a new build with a deploy at the end and I'll check whenever > > it's done. > > > > > > > > I would appreciate if you can have a look at the drop and give it a try > if > > you can. > > > > I'll be running some TCK later tonight and try to follow up over here. > > > > > > > > > > -- > > > > Jean-Louis Monteiro > > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=f3sSyQCfYgt1CafvKOqZkr5GsmU6XOv72kzxVO3quHI&e= > > < > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JywqLxwqoQuFD0gDhriOxWv6idVb46D_N1lgi3bcaBQ&s=UORE2qtZmk8xhW8CIkH_9mnz5QCpkCDP8MmYBshpR4Q&e= > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=kA7mES8ADNCmmKWK_wCghVYW_ghgNxolPmoQBjZ9U2A&e= > > < > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com_&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JywqLxwqoQuFD0gDhriOxWv6idVb46D_N1lgi3bcaBQ&s=pLS-SKz5xFpARR9wdELuhf8Bbv7_D-4kZVHhdMOQ4NI&e= > > > > > > > > > > > > > > On Fri, Aug 2, 2019 at 12:13 PM Jean-Louis Monteiro < > > jlmonte...@tomitribe.com> wrote: > > > > Hi, > > > > > > > > First of, thanks for the feedback and trying it. > > > > I ran a build and deploy this morning, but did not get a chance to check > > it. > > > > > > > > I'll investigate and see why Maven is pulling the timestamp version + the > > SNAPSHOT version. > > > > > > > > JLouis > > > > > > -- > > > > Jean-Louis Monteiro > > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=f3sSyQCfYgt1CafvKOqZkr5GsmU6XOv72kzxVO3quHI&e= > > < > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JywqLxwqoQuFD0gDhriOxWv6idVb46D_N1lgi3bcaBQ&s=UORE2qtZmk8xhW8CIkH_9mnz5QCpkCDP8MmYBshpR4Q&e= > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=kA7mES8ADNCmmKWK_wCghVYW_ghgNxolPmoQBjZ9U2A&e= > > < > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com_&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JywqLxwqoQuFD0gDhriOxWv6idVb46D_N1lgi3bcaBQ&s=pLS-SKz5xFpARR9wdELuhf8Bbv7_D-4kZVHhdMOQ4NI&e= > > > > > > > > > > > > > > On Fri, Aug 2, 2019 at 12:06 PM Cees Bos <c...@opentext.com> wrote: > > > > Hi Jean-Louis, > > > > In the latest TomEE 8 SNAPSHOT there are 2 jars in the zip: > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__repository.apache.org_content_repositories_snapshots_org_apache_tomee_apache-2Dtomee_8.0.0-2DSNAPSHOT_apache-2Dtomee-2D8.0.0-2D20190802.094733-2D284-2Dplus.tar.gz&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=bMuYy3fZLQOHBDPs3K_IOSL_maTcwANPuDjTLdZllQQ&s=OWzyaPDiCvf0JEf_3KWSFzwHRW10-xUksupZhcGToL0&e= > > < > https://urldefense.proofpoint.com/v2/url?u=https-3A__repository.apache.org_content_repositories_snapshots_org_apache_tomee_apache-2Dtomee_8.0.0-2DSNAPSHOT_apache-2Dtomee-2D8.0.0-2D20190802.094733-2D284-2Dplus.tar.gz&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JywqLxwqoQuFD0gDhriOxWv6idVb46D_N1lgi3bcaBQ&s=JBz9KFiZlrplq1Kr7IVZnajWx9VkxSTsR91_f8gWMzA&e= > > > > > > lib/geronimo-javamail_1.5_mail-1.0.0-201908.12351.jar > > lib/geronimo-javamail_1.5_mail-1.0.0-SNAPSHOT.jar > > > > Due to that our custom code fails, as it expects only 1 jar to see if we > > do a search on ' geronimo-javamail_1.5_mail*'. > > > > Is it intended that we have 2 same jars in the TomEE zip now (see > > attachment/screenshot)? > > > > With kind regards, > > Cees > > > > -----Original Message----- > > From: Jean-Louis Monteiro <jlmonte...@tomitribe.com> > > Sent: donderdag 1 augustus 2019 14:42 > > To: dev@tomee.apache.org; d...@geronimo.apache.org > > Subject: [EXTERNAL] - TomEE 8 / Jakarta EE 8 / JavaMail 1.5 > > > > Hey TomEE and Geronimo folks, > > > > I built and deployed 1.5 SNAPSHOT of JavaMail API and provider. > > I also did the integration in TomEE with the snapshots. > > > > I am currently running Jakarta EE TCK to see where we are at. > > I'll be pushing setup changes shortly. > > > > This is related to > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_TOMEE-2D2606&d=DwIBaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JfY1XGOMYbbqdAL-4njzykYMfGKHf7PL5CP6oVljRKo&s=qFbGTsyNi09mx2cf2XhB-g27ZWKs_ryQXB2ui0pjFLk&e= > > > > If that looks quite well, I will do a release of both this week if > possible > > -- > > Jean-Louis Monteiro > > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_jlouismonteiro&d=DwIBaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JfY1XGOMYbbqdAL-4njzykYMfGKHf7PL5CP6oVljRKo&s=zRtpx6iIFoL6yxB1rBphe3uEyYT_-u8ZVDFeK047oU8&e= > > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tomitribe.com&d=DwIBaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=B2emKdiFYccjWBoInpxt6-t02i8YM3yYUrogo-heqv4&m=JfY1XGOMYbbqdAL-4njzykYMfGKHf7PL5CP6oVljRKo&s=_sH-72UFvt9-dkQddq49CyzE_iqARujt6Xmyiu4WD_s&e= > > > > >