[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eclipselink-dev] Missing requirement: org.eclipse.persistence.corba
- From: William Dazey <dazeydev.3@xxxxxxxxx>
- Date: Thu, 4 Apr 2019 10:04:01 -0500
- Delivered-to: firstname.lastname@example.org
I see, so the artifact I had locally was not from mvn central and was instead from a staging repository? For the future, should artifact versions in staging be RC or SNAPSHOT? Since the staging artifact had a release version, any updates I would have assumed the version number would change (ie 4.2.1).
I am also glad it was figured out. Thank you for the help.
On 4/3/19 7:54 PM, William Dazey wrote:
> Hello Lukas,
>Â Â Âhmm, few more things to check:
>Â Â Âdoes it happen on jdk 8?
>Â Â Âdoes it happen also for 'build' or 'clean build' or just for 'clean'?
> It looks like it happens during 'clean-core'
>Â Â Âwhat exact version of jdk11 it is? Is it 11.0.2?
>Â ÂIt happens with java8 as well, so this feels unimportant
>Â Â Âwhat is the content of
>Â Â Â~/.m2/repository/org/glassfish/corba/glassfish-corba-omgapi/4.2.0/glassfish-corba-omgapi-4.2.0.jar!/META-INF/MANIFEST.MF?
>Â Â Âdoes it contain javax.rmi package in export-package section?
> Interestingly, no. It does not export javax.rmi.
aaah, now I know...
this in particular was I bug I faced when trying out 4.2.0 on jdk11 at
the time it was in staging repo, so I provided PR for this and 4.2.0 was
rebuilt, retested and sent to mvn central. Sometime in between you got
the bad artifact from the staging repo. Since maven treats releases as
final, it does not try to update them nor check for changes, so even
though the artifact in mvn central is different from the one you
received from staging repo, nobody warns you about this difference.
I'm glad this problem is solved,
> Also, I have
> but this MANIFEST.MF doesn't contain the javax.rmi export either. I
> bring up this bundle, because if I remove ";version=1" from
> ~/foundation/org.eclipse.persistence.corba/META-INF/MANIFEST.MF, then
> "clean" completes successfully, but "build" fails with:
> [java] [ERROR] Access restriction: The type 'PortableRemoteObject' is
> not API (restriction on classpath entry '
>Â ÂÂÂÂ [java] [ERROR]
>Â ÂÂÂÂ [java] [ERROR]ÂÂÂÂ super();
>Â ÂÂÂÂ [java] [ERROR]ÂÂÂÂ ^^^^^^^^
>Â ÂÂÂÂ [java] [ERROR] Access restriction: The constructor
> 'PortableRemoteObject()' is not API (restriction on classpath entry '
>Â Â Âdoes it happen with empty local maven repo? (mv $HOME/.m2/repository
>Â Â Â$HOME/.m2/repository-bkp)
> Interesting, this seems to have fixed the problem. So the old 4.2.0
> version lacked a javax.rmi export, but the new 4.2.0 version does have
> the javax.rmi version, yet they have the same version number...
> Thanks Lukas,
> Will Dazey
> eclipselink-dev mailing list
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
eclipselink-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit