diff --git a/.gitignore b/.gitignore index 19e2a4cad2dbe108e6fd51037bbc8e9669551075..479cc90b80126c8b5a97abaeb2343bbc1148e770 100644 --- a/.gitignore +++ b/.gitignore @@ -202,6 +202,8 @@ samples/client/petstore/groovy/build # erlang samples/client/petstore/erlang-client/_build/ samples/client/petstore/erlang-client/rebar.lock +samples/client/petstore/erlang-proper/_build/ +samples/client/petstore/erlang-proper/rebar.lock samples/server/petstore/erlang-server/_build/ samples/server/petstore/erlang-server/rebar.lock diff --git a/pom.xml b/pom.xml index a90ad2bb31be26e3bd3552d182394b6e126e6e99..562452c67fa21f580ca98f561dadd91459245725 100644 --- a/pom.xml +++ b/pom.xml @@ -1222,6 +1222,7 @@ <module>samples/client/petstore/elm</module> <module>samples/client/petstore/elixir</module> <module>samples/client/petstore/erlang-client</module> + <module>samples/client/petstore/erlang-proper</module> <!-- servers --> <!-- disable erlang server test due to dependency issues --> <module>samples/server/petstore/erlang-server</module> diff --git a/samples/client/petstore/erlang-proper/pom.xml b/samples/client/petstore/erlang-proper/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..541337e18b33fe6ddbd00315bcb1289860a3d84d --- /dev/null +++ b/samples/client/petstore/erlang-proper/pom.xml @@ -0,0 +1,46 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.openapitools</groupId> + <artifactId>ErlangProperClientTests</artifactId> + <packaging>pom</packaging> + <version>1.0-SNAPSHOT</version> + <name>Erlang Proper Petstore Client</name> + <build> + <plugins> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>${project.build.directory}</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> + <executions> + <execution> + <id>compile-test</id> + <phase>integration-test</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>rebar3</executable> + <arguments> + <argument>compile</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project>