Address sonar/Checkstyle Issues
[policy/apex-pdp.git] / model / pom.xml
index 7afc8e5..0ba732a 100644 (file)
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <groupId>org.onap.policy.apex.apex-pdp</groupId>
+        <groupId>org.onap.policy.apex-pdp</groupId>
         <artifactId>apex-pdp</artifactId>
         <version>2.0.0-SNAPSHOT</version>
     </parent>
-    
-    <groupId>org.onap.policy.apex.apex-pdp.model</groupId>
+
+    <groupId>org.onap.policy.apex-pdp.model</groupId>
     <artifactId>model</artifactId>
     <packaging>pom</packaging>
 
     <name>${project.artifactId}</name>
     <description>The model for Apex, it comtains definitions of all Apex concepts and also has handling for Apex models.</description>
 
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.derby</groupId>
+            <artifactId>derby</artifactId>
+            <version>${version.derby}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
     <modules>
         <module>utilities</module>
         <module>basic-model</module>
+        <module>context-model</module>
+        <module>event-model</module>
+        <module>policy-model</module>
+        <module>engine-model</module>
+        <module>model-api</module>
     </modules>
+
+    <profiles>
+        <profile>
+            <id>apexSite</id>
+            <activation>
+                <property>
+                    <name>apexSite</name>
+                </property>
+            </activation>
+            <distributionManagement>
+                <site>
+                    <id>${project.artifactId}-site</id>
+                    <url>${apex.adsite.prefix}/modules/${project.artifactId}/</url>
+                </site>
+            </distributionManagement>
+        </profile>
+    </profiles>
 </project>
\ No newline at end of file