Git Product home page Git Product logo

netbeans-pojomaker's Introduction

Quality Gate Status Maven Central

Netbeans PojoMaker Plugin

Introduction

This plugin is a small integrated interface of jsonschema2pojo which generates simple Java classes from Json schema or much simpler raw Json snippets.

After installation of the nbm file you can find the plugin in action in the context menu of each project source tree node (New from json...)

Where can I find the Plugin

Changelog

  • 0.6.x
    • upgrade dependencies
  • 0.5.0
    • reduce JSON annotations
    • bugfixing
  • 0.4.4
    • add tooltip text in UI to give more help
    • add 'use Optionals for Getters' and 'add Constructors' options for generator in UI
    • ensure NB 14 compatibility
  • 0.4.3
    • set a class name prefix
    • type of source (schema, json, yaml)
    • more generator options
    • fix exception is thrown during package name extraction under windows
  • 0.3.3 version release in central maven repository and available in Netbeans Plugins
  • 0.1.0 first version

Developement

release

Follow the instruction given at sonatype and prepare your gpg key. For a release type

mvn clean deploy

How to Contribute

Just submit a PR! :)

License

This software is licensed under the Apache 2.0 License.

netbeans-pojomaker's People

Contributors

actions-user avatar ransprd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

netbeans-pojomaker's Issues

Problem on NB 13 and Windows 11.

Every try to New from Json.. on Windows 11 returns Exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
..
at io.github.ranSprd.pojomaker.actions.NewFromJsonSourceFolderAction.extractPackageName(NewFromJsonSourceFolderAction.java:87)
...

Temporary I changed the code in extractPackageName method to:

String os = System.getProperty("os.name");
if(os.startsWith("Windows 11")) return Optional.of( relativePath.replaceAll("/", "."));

then Plugin is working perfect.

Cannot install PojoMaker 0.3.3 plugin into Apache NetBeans IDE 11.3

Environment:
Product Version: Apache NetBeans IDE 11.3
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 1.8.0_271; Java HotSpot(TM) 64-Bit Server VM 25.271-b09
Runtime: Java(TM) SE Runtime Environment 1.8.0_271-b09

Description:
I cannot install 0.3.3 version of your PojoMaker plugin into Apache NetBeans IDE 11.3 due to not satisfied dependencies. Installation into Apache NetBeans IDE 12.6 works fine. Can you please compile your plugin against RELEASE110 NetBeans version to make it compatible with 11.3?

Installation error

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.