Hi Steinar,

Here is a repro case as simple as I could make it:
  https://github.com/steinarb/convert-xsd-to-rnc

Clone and run with "mvn install"

The maven build ends (for me) as abruptly as the above gist after the
second <execution> in the exec-maven-plugin config.

The <execution> of trang is run to completion (which I can see since
target/dbchangelog-4.31.rnc have been created), but maven stops and
there is no error message as would have been expected for a non 0 return
value of Driver.doMain().

My platform:
  debian 12.10 "bookworm", amd64
  openjdk java 20.0.4
  maven 3.8.7

Out of curiosity I cloned your project, executed "mvn clean install", but couldn't reproduce the error you've seen...

convert-xsd-to-rnc % mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< no.priv.bang.xml.schema:convert-xsd-to-rnc >-------------
(...)
[INFO] --- install:3.1.2:install (default-install) @ convert-xsd-to-rnc ---
[INFO] Installing /Users/thorsten/git/convert-xsd-to-rnc/pom.xml to /Users/thorsten/.m2/repository/no/priv/bang/xml/schema/convert-xsd-to-rnc/0.0.1-SNAPSHOT/convert-xsd-to-rnc-0.0.1-SNAPSHOT.pom [INFO] Installing /Users/thorsten/git/convert-xsd-to-rnc/target/convert-xsd-to-rnc-0.0.1-SNAPSHOT.jar to /Users/thorsten/.m2/repository/no/priv/bang/xml/schema/convert-xsd-to-rnc/0.0.1-SNAPSHOT/convert-xsd-to-rnc-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- exec:3.5.0:java (convert-xsd-to-rng) @ convert-xsd-to-rnc ---
"anyType" is implicitly used as the content model of this element. Is this your intention? If so, please consider to write it explicitly as type="anyType". 1088:72@file:///Users/thorsten/git/convert-xsd-to-rnc/dbchangelog-4.31.xsd
[INFO]
[INFO] --- exec:3.5.0:java (convert-liquibase-rng-to-rnc) @ convert-xsd-to-rnc ---

convert-xsd-to-rnc % mvn --version
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /opt/homebrew/Cellar/maven/3.9.9/libexec
Java version: 23.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/23.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "15.4.1", arch: "aarch64", family: "mac"


Best regards

Thorsten

Attachment: OpenPGP_0x5A54BBB878225E08.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to