Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Add Vert.x proxy code generation setup to pom #6

Open
toniedzwiedz opened this issue Mar 21, 2017 · 0 comments
Open

Add Vert.x proxy code generation setup to pom #6

toniedzwiedz opened this issue Mar 21, 2017 · 0 comments

Comments

@toniedzwiedz
Copy link
Contributor

Proxies for any custom knots will require auomatic code generation by Vert.x

<executions>
            <execution>
              <id>default-compile</id>
              <configuration>
                <annotationProcessors>
                  <annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
                </annotationProcessors>
                <generatedSourcesDirectory>${generated.dir}</generatedSourcesDirectory>
                <compilerArgs>
                  <arg>-AoutputDirectory=${project.basedir}/src/main</arg>
                </compilerArgs>
              </configuration>
            </execution>
            <execution>
              <id>default-testCompile</id>
              <configuration>
                <annotationProcessors>
                  <annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
                </annotationProcessors>
                <generatedTestSourcesDirectory>${generated.dir}</generatedTestSourcesDirectory>
                <compilerArgs>
                  <arg>-AoutputDirectory=${project.basedir}/src/test</arg>
                </compilerArgs>
              </configuration>
            </execution>
          </executions>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant