[ 
https://issues.apache.org/jira/browse/JOHNZON-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau updated JOHNZON-60:
--------------------------------------
    Description: 
with a json in a source folder (of directly a json as source), with a target as 
output directory the plugin allows to do: mvn johnzon:example-to-model to get 
the DTO generated:

{code}
<plugin>
  <groupId>org.apache.johnzon</groupId>
  <artifactId>johnzon-maven-plugin</artifactId>
  <version>0.9.3-incubating</version>
  <executions>
    <execution>
      <phase>generate-sources</phase>
      <goals>
        <goal>example-to-model</goal>
      </goals>
    </execution>
  </executions>
</plugin>
{code}

  was:with a json in a source folder (of directly a json as source), with a 
target as output directory the plugin allows to do: mvn 
johnzon:example-to-model to get the DTO generated.


> generate from example mojo (maven plugin)
> -----------------------------------------
>
>                 Key: JOHNZON-60
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-60
>             Project: Johnzon
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>             Fix For: 0.9.3-incubating
>
>
> with a json in a source folder (of directly a json as source), with a target 
> as output directory the plugin allows to do: mvn johnzon:example-to-model to 
> get the DTO generated:
> {code}
> <plugin>
>   <groupId>org.apache.johnzon</groupId>
>   <artifactId>johnzon-maven-plugin</artifactId>
>   <version>0.9.3-incubating</version>
>   <executions>
>     <execution>
>       <phase>generate-sources</phase>
>       <goals>
>         <goal>example-to-model</goal>
>       </goals>
>     </execution>
>   </executions>
> </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to