Giter Site home page Giter Site logo

borisnaguet / sbt-cxf-wsdl2java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ebiznext/sbt-cxf-wsdl2java

8.0 8.0 5.0 50 KB

an sbt plugin for generating java artifacts from WSDL using cxf

License: MIT License

Scala 100.00%
cxf plugin sbt scala wsdl2java

sbt-cxf-wsdl2java's People

Contributors

borisnaguet avatar damienbeaufils avatar fupelaqu avatar hayssams avatar mkotsbakws avatar ssowerby avatar theblackdragon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sbt-cxf-wsdl2java's Issues

Allow wsdl to be an URL

We should be able to point to a remote http URL

Beware: using a local file is more optimized because generation is not launched when the wsdl is older than already generated dir

remove compilation warnings

[warn] ~\git\sbt-cxf-wsdl2java\src\main\scala\io\github\borisnaguet\sbt\plugins\CxfWsdl2JavaPlugin.scala:77: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`.
[warn] See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
[warn]     managedClasspath in wsdl2java <<= (classpathTypes in wsdl2java, update).map { (ct, report) =>
[warn]                                   ^
[warn] ~\git\sbt-cxf-wsdl2java\src\main\scala\io\github\borisnaguet\sbt\plugins\CxfWsdl2JavaPlugin.scala:77: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`.
[warn] See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
[warn]     managedClasspath in wsdl2java <<= (classpathTypes in wsdl2java, update).map { (ct, report) =>
[warn]                                   ^
[warn] ~\git\sbt-cxf-wsdl2java\src\main\scala\io\github\borisnaguet\sbt\plugins\CxfWsdl2JavaPlugin.scala:133: `<+=` operator is deprecated. Try `lhs += { x.value }`
[warn]   or see http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html.
[warn]     sourceGenerators in Compile <+= wsdl2java
[warn]                                 ^
[warn] ~\git\sbt-cxf-wsdl2java\src\main\scala\io\github\borisnaguet\sbt\plugins\CxfWsdl2JavaPlugin.scala:133: `<+=` operator is deprecated. Try `lhs += { x.value }`
[warn]   or see http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html.
[warn]     sourceGenerators in Compile <+= wsdl2java
[warn]                                 ^
model contains 13 documentable templates
[warn] two warnings found
[info] Main Scala API documentation successful.
[info] Packaging C:\Utilisateurs\a160420\git\sbt-cxf-wsdl2java\target\scala-2.10\sbt-0.13\sbt-cxf-wsdl2java-0.2.3-SNAPSHOT-javadoc.jar ...
[warn] ~\git\sbt-cxf-wsdl2java\src\main\scala\io\github\borisnaguet\sbt\plugins\CxfWsdl2JavaPlugin.scala:77: method t2ToTable2 in object Scoped is deprecated: The sbt 0.10 style DSL is deprecated: '(k1, k2) map { (x, y) => ... }' should now be '{ val x = k1.value; val y = k2.value }'.
[warn] See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
[warn]     managedClasspath in wsdl2java <<= (classpathTypes in wsdl2java, update).map { (ct, report) =>
[warn]                                       ^
[info] Done packaging.
[warn] three warnings found

Allow to pass System properties to the command (i.e. for proxy)

To use wsdl2java behind a proxy, you need to pass system properties:
-DproxyHost=host -DproxyPort=port

This is now possible with:
CxfWsdl((resourceDirectory in Compile).value / "icarvision.wsdl", Seq("-p", "icarvision.idcloud.ws"), "icarvision", systemProperties = Seq("-DproxyHost=proxy", "-DproxyPort=3128"))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.