Hi, building from a development branch (i.e. main), which depends on SNAPSHOTS is expected to fail, if the related maven repositories (apache snapshots) are not configure locally.
The examples itself (and their tests, if they exist) are build and run by CI on a daily basis. Of course this doesn't guarantee, that a given example can be executed in a standalone container ;-) (better to use a released tag though, as there are no SNAPSHOT dependencies) Feel free to provide a PR to update the war plugin versions across all examples (but we should not inherit from the project's root pom or an example module pom as the overall strategy was, that these examples should be runnable as standalone projects). There were also some open JIRA's to replace manually declared dependencies with the latest BOM files to avoid update pain. Gruß Richard Am Dienstag, dem 02.04.2024 um 10:31 +0200 schrieb Thomas Frühbeck: > to be clear about the problem I faced: > - according the docs the recommended default build includes the > examples > - I am practically sure that noone is able to build examples in the > current > state! > > Why: > - openejb SNAPSHOT not public avail: > +++ b/examples/alternate-descriptors/pom.xml > +++ b/examples/multi-jpa-provider-testing/pom.xml > +++ examples/polling-parent/polling-domain/pom.xml > +++ b/examples/polling-parent/polling-client/pom.xml > <version>4.0.0-SNAPSHOT</version> > > - maven-war-plugin versions massive outdated (2.4: API change) > +++ examples/mp-metrics-gauge/pom.xml > +++ examples/simple-jms-context/pom.xml > +++ examples/simple-jms/pom.xml > +++ examples/websocket-jms/pom.xml > <artifactId>maven-war-plugin</artifactId> > <version>2.4</version> > > Variants of maven-war-plugin versions: > 4 <version>${maven-war-plugin.version}</version> > 28 <version>3.1.0</version> > 2 <version>3.3.2</version> > 4 <version>2.4</version> > > I do not want to rant! > Local dependecy management in so many modules is for sure not easy. > > m2c: it simply looks messy w/o obvious reason. > Regards, > Thomas > > Am Mo., 1. Apr. 2024 um 20:10 Uhr schrieb Thomas Frühbeck < > t.fruehb...@gmail.com>: > > > Hi, > > I wanted to compare MyFaces/TomEE vs Mojarra/Wildfly and so tried > > to build > > TomEE-SNAPSHOT. > > To my utter astonishment the examples are not related to parent. > > So dependencyMangement is not working and every dependency/plugin > > has to > > be defined locally? > > > > This is not by accident, I'm sure, but is it planned to keep it > > that way? > > > > Regards, > > Thomas > >