Fwd: Okapi 1.48.0-SNASPHOTS

2 views
Skip to first unread message

Jim Hargrave

unread,
Jul 28, 2025, 2:18:05 PMJul 28
to Group: okapi-devel

I merged the Denis' and Mihai's last attempt to fix the deployment issues to sonatype but still not seeing updated artifacts. 

https://oss.sonatype.org/content/repositories/snapshots/net/sf/okapi/filters/okapi-filter-openxml/1.48.0-SNAPSHOT/


Denis A. Konovalyenko

unread,
Jul 28, 2025, 2:19:06 PMJul 28
to Jim Hargrave, Group: okapi-devel, Mihai Nita, Denis A. Konovalyenko

Jim,

As as I get it, the snapshots should have been here (the URL was changed at revision 39ff18b45fd3abe88857b7d51e93e679a091d63e)...

On 28/07/2025 19:13, Jim Hargrave wrote:

I merged the Denis' and Mihai's last attempt to fix the deployment issues to sonatype but still not seeing updated artifacts. 

https://oss.sonatype.org/content/repositories/snapshots/net/sf/okapi/filters/okapi-filter-openxml/1.48.0-SNAPSHOT/



This e-mail and any attachments are confidential and intended solely for the intended addressee. If you are not the intended addressee or have received this e-mail in error, please notify Straker immediately, delete it from your system and do not copy, disclose, distribute or otherwise act in reliance upon any part of this e-mail or its attachments. Straker will not be held liable for any damage caused by the message.
Is it necessary to print this email? If you care about the environment like we do, please refrain from printing emails. It helps to keep the environment forested and litter-free.

Jim Hargrave

unread,
Jul 28, 2025, 2:28:13 PMJul 28
to denis.kon...@gmail.com, Group: okapi-devel, Mihai Nita, Denis A. Konovalyenko

I'm not able to find the snapshots through that link. Tried to login but then got a message that my account had been blocked - too many login attempts.

Is there not a direct link to the SNAPSHOTS?

Mihai Nita

unread,
Jul 28, 2025, 5:31:48 PMJul 28
to Jim Hargrave, denis.kon...@gmail.com, Group: okapi-devel, Denis A. Konovalyenko
The URL to browse the snapshots is broken (by Sonatype)

See my comment in PR:

The only way to see the snapshots after the 0.7.0 release was by navigating with the browser to a URL, "raw folder navigation".
But that stopped working completely, showing a 404 page now.

In general I think that this migration could have been handled better by Sonatype.

But the snapshot is there, published.
You can test that by doing this:

# Make a clean maven project
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.5 -DinteractiveMode=false

cd my-app

# Edit the pom.xml and add the Central Portal Snapshots repo
<repositories>
  <repository>
    <name>Central Portal Snapshots</name>
    <id>central-portal-snapshots</id>
    <url>https://central.sonatype.com/repository/maven-snapshots/</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

# Add okapi-filter-openxml to <dependencies>
# WARNING: should be in project/dependencies, not in project/dependencyManagement/dependencies
    <dependency>
      <groupId>net.sf.okapi.filters</groupId>
      <artifactId>okapi-filter-openxml</artifactId>
      <version>1.48.0-SNAPSHOT</version>
    </dependency>

mvn package
# No error, and you should be able to see the files in ~\.m2\repository\net\sf\okapi\filters\okapi-filter-openxml\1.48.0-SNAPSHOT
# The current shapshot is 1.48.0-20250728.024652-15, so it was published today, July 28

===

Can also access it with the browser, one artifact at the time:

Mihai

Mihai Nita

unread,
Jul 28, 2025, 5:43:22 PMJul 28
to Jim Hargrave, denis.kon...@gmail.com, Group: okapi-devel, Denis A. Konovalyenko
Or maven cli, no project needed:

mvn dependency:get -DremoteRepositories=https://central.sonatype.com/repository/maven-snapshots -Dartifact=net.sf.okapi.filters:okapi-filter-openxml

M.

Mihai Nita

unread,
Aug 5, 2025, 3:41:51 PMAug 5
to Jim Hargrave, denis.kon...@gmail.com, Group: okapi-devel, Denis A. Konovalyenko
Correction:

mvn dependency:get -DremoteRepositories=https://central.sonatype.com/repository/maven-snapshots -Dartifact=net.sf.okapi.filters:okapi-filter-openxml:1.48.0-SNAPSHOT
(missing the version)

Then
ls  ~/.m2/repository/net/sf/okapi/filters/okapi-filter-openxml/1.48.0-SNAPSHOT/

And there I can see okapi-filter-openxml-1.48.0-20250801.214922-17.jar
(and okapi-filter-openxml-1.48.0-SNAPSHOT.jar)

Mihai

Jim Hargrave

unread,
Aug 6, 2025, 1:15:27 PMAug 6
to Mihai Nita, denis.kon...@gmail.com, Group: okapi-devel, Denis A. Konovalyenko

thank you Mihai!!

Jim Hargrave

unread,
Aug 6, 2025, 6:13:14 PMAug 6
to Mihai Nita, denis.kon...@gmail.com, Group: okapi-devel, Denis A. Konovalyenko

That works! We are still having problems updating snapshots from Okapi with the normal commands:
mvn dependency:purge-local-repository clean install -U

On 8/5/25 13:41, Mihai Nita wrote:
Reply all
Reply to author
Forward
0 new messages