Hi Ramsey, On 4 Jan 2025, at 8:32 pm, Ramsey Gurley via Webobjects-dev <webobjects-dev@lists.apple.com> wrote:
> It is now possible to build a simple woapp without fiddling with maven > settings at all. I'm happy to announce that wolifecycle-maven-plugin is now > on maven central and you can build and run a basic WebObjects application > without fiddling with any maven settings at all. As a demonstration, I have > created the following project so you can see it working for yourself. > > https://github.com/nullterminated/SimpleWOApp > > Give the new wolifecycle-maven-plugin a try and if you find any issues, > please let me know. Very cool initiative! I just fired up an Amazon Linux 2023 instance (to be sure that none of my local setup on macOS was interfering): $ java --version openjdk 21.0.5 2024-10-15 LTS OpenJDK Runtime Environment Corretto-21.0.5.11.1 (build 21.0.5+11-LTS) OpenJDK 64-Bit Server VM Corretto-21.0.5.11.1 (build 21.0.5+11-LTS, mixed mode, sharing) $ mvn --version Apache Maven 3.8.4 (Red Hat 3.8.4-3.amzn2023.0.5) Maven home: /usr/share/maven Java version: 17.0.13, vendor: Amazon.com Inc., runtime: /usr/lib/jvm/java-17-amazon-corretto.x86_64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "6.1.119-129.201.amzn2023.x86_64", arch: "amd64", family: "unix" "mvn clean package" does a bunch of downloading, and then bombs here: [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not find artifact com.webobjects:webobjects-bom:pom:5.4.3 in central (https://repo.maven.apache.org/maven2) @ line 13, column 16 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaEOAccess:jar is missing. @ line 23, column 15 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaEOControl:jar is missing. @ line 27, column 15 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaFoundation:jar is missing. @ line 31, column 15 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaJDBCAdaptor:jar is missing. @ line 35, column 15 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaWebObjects:jar is missing. @ line 39, column 15 [ERROR] 'dependencies.dependency.version' for com.webobjects:JavaXML:jar is missing. @ line 43, column 15 Adding: <properties> <webobjects.version>5.4.3</webobjects.version> </properties> and then: <version>${webobjects.version}</version> to each of the framework JARs clears up all the errors except: [ERROR] Non-resolvable import POM: Could not find artifact com.webobjects:webobjects-bom:pom:5.4.3 in central (https://repo.maven.apache.org/maven2) @ line 14, column 16 Presumably that's the root issue: if it could find webobjects-bom, it probably doesn't need the explicit versions for the framework JARs. Why can't I find webobjects-bom? -- Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com