Skip to content
Igor Maznitsa edited this page Sep 3, 2017 · 1 revision

Since 1.3.0 there is the JBBP maven plugin in the official maven repository, it can be attached to a maven project through such snippet

<plugin>
  <groupId>com.igormaznitsa</groupId>
  <artifactId>jbbp-maven-plugin</artifactId>
  <version>1.3.0</version>
  <executions>
     <execution>
        <id>tape-jbbp</id>
          <goals>
            <goal>generate</goal>
          </goals>
     </execution>
  </executions>
</plugin>

the plug-in looks for *.jbbp files in special source folder (by default src/jbbp), each found file will be converted into sources. The Target package name and class name can be defined in the script file name, for instance com.some.test.Parser.jbbp will be converted into file com/some/test/Parser.java (in Java case). The Package can be overridden through configuration parameter of the plug-in.

Clone this wiki locally