I haven’t figured out all my ant -> maven conversion issues but wanted to summarize one finding.
Newer maven installations require HTTPS (with an “S” for “secure”) for your connections to things such as the wocommunity repos. It wasn’t always this way and following community tutorials you might cut and paste and not realize the difference between http: and https: You might see lines like this when working with maven: Using mirror maven-default-http-blocker (http://0.0.0.0/) for wocommunity.releases (http://maven.wocommunity.org/content/groups/public). That’s because there is a default settings file in a location like this one if you are using home-brew: /usr/local/Cellar/maven/3.9.5/libexec/conf/settings.xml And the following definition there ruins your day: <mirror> <id>maven-default-http-blocker</id> <mirrorOf>external:http:*</mirrorOf> <name>Pseudo repository to mirror external repositories initially using HTTP.</name> <url>http://0.0.0.0/</url> <blocked>true</blocked> </mirror> The good news is the fix is simple, be sure you always use “https:” (with the “s” on the end) whenever you need a resource. Inside your local ~/.m2/settings.xml you probably need something like this: <settings xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <pluginGroups> <pluginGroup>org.objectstyle.woproject.maven2</pluginGroup> </pluginGroups> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>wocommunity.releases</id> <name>WOCommunity Releases Repository</name> <url> https://maven.wocommunity.org/content/groups/public </url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>wocommunity.snapshots</id> <name>WOCommunity Snapshots Repository</name> <url> https://maven.wocommunity.org/content/groups/public-snapshots </url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>wocommunity.releases</id> <name>WOCommunity Releases Repository</name> <url> https://maven.wocommunity.org/content/groups/public </url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>wocommunity.snapshots</id> <name>WOCommunity Snapshots Repository</name> <url> https://maven.wocommunity.org/content/groups/public-snapshots </url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings> _______________________________________________ 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