Skip to content
CAI
Software that uses CAICheck a score

eed3si9n/scalaxb

58.9

Adequate · 6 November 2026

13.5k

lines of production code

Scala

with Java

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Maven site documentation and configuration

The mvn-scalaxb module now includes a generated Maven site containing usage instructions and an example project. Users can view documentation on how to configure the scalaxb-maven-plugin in their pom.xml, including setting the packageName and xsdDirectory, as well as running the generate goal. The site is styled with the maven-fluido-skin version 1.1 and provides navigation to usage guides, example configurations, and goal-specific documentation.

mvn-scalaxb/src/site · high confidence

Add templates for multiple HTTP client backends and SOAP versions

The CLI now generates code using a variety of HTTP client implementations and SOAP protocol versions. This includes support for the Dispatch library (versions 0.10.0 through 2.0.0, plus a classic mode), the Gigahorse library (0.2), and the http4s library (versions 0.21, 0.22, and 0.23). It also provides templates for SOAP 1.1 and 1.2, each with synchronous, asynchronous (using Scala Futures), and tagless-final (using Cats Effect) variants. These templates define the underlying HTTP request logic and SOAP envelope handling that the generated Scala code will use to communicate with web services.

cli/src/main/resources · high confidence

Added SOAP 1.1, SOAP 1.2, WSDL 1.1, and XML Schema 1.0 XSD definitions

The CLI now includes the standard W3C XML Schema definitions for SOAP 1.1, SOAP 1.2, WSDL 1.1, and XML Schema 1.0 in the \cli/src/main/xsd\ directory. These files provide the structural validation rules for SOAP envelopes (including fault handling and header attributes), WSDL service definitions, and XML data types, enabling the tool to validate or generate artifacts compliant with these specific web service standards.

cli/src/main/xsd · high confidence

Added ScalaXB launch configuration

A new launch configuration file for ScalaXB (version 1.7.1) has been added to the project, specifying the use of Scala 2.11.12 and defining repositories for fetching dependencies.

src/main · high confidence

Initial deployment of scalaxb-appengine web interface

This change introduces the web application for scalaxb on Google App Engine, providing a servlet-based interface for compiling XML schemas. The \CompilerFilter\ exposes a POST endpoint at \/compile/{extension}\ that accepts schema files (via arguments or multipart upload) and configuration parameters, returning the generated Scala code as a \.scala\ file or a \.zip\ archive. The application is configured via \appengine-web.xml\ and \web.xml\ to run on the App Engine platform with Scala 2.8.1.

web · high confidence

Initial project setup and documentation

The repository is initialized with core project files including a README, INSTALL guide, MIT LICENSE, and a .gitignore. The project is named scalaxb, an XML data-binding tool for Scala. The initial build system uses Ant (build.xml) and sbaz, with a sample build.properties file provided. The codebase includes a parseSchema.scala file for parsing W3C XML Schema documents, which is the foundation for generating Scala source files from XSD and WSDL inputs. The project is tested under Scala 2.11.

(repo-wide) · high confidence

Introduce Maven plugin for generating Scala code from XSD and WSDL

The mvn-scalaxb module now provides a Maven plugin that generates Scala source files from XML Schema (XSD) and Web Services Description Language (WSDL) inputs. Users can configure the plugin to specify input directories, output locations, target package names, and various code generation options such as chunk size, class prefixes, and whether to generate runtime support or dispatch clients. The plugin integrates with Maven's build lifecycle, automatically adding generated sources to the project and supporting incremental builds in IDEs via m2e lifecycle mapping.

mvn-scalaxb/src/main · high confidence

Introduction of the scalaxb Maven Plugin

This change introduces the \mvn-scalaxb\ directory, which contains the source and configuration for the scalaxb Maven plugin. The plugin allows users to generate Scala sources from XSD files during the Maven build lifecycle. The entry includes the plugin's \pom.xml\, a \README.md\ with usage and configuration documentation, and shell scripts (\install\ and \publish\) to facilitate local installation and deployment to the Sonatype OSS repository.

mvn-scalaxb · high confidence

Removals

Removal of legacy XSD code generation components

The XSD driver and source generation logic have been removed from the product. Specifically, the \Driver.scala\ entry point and the \GenSource.scala\ transformer, which previously converted XSD declarations into Scala source files for data binding, are no longer present. This eliminates the ability to generate Scala code from XSD schemas using this specific legacy implementation.

src/schema2src/xsd · high confidence

Removal of legacy schema2src DTD binding tool

The \src/schema2src/dtd\ directory, which contained the source code for the legacy \schema2src\ DTD-to-Scala data binding tool, has been removed. This deletion eliminates the \Main\ entry point, the \Module\ trait, and the specific DTD driver components (\Driver\, \DtdHandler\, \GenSource\, \MyElemDecl\) that previously allowed users to generate Scala classes from DTD definitions. Users relying on this specific command-line utility for DTD binding will no longer have access to this functionality.

src/schema2src/dtd · high confidence

Behavioural changes

CLI configuration and logging subsystem refactored

The command-line interface now uses a structured \Config\ case class to manage all code-generation options (such as package names, client styles, and version targets) and replaces the previous logging mechanism with a new \Log\ wrapper built on Apache Log4j 2, providing consistent, formatted output for the compiler.

repository · high confidence

Improved name collision handling for Scala code generation

The CLI now includes a dedicated \ScalaNames\ module to better manage reserved words and common identifiers during XML-to-Scala code generation. This change prevents naming conflicts by recognizing Java object methods (such as \equals\, \hashCode\, and \toString\) and common Scala collections as reserved terms, while also treating \value\ as a special attribute word to avoid collisions. Additionally, keywords like \macro\ and \Nil\ are now explicitly handled, ensuring generated code compiles without errors when XML elements or attributes share these names.

