diff --git a/.gitignore b/.gitignore index a1c2a238..34a0ea7e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,17 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* + +.idea/ +bin +target + +.project +.classpath +.settings +.clover +.* + +*.iml +*.ipr +*.iwd diff --git a/generator-assertions-tests/pom.xml b/generator-assertions-tests/pom.xml new file mode 100644 index 00000000..62ba8ca6 --- /dev/null +++ b/generator-assertions-tests/pom.xml @@ -0,0 +1,102 @@ + + + 4.0.0 + + + io.stubbs + truth-generator-extension + HEAD-SNAPSHOT + + + generator-assertions-tests + HEAD-SNAPSHOT + + + + + + + + + + + + + + + + + + + + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-compiler-plugin + + 13 + 13 + + + + + + + + + + + + + + com.google.truth + truth + compile + + + com.google.truth.extensions + truth-java8-extension + compile + ${project.version} + + + com.google.truth.extensions + truth-generator-extension + jar + ${project.version} + test + + + com.google.truth.extensions + truth-generator-extension + test-jar + ${project.version} + test + + + org.projectlombok + lombok + 1.18.20 + + + uk.co.jemos.podam + podam + 7.2.7.RELEASE + compile + + + org.assertj + assertj-core + 3.18.0 + test + + + + diff --git a/generator/pom.xml b/generator/pom.xml new file mode 100644 index 00000000..b7c1622c --- /dev/null +++ b/generator/pom.xml @@ -0,0 +1,145 @@ + + + + io.stubbs + truth-generator-extension + HEAD-SNAPSHOT + + 4.0.0 + + ${project.name.root} + truth-generator-extension + + + 2.23.0.Final + Truth Subject Generator + + + + + + com.squareup + javapoet + 1.13.0 + + + org.jboss.forge.roaster + roaster-api + ${version.roaster} + + + org.jboss.forge.roaster + roaster-jdt + ${version.roaster} + compile + + + com.google.truth + truth + compile + + + + com.google.truth.extensions + truth-java8-extension + compile + ${project.version} + + + com.google.truth + truth + test-jar + HEAD-SNAPSHOT + test + + + org.checkerframework + checker-compat-qual + 2.5.5 + + + org.atteo + evo-inflector + 1.3 + + + org.reflections + reflections + 0.9.13-SNAPSHOT + + + + org.dom4j + dom4j + 2.1.1 + + + org.apache.commons + commons-lang3 + 3.12.0 + + + com.google.guava + guava + 30.1.1-android + + + com.google.flogger + flogger + 0.6 + + + com.google.flogger + flogger-log4j2-backend + 0.6 + + + com.google.flogger + flogger-system-backend + 0.6 + + + org.projectlombok + lombok + 1.18.20 + + + uk.co.jemos.podam + podam + 7.2.7.RELEASE + compile + + + + + + + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-compiler-plugin + + 13 + 13 + + + + maven-jar-plugin + + + + test-jar + + + + + + + diff --git a/plugin-maven/pom.xml b/plugin-maven/pom.xml new file mode 100644 index 00000000..4aa9948c --- /dev/null +++ b/plugin-maven/pom.xml @@ -0,0 +1,205 @@ + + + + io.stubbs + truth-generator-extension + HEAD-SNAPSHOT + + 4.0.0 + maven-plugin + + + truth-generator-maven-plugin + Truth Generator Maven PLugin + + + + 8 + 8 + 3.3.9 + UTF-8 + + + + + org.apache.maven + maven-plugin-api + ${maven.version} + provided + + + org.apache.maven + maven-core + ${maven.version} + provided + + + org.apache.maven + maven-artifact + ${maven.version} + provided + + + org.apache.maven + maven-compat + ${maven.version} + test + + + org.apache.maven.plugin-tools + maven-plugin-annotations + 3.6.0 + provided + + + junit + junit + 4.12 + test + + + org.apache.maven.plugin-testing + maven-plugin-testing-harness + 3.3.0 + test + + + + + com.google.truth.extensions + truth-generator-extension + HEAD-SNAPSHOT + + + com.google.truth.extensions + truth-generator-extension + HEAD-SNAPSHOT + test + test-jar + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-plugin-plugin + 3.6.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + maven-invoker-plugin + 3.1.0 + + + + + + org.apache.maven.plugins + maven-plugin-plugin + 3.6.1 + + + true + + + + + + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 9 + 9 + + + + + + + + run-its + + + + + + + org.apache.maven.plugins + maven-invoker-plugin + + 3.1.0 + + true + ${project.build.directory}/it + + */pom.xml + + verify + ${project.build.directory}/local-repo + src/it/settings.xml + + clean + test-compile + + + + + integration-test + + install + integration-test + verify + + + + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000..f5e5dccf --- /dev/null +++ b/pom.xml @@ -0,0 +1,145 @@ + + + + io.stubbs + truth-generator-extension + HEAD-SNAPSHOT + 4.0.0 + pom + + Truth Extension for generating Subjects + + + 2.23.0.Final + + + + generator + generator-assertions-tests + plugin-maven + + + + + + org.jboss.forge.roaster + roaster-api + ${version.roaster} + + + org.jboss.forge.roaster + roaster-jdt + ${version.roaster} + compile + + + com.google.truth + truth + compile + + + + com.google.truth.extensions + truth-java8-extension + compile + ${project.version} + + + com.google.truth + truth + test-jar + HEAD-SNAPSHOT + test + + + org.checkerframework + checker-compat-qual + 2.5.5 + + + org.atteo + evo-inflector + 1.3 + + + org.reflections + reflections + 0.9.13-SNAPSHOT + + + + org.dom4j + dom4j + 2.1.1 + + + org.apache.commons + commons-lang3 + 3.12.0 + + + com.google.guava + guava + 30.1.1-android + + + com.google.flogger + flogger + 0.6 + + + com.google.flogger + flogger-log4j2-backend + 0.6 + + + com.google.flogger + flogger-system-backend + 0.6 + + + org.projectlombok + lombok + 1.18.20 + + + uk.co.jemos.podam + podam + 7.2.7.RELEASE + compile + + + + + + + + maven-compiler-plugin + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-compiler-plugin + + 13 + 13 + + + + maven-jar-plugin + + + + test-jar + + + + + + +