• Stars
    star
    333
  • Rank 121,729 (Top 3 %)
  • Language
    Scala
  • License
    MIT License
  • Created about 14 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

scalaxb is an XML data binding tool for Scala.

scalaxb

Maven Central

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and Web Services Description Language (wsdl) as the input file.

From schema documents scalaxb will generate Scala source files containing case classes to represent the data and typeclass instances to turn XML documents into an object, and the object back to XML.

Modules

There are currently four ways of running scalaxb:

  • command line app scalaxb
  • sbt plugin sbt-scalaxb
  • maven plugin mvn-scalaxb
  • web API scalaxb-heroku hosted on heroku

sbt-scalaxb

To call scalaxb from sbt 1.x and sbt 0.13.x, put this in your project/scalaxb.sbt:

resolvers += Resolver.sonatypeRepo("public")
addSbtPlugin("org.scalaxb" % "sbt-scalaxb" % "X.X.X")

and this in build.sbt:

lazy val dispatchVersion = "1.1.3"
lazy val dispatch = "org.dispatchhttp" %% "dispatch-core" % dispatchVersion
lazy val jaxbApi = "javax.xml.bind" % "jaxb-api" % "2.3.0"
lazy val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "1.3.0"
lazy val scalaParser = "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.2"

lazy val root = (project in file(".")).
  enablePlugins(ScalaxbPlugin).
  settings(
    name := "foo-project",
    Compile / scalaxb / scalaxbPackageName := "generated",
    // Compile / scalaxb / scalaxbAutoPackages := true,
    Compile / scalaxb / scalaxbDispatchVersion := dispatchVersion,
    libraryDependencies ++= Seq(dispatch, jaxbApi, scalaParser, scalaXml)
  )

command line app scalaxb

See INSTALL.md.

mvn-scalaxb

See mvn-scalaxb.

Documents

Further info is available at scalaxb.org.

Bug Reporting

If you're having problem with scalaxb, please take a moment and read issue reporting guideline.

Licensing

It's the MIT License. See the file called LICENSE.

Contacts

More Repositories

1

treehugger

treehugger.scala is a library to code Scala programmatically.
Scala
133
star
2

gigahorse

Gigahorse is an HTTP client for Scala with multiple backend support.
Scala
121
star
3

verify

Scala Verify is a minimal testing framework for Scala. Trust, but verify.
Scala
88
star
4

color-themes

Twilight and Vibrant Ink color theme for IntelliJ IDEA and Notepad++ (Scala).
70
star
5

git-gone

Shell
48
star
6

learning-scalaz

Scala
47
star
7

herding-cats

Scala
44
star
8

sjson-new

a typeclass based JSON codec that's backend independent
Scala
33
star
9

tetrix.scala

a falling blocks clone
Scala
31
star
10

sff4s

simple future facade for Scala
Scala
29
star
11

jarjar-abrams

an experimental Scala extension of Jar Jar Links
Java
26
star
12

docker-sbt

Docker image for sbt
Dockerfile
18
star
13

sbt-inspectr

sbt-inspectr is an sbt plugin for calling inspect recursively.
Scala
18
star
14

ifdef

`@ifdef` is an annotation that implements conditional compilation in Scala
Scala
17
star
15

eval

Scala
15
star
16

gigahorse-github

Gigahorse plugin for Github API v3
Scala
12
star
17

sudori

Scala
12
star
18

closed-captioning

aggregate tweets and IRC to project on screen
Java
12
star
19

repatch-twitter

a plugin for Dispatch to use Twitter API
Scala
11
star
20

console-game

Scala
10
star
21

scalafix-noinfer

Scala
8
star
22

repatch-github

dispatch plugin for github API v3
Scala
8
star
23

doctrine

an app to download Scala docs.
Scala
7
star
24

dotfiles

dotfiles
Lua
5
star
25

sbt-assembly-full-config-sample

full configuration sample for sbt-assembly
Scala
5
star
26

scalacenter-proposal

5
star
27

eed3si9n.com

eed3si9n.com
HTML
4
star
28

scalaxb.g8

giter8 template for a simple scalaxb project
Scala
3
star
29

scalaxb-sample

Scala
2
star
30

sbt-logo

sbt-logo
HTML
2
star
31

ny-scala-sbt010

beginning sbt 0.10 pres
JavaScript
2
star
32

hello.g8

Scala
2
star
33

eed3si9n.github.com

2
star
34

sbt-scalaxb-hotelbeds-sample

Scala
2
star
35

revisiting-implicits

revisiting implicits specs
Scala
2
star
36

recipes

Scala
1
star
37

sbt-rewritedemo

Scala
1
star
38

sbt-nescala2014

1
star
39

kiln2rally

Rally Connector for Kiln (kiln2rally) is a Kiln web hook to add Rally integration.
Scala
1
star
40

tetrix.tfsp

Scala
1
star
41

scalaconfjp-2013-lt

JavaScript
1
star
42

scalamacros-getting-started

Scala
1
star
43

hstetrix

Haskell
1
star
44

scalaxb-heroku

Scala
1
star
45

community-build-ranking

script to rank Scala libraries listed on Community Build based on GitHub stars
Scala
1
star
46

scalaxb-epcis-sample

Scala
1
star
47

scmtetrix

tetris in scheme
Scheme
1
star
48

sbt-groovy-test

Scala
1
star