diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-07-19 14:02:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-19 14:02:15 +0000 |
commit | 646cd4bea213ec1204882788efbe5c314c6c105e (patch) | |
tree | 692aaa67a879c47847235ef883a3049f0b5afe7a /testsuites/integration/integration-common | |
parent | dcae33d8d9a3dcb8a9249d5d33f103f1e97d2e6c (diff) | |
parent | 28ea33611905de7770721ed26a2c28bb7a685c4d (diff) |
Merge "Fix apex-pdp packaging issue"
Diffstat (limited to 'testsuites/integration/integration-common')
-rw-r--r-- | testsuites/integration/integration-common/pom.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuites/integration/integration-common/pom.xml b/testsuites/integration/integration-common/pom.xml index 20be79afb..46f913b60 100644 --- a/testsuites/integration/integration-common/pom.xml +++ b/testsuites/integration/integration-common/pom.xml @@ -70,6 +70,30 @@ </excludes> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-models</id> + <phase>process-classes</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>java</executable> + <classpathScope>test</classpathScope> + <arguments> + <argument>-classpath</argument> + <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> + <classpath /> + <argument>org.onap.policy.apex.test.common.model.SampleDomainModelSaver</argument> + <argument>${project.build.directory}/classes/examples/models/SampleDomain</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> |