Aha, i never used maven without specifying a goal, but commons-rdf is building when just running 'mvn'.

Magic happens, but the build is green.

br Fredy


On 2025/04/17 08:59:45 Fred Hauschel wrote:
> Hi Gary,
> i thought that. The info in the Readme is wrong:
>
>
> However, if i build it with
>
> $ java -version
> openjdk version "11.0.12" 2021-07-20
> OpenJDK Runtime Environment 18.9 (build 11.0.12+7)
> OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode)
>
> I stuck with:
>
> $ mvn clean install
> ...
> ...
> [INFO] --- install:3.1.2:install(default-install)@
> commons-rdf-integration-tests---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Commons RDF 0.6.0-SNAPSHOT:
> [INFO]
> [INFO] Commons RDF ........................................ SUCCESS[
>  8.523 s]
> [INFO] Commons RDF API .................................... SUCCESS[
>  9.577 s]
> [INFO] Commons RDF impl: Simple ........................... SUCCESS[
>  7.771 s]
> [INFO] Commons RDF impl: RDF4j ............................ SUCCESS[
> 11.064 s]
> [INFO] Commons RDF impl: Jena ............................. SUCCESS[
>  7.915 s]
> [INFO] Commons RDF impl: JSON-LD Java ..................... SUCCESS[
>  7.146 s]
> [INFO] Commons RDF Integration tests ...................... FAILURE[
>  3.169 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  55.423 s
> [INFO] Finished at: 2025-04-17T10:55:57+02:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-install-plugin:3.1.2:install(default-install)on
> project commons-rdf-integration-tests: The packaging plugin for project
> commons-rdf-integration-tests did not assign a main
> file to the project but it has attachments. Change packaging to 'pom'.->
> [Help 1]
>
> Best regards
> Fredy
>
> On 2025/04/16 19:07:27 Gary Gregory wrote:
> > Hi Fredy,
> >
> > GitHub shows builds are green on Java 11 and 17:
> > https://github.com/apache/commons-rdf/actions
> >
> > Some unit tests are failing on Java 21 and up.
> >
> > Java 8 is no longer supported in git master (see the POM compiler
> settings).
> >
> > HTH,
> > Gary
> >
> > On Wed, Apr 16, 2025 at 1:50 PM Fred Hauschel <in...@hauschel.de> wrote:
> > >
> > > Hi there,
> > >
> > > haven't heard from me for a long time. I'm trying to think my way back
> > > into commons-rdf. I made a copy years ago that I'm building on, it's
> > > time to change that and switch to the original version.
> > > I just built the tag 0.5.0 successfully. but when I build master, I get
> > > an error.
> > >
> > > Used Java Version:
> > >
> > > $ java -version
> > > openjdk version "1.8.0_302"
> > > OpenJDK Runtime Environment (build 1.8.0_302-b08)
> > > OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)
> > >
> > >
> > > $ mvn clean install
> > > ...
> > > ...
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary for Commons RDF 0.6.0-SNAPSHOT:
> > > [INFO]
> > > [INFO] Commons RDF ........................................ FAILURE[
> > > 3.334 s]
> > > [INFO] Commons RDF API .................................... SKIPPED
> > > [INFO] Commons RDF impl: Simple ........................... SKIPPED
> > > [INFO] Commons RDF impl: RDF4j ............................ SKIPPED
> > > [INFO] Commons RDF impl: Jena ............................. SKIPPED
> > > [INFO] Commons RDF impl: JSON-LD Java ..................... SKIPPED
> > > [INFO] Commons RDF Integration tests ...................... SKIPPED
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 3.577 s
> > > [INFO] Finished at: 2025-04-16T19:48:05+02:00
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal
> > >
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.24:check(checkAPIcompatibility)on
> > > project commons-rdf-parent: Failed to obtain signature:
> > > org.codehaus.mojo.signature:java110:1.0: The following artifacts
> > > could not be resolved:
> org.codehaus.mojo.signature:java110:signature:1.0
> > > (absent): Could not find artifact
> > > org.codehaus.mojo.signature:java110:signature:1.0 in central
> > > (https://repo.maven.apache.org/maven2) -> [Help 1]
> > >
> > >
> > > Any Idea ??
> > >
> > > Thanks Fredy
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >

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

Reply via email to