scalaxb Maven Plugin

Maven plugin for scalaxb, an XML data-binding tool for Scala.

Лицензия

Лицензия

Категории

Категории

Scala Языки программирования Maven Компиляция и сборка
Группа

Группа

io.github.bbarker
Идентификатор

Идентификатор

scalaxb-maven-plugin
Последняя версия

Последняя версия

1.5.3-bb-pre-1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

scalaxb Maven Plugin
Maven plugin for scalaxb, an XML data-binding tool for Scala.
Ссылка на сайт

Ссылка на сайт

http://scalaxb.org/mvn-scalaxb
Система контроля версий

Система контроля версий

https://github.com/eed3si9n/scalaxb

Скачать scalaxb-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>io.github.bbarker</groupId>
    <artifactId>scalaxb-maven-plugin</artifactId>
    <version>1.5.3-bb-pre-1</version>
</plugin>

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
io.github.bbarker : scalaxb_2.11 jar 1.5.3-bb-pre-1
org.apache.maven.plugin-tools : maven-plugin-annotations Необязательный jar 3.3
org.apache.maven : maven-plugin-api jar 2.0.9
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.apache.maven : maven-project jar 2.0.9
org.codehaus.plexus : plexus-utils jar 3.0.17

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

scalaxb

Maven Central

Join the chat at https://gitter.im/eed3si9n/scalaxb

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",
    scalaxbPackageName in (Compile, scalaxb) := "generated",
    // scalaxbAutoPackages in (Compile, scalaxb) := true,
    scalaxbDispatchVersion in (Compile, scalaxb) := 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

Версии библиотеки

Версия
1.5.3-bb-pre-1