Mike Hearn [ARCHIVE] on Nostr: 📅 Original date posted:2014-08-05 📝 Original message:Oh, I forgot to mention ...
📅 Original date posted:2014-08-05
📝 Original message:Oh, I forgot to mention something important. Ridiculously, the default
package repository Maven uses was not protected by SSL up until a few days
ago. They made it available via SSL now, but you have to tell Maven about
the new URL. I guess they'll do a new release where SSL is the default
soon. But for now before you run mvn save the following magic incantation
to the path ~/.m2/settings.xml:
(side note: yes maven's love of XML is widely ridiculed and more modern
build tools have much better config languages, but we didn't upgrade yet)
<settings>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>securecentral</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>securecentral</id>
<!--Override the repository (and pluginRepository) "central" from the
Maven Super POM -->
<repositories>
<repository>
<id>central</id>
<url>
https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>
https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</settings>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140805/a6caf6d5/attachment.html>
Published at
2023-06-07 15:24:50Event JSON
{
"id": "62b0f2017bfd76590ddc29f9bc98b61568f541fcf240731dbdafb10304abbeb8",
"pubkey": "f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2",
"created_at": 1686151490,
"kind": 1,
"tags": [
[
"e",
"9a652d2081466e3291d37c78311b26d62c399e2ddc385add6f5be2ddb8265e1b",
"",
"root"
],
[
"e",
"c7557c19e48a21492aff6d42f1534e0d30e6e0749f1fc1fef5eef1293b26e8f0",
"",
"reply"
],
[
"p",
"f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2"
]
],
"content": "📅 Original date posted:2014-08-05\n📝 Original message:Oh, I forgot to mention something important. Ridiculously, the default\npackage repository Maven uses was not protected by SSL up until a few days\nago. They made it available via SSL now, but you have to tell Maven about\nthe new URL. I guess they'll do a new release where SSL is the default\nsoon. But for now before you run mvn save the following magic incantation\nto the path ~/.m2/settings.xml:\n\n(side note: yes maven's love of XML is widely ridiculed and more modern\nbuild tools have much better config languages, but we didn't upgrade yet)\n\n\u003csettings\u003e\n \u003cactiveProfiles\u003e\n \u003c!--make the profile active all the time --\u003e\n \u003cactiveProfile\u003esecurecentral\u003c/activeProfile\u003e\n \u003c/activeProfiles\u003e\n \u003cprofiles\u003e\n \u003cprofile\u003e\n \u003cid\u003esecurecentral\u003c/id\u003e\n \u003c!--Override the repository (and pluginRepository) \"central\" from the\n Maven Super POM --\u003e\n \u003crepositories\u003e\n \u003crepository\u003e\n \u003cid\u003ecentral\u003c/id\u003e\n \u003curl\u003ehttps://repo1.maven.org/maven2\u003c/url\u003e\n \u003creleases\u003e\n \u003cenabled\u003etrue\u003c/enabled\u003e\n \u003c/releases\u003e\n \u003c/repository\u003e\n \u003c/repositories\u003e\n \u003cpluginRepositories\u003e\n \u003cpluginRepository\u003e\n \u003cid\u003ecentral\u003c/id\u003e\n \u003curl\u003ehttps://repo1.maven.org/maven2\u003c/url\u003e\n \u003creleases\u003e\n \u003cenabled\u003etrue\u003c/enabled\u003e\n \u003c/releases\u003e\n \u003c/pluginRepository\u003e\n \u003c/pluginRepositories\u003e\n \u003c/profile\u003e\n \u003c/profiles\u003e\n\u003c/settings\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140805/a6caf6d5/attachment.html\u003e",
"sig": "a459298a58f329ea86fcf5db37e0b6001ae7559df3f841f8562c2037df19940da15413930b2787543e6fab2c7d0f1c8a441c6a2173f1c3a15606f26a7dccd054"
}