jaxb-for-scalac


License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.oradian.util
ArtifactId

ArtifactId

jaxb-for-scalac_2.12
Last Version

Last Version

2.3.1-0
Release Date

Release Date

Type

Type

jar
Description

Description

jaxb-for-scalac
jaxb-for-scalac
Project URL

Project URL

https://github.com/oradian/jaxb-for-scalac
Project Organization

Project Organization

com.oradian.util
Source Code Management

Source Code Management

https://github.com/oradian/jaxb-for-scalac

Download jaxb-for-scalac_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.oradian.util/jaxb-for-scalac_2.12/ -->
<dependency>
    <groupId>com.oradian.util</groupId>
    <artifactId>jaxb-for-scalac_2.12</artifactId>
    <version>2.3.1-0</version>
</dependency>
// https://jarcasting.com/artifacts/com.oradian.util/jaxb-for-scalac_2.12/
implementation 'com.oradian.util:jaxb-for-scalac_2.12:2.3.1-0'
// https://jarcasting.com/artifacts/com.oradian.util/jaxb-for-scalac_2.12/
implementation ("com.oradian.util:jaxb-for-scalac_2.12:2.3.1-0")
'com.oradian.util:jaxb-for-scalac_2.12:jar:2.3.1-0'
<dependency org="com.oradian.util" name="jaxb-for-scalac_2.12" rev="2.3.1-0">
  <artifact name="jaxb-for-scalac_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.oradian.util', module='jaxb-for-scalac_2.12', version='2.3.1-0')
)
libraryDependencies += "com.oradian.util" % "jaxb-for-scalac_2.12" % "2.3.1-0"
[com.oradian.util/jaxb-for-scalac_2.12 "2.3.1-0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-compiler jar 2.12.10
org.scala-lang : scala-library jar 2.12.10

provided (1)

Group / Artifact Type Version
javax.xml.bind : jaxb-api jar 2.3.1

Project Modules

There are no modules declared in this project.

jaxb-for-scalac

This is a NO-OP scalac plugin for injecting JAXB library into compilation classpath.

In Java 9 javax.xml package was deprecated, and it was fully removed in Java 11.
If you are having problems since some of your scala compiler plugins depend on JAXB, load this Noop plugin which will bring in the external JAXB dependency:

addCompilerPlugin("com.oradian.util" %% "jaxb-for-scalac" % "2.3.1-0")

Other than just JAXB, this project can easily be extended to bring in any other library dependency into scalac classpath - simply use it as a template for the hackish "build fat scalac plugin jar with dependencies" workaround first documented in https://github.com/sbt/sbt/issues/2255

This is free and unencumbered software released into the public domain.

com.oradian.util

Oradian

Core Microfinance Systems

Versions

Version
2.3.1-0