Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] [External] : Re: Jakarta EE 10 API artifacts staged

On 4/27/22 12:13 PM, Piotr Żygieło wrote:
For current (Wed Apr 27 08:40:08 UTC 2022)
https://urldefense.com/v3/__https://jakarta.oss.sonatype.org/content/repositories/staging/jakarta/platform/jakarta.jakartaee-bom/10.0.0/jakarta.jakartaee-bom-10.0.0.pom__;!!ACWV5N9M2RV99hQ!P76zai-RVpOvDflq4HqnMC71nybU3tx7C9JO8d8gVlkGBb9qQBoU6hVmKpvPysamoKut0FI4-y_THyB1mTl9_Typhi8$

I'm getting
[ERROR] Failed to execute goal on project: Could not resolve
dependencies for project: Could not find artifact
com.sun.mail:jakarta.mail:jar:2.1.0 in sonatype-nexus-staging
(https://urldefense.com/v3/__https://jakarta.oss.sonatype.org/content/repositories/staging/__;!!ACWV5N9M2RV99hQ!P76zai-RVpOvDflq4HqnMC71nybU3tx7C9JO8d8gVlkGBb9qQBoU6hVmKpvPysamoKut0FI4-y_THyB1mTl9GZob_sM$ ) ->
[Help 1]

for
<dependency>
   <groupId>com.sun.mail</groupId>
   <artifactId>jakarta.mail</artifactId>
   <version>${jakarta.mail-api.version}</version>
</dependency>

with <jakarta.mail-api.version>2.1.0</jakarta.mail-api.version>

This of course is also missing from
https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/com/sun/mail/jakarta.mail/__;!!ACWV5N9M2RV99hQ!P76zai-RVpOvDflq4HqnMC71nybU3tx7C9JO8d8gVlkGBb9qQBoU6hVmKpvPysamoKut0FI4-y_THyB1mTl9r74TW0w$


API should not depend on the implementation. Correct artifact to use is jakarta.mail:jakarta.mail-api:2.1.0



Back to the top