-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
daniel-sc edited this page Jul 4, 2013
·
5 revisions
This is a maven plugin that easily creates java wrapper classes for podio apps. It can also be used manually from command line.
- Download latest code-gen-core[VERSION]-jar-with-dependencies.jar.
- Start a console and type
java -jar code-gen-core[VERSION]-jar-with-dependencies.jar PODIOUSERNAME PODIOPASSWORD APPID_1 .. APPID_Norjava -jar code-gen-core[VERSION]-jar-with-dependencies.jar PODIOUSERNAME PODIOPASSWORD -space SPACEID - Browse resulting code in the
podio/generated/subfolder.
- Create a new maven module/project.
- Adapt your
pom.xmlaccording to this template: code-gen/podio-codegen-maven-plugin/template_pom.xml. - Make sure you have
podio.api:0.7.5-SNAPSHOTin your local maven repository (git clone https://github.com/podio/podio-java.git and build with maven. You might want to use-Dmaven.test.skip=true- at least in my setup there were failing tests..) [TODO: remove this step, when a new podio.api version is released.] - Do a
mvn clean installin your newly created project. - Check the
targetdirectory for generated jar and source files.