aboutsummaryrefslogtreecommitdiffstats
path: root/testsuites/integration
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@ericsson.com>2018-07-18 16:28:07 +0100
committerramverma <ram.krishna.verma@ericsson.com>2018-07-18 16:53:01 +0100
commit28ea33611905de7770721ed26a2c28bb7a685c4d (patch)
tree072f7ce23a95152323ec4f744a1c6db50a099430 /testsuites/integration
parent84c349f342da7f67fe728bb2ef3a3b59afb4cd7e (diff)
Fix apex-pdp packaging issue
Fix apex-pdp packaging issue and add SampleDomain examples to try out how apex-pdp works. Change-Id: I4018b0902d06345e86ddbef80100e63232cee49d Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'testsuites/integration')
-rw-r--r--testsuites/integration/integration-common/pom.xml24
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>