cli/src/main/scala/scalaxb/compiler · high confidence

Regenerated XML Schema bindings for Scala

The generated Scala source file \xmlschema\_xmlprotocol.scala\ in the \cli/src\_managed/xmlschema\ directory has been regenerated. This update refreshes the internal XML protocol definitions and serialization formats used by the CLI to handle XML Schema structures, ensuring compatibility with the current snapshot of the underlying scalaxb library.

_cli/src\managed/xmlschema · high confidence

Sbt-scalaxb plugin refactored to AutoPlugin with expanded configuration options

The sbt-scalaxb plugin has been ported to use sbt's AutoPlugin architecture, consolidating task and setting keys into a unified structure. This change introduces several new code-generation options, including support for tagless-style service generation (with a \mapK\ option), the ability to generate a single client type (Dispatch, Gigahorse, or Http4s), and configurable enum name length limits. It also adds support for the Gigahorse HTTP library with selectable backends (OkHttp, AHC), allows customization of JAXB package namespaces (javax vs. jakarta), and provides keys for controlling symbol encoding and capitalization strategies in generated code.

sbt-scalaxb/src/main · high confidence

XSD compiler refactored into modular traits for code generation

The XSD compiler logic in the CLI module has been restructured from a monolithic implementation into a set of composable traits (Args, ContextProcessor, GenLens, GenProtocol, GenSource, Lookup, Parsers) and a Driver class. This change introduces support for generating Monocle lenses for case classes, allows the protocol object to be generated in a separate package, and enables the optional generation of Visitor and Dispatch-as templates. It also adds configuration options for handling long attributes and elements, and improves namespace and type name resolution during code generation.

cli/src/main/scala/scalaxb/compiler/xsd · high confidence

scalaxb Maven plugin logs through Maven's logging system

The scalaxb Maven plugin now routes its internal log4j output through Maven's standard logging interface via a new LogAppender. This ensures that scalaxb's informational, warning, and error messages are properly integrated into the Maven build console output, making them visible and consistent with other plugin logs.

scalaxb-maven-plugin · high confidence

Fixes

Regenerated WSDL 1.1 SOAP bindings via scalaxb

The generated SOAP protocol implementation for WSDL 1.1 in \cli/src\_managed/wsdl11\ has been regenerated using the scalaxb library. This update refreshes the XML serialization and deserialization formats for WSDL types (such as definitions, imports, and services) to align with the latest snapshot of the scalaxb code generator, ensuring the internal package is correctly masked and the generated traits handle XML parsing according to the current tooling standards.

_cli/src\managed/wsdl11 · medium confidence

Test coverage

Add WSDL integration test for stock quote service; Add integration test for XML parsing and serialization; Add integration test for blocking code generation; Add integration test for packageNames parameter; Add scripted tests for address, SOAP, and XHTML code generation; Added Scala 2.13+ and 2.13- specific test base classes for compiler matching; Added integration test for Jakarta package generation; Added integration test for the scalaxb:help goal; Added integration tests for XML Schema parsing and customization; Added unit and integration tests for the Maven plugin; Expanded integration test coverage for scalaxb code generation; Removed legacy test suite files for link and XHTML schemas.

Dependencies

Build infrastructure updated to sbt 1.13.0 with modernized dependency management

The project build has been upgraded to sbt version 1.13.0, replacing the legacy build structure with a modernized setup in \project/common.scala\ and \project/dependencies.scala\. This change introduces support for Scala 3.3.8 and Scala 2.13.18, updates core dependencies such as scala-xml to 2.1.0 and log4j to 2.24.3, and configures the build to generate build information including default versions for Dispatch, Http4s, and Gigahorse. Plugin dependencies have also been updated, including sbt-nocomma to 0.1.3 and sbt-assembly to 2.3.1.

project · high confidence

Bump scalaxb to 1.12.5 and update Maven plugin dependencies

The scalaxb core library is updated to version 1.12.5-SNAPSHOT, and the mvn-scalaxb Maven plugin is updated to version 1.12.5. This release includes updates to several Maven plugin dependencies, specifically bumping maven-plugin-annotations to 3.15.0, maven-plugin-api to 2.2.1, plexus-utils to 3.0.24, maven-plugin-plugin to 3.6.0, maven-source-plugin to 3.4.0, and maven-javadoc-plugin to 3.12.0. Additionally, the plugin now uses Scala 2.12.21, scala-xml 2.1.0, and scala-parser-combinators 2.1.1.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 60 → 59 (-1.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 72 → 72 (+0.0)
  • Architecture 92 → 91 (-1.3)
  • Maturity 51 → 49 (-1.5)
  • Readiness 58 → 58 (+0.0)
  • Security 81 → 77 (-3.6)

Resolved (3)

  • Medium CVE: [GHSA redacted] (mvn-scalaxb/pom.xml)
  • Medium CVE: [GHSA redacted] (mvn-scalaxb/pom.xml)
  • Off-boarding risk: anonymized user #1

New (1)

  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 6 commits — 6 feature/other, 0 fixes

By area

  • cli/src — 3 commits
  • (root) — 1 commit
  • integration/src — 1 commit
  • project/plugins.sbt — 1 commit

Notable commits

  • change: Add -Yfuture-lazy-vals option (#730)
  • change: Add tailrec annotation (#728)
  • change: Avoid Predef.any2stringadd (#732)
  • change: Avoid postfix (#729)
  • change: Remove redundant headOption (#727)
  • change: Update sbt plugins (#731)

Architecture

  • Unchanged — 0 containers · 2 contexts · 0 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

eed3si9n/scalaxb was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 6 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2eae6665a3b3167ba87c66d5c35149f615b41446 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-60d1b390edf0.