The java jars on https://dist.apache.org/repos/dist/dev/poi/5.1.0-RC1/maven/
seem to have been built with Java 14 and do not work with Java 8.

I'm getting this when trying to use poi-ooxml jar:

Caused by: java.lang.UnsupportedClassVersionError: 
org/apache/poi/openxml4j/opc/OPCPackage has been compiled by a more recent 
version of the Java Runtime (class file version 58.0), this version of the Java 
Runtime only recognizes class file versions up to 52.0

One other thing: I've added 
https://dist.apache.org/repos/dist/dev/poi/5.1.0-RC1/maven/org/apache/poi/ to 
allow this to be more easily used as a maven repo. I left the jars in the 
original locations too.

I can now use this in my maven pom when testing in another project:

<repositories>
  <repository>
    <id>my-repo1</id>
    <name>your custom repo</name>
    <url>https://dist.apache.org/repos/dist/dev/poi/5.1.0-RC1/maven</url>
  </repository>
</repositories>






On Saturday 4 September 2021, 14:20:09 IST, Dominik Stadler 
<dominik.stad...@gmx.at> wrote: 





Hi,

When comparing the release files with 5.0.0, I saw the following, not sure
which one are on-purpose and which one should be changed:

* Files poi-5.1.0.pom.sha256 and poi-5.1.0.pom.sha512 are not included
* The jar-files under maven/* do not contain "LICENSE" and "NOTICE" any
more under "META-INF"
* Jar-file "poi.jar" does not contain class "org.apache.poi.Version" any
more
* The MANIFEST.MF file previously had fields for "Specification-*" and
"Implementation-*" which are now missing
* jars for "poi-integration" are not included any more. These are mostly
used for mass-regression-testing, which usually works off of locally built
binaries anyway, so likely not needed.
* the poi-ooxml-lite and poi-ooxml-full packages do not include all the
*Factory classes any more

Thanks... Dominik.



On Sat, Sep 4, 2021 at 12:40 AM Andreas Beeker <kiwiwi...@apache.org> wrote:

> Hi *,
>
> I've prepared artifacts for the release of Apache POI 5.1.0 (RC1).
>
> The most notable changes in this release are:
>
> * upgrade dependencies: XmlBeans 5.0.1, Batik 1.14, BouncyCastle 1.69,
> Commons-Compress 1.21, ...
> * switching build to Gradle - Ant build is not supported anymore [#65206]
> * XSLFTable::addRow functionality reverted to pre-5.0.0 [github-221]
> * XSSFDrawing - import chart from other drawing [#63901]
> * Support for Excel functions IFS, SWITCH, TEXTJOIN, IFNA, MAXIFS, MINIFS,
> AVERAGEIFS
> * Fix SVG-related image rendering
>
> https://dist.apache.org/repos/dist/dev/poi/5.1.0-RC1/
>
> Things to check:
> According to Stackoverflow there were some problems with JPMS and XmlBeans
> -
> so maybe check for potential problems there.
>
> Please vote to release the artifacts.
> The vote keeps open until 2021-09-10.
> Planned release announcement date is Saturday, 2021-09-11.
>
> Here is my +1
>
> The SVN repo is open again.
>
> Andi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to