Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] Publishing Question Regarding POMs

Standard Maven Central rules for publishing are at ..

https://maven.apache.org/repository/guide-central-repository-upload.html
and https://central.sonatype.org/publish/requirements/

It is strongly encouraged that the pom contains sufficient metadata so as to not force users of your pom into manually dealing with missing dependencies.

In the past, (not sure if this is still the case) the release process from nexus to maven central used to verify that the dependencies you have in your pom exist on maven central too.
Since Eclipse runs their own nexus repository, perhaps we should enable this release/promote check on the Eclipse nexus repository (if it isn't already).

- Joakim

On Mon, Jan 31, 2022 at 8:45 AM Volodymyr Siedlecki <volosied@xxxxxxxxx> wrote:
Hello,

Can we publish an artifact if the included pom.xml relies on an internal (i.e. not published) dependency?  For instance, If someone tried to build this component from the source jar (by relying on the META-INF/maven.org.glassfish.web.jakarta.servlet.jsp.jstl/pom.xml), is it okay if a dependency fails to resolve?

For some context: our next JSTL release will be built using our local version TLDDoc  (the last published version, 1.3, is incompatible with the jakarta namespaces). As we update TLDoc in our jstl-api project, the question is whether we should also publish our version or not. TLDDoc is used solely for generating TLD documentation (hence the dependency).

The TLDDoc Code Port issue for reference: https://github.com/eclipse-ee4j/jstl-api/issues/195

Appreciate any help here.

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

Back to the top