summaryrefslogtreecommitdiffstats
path: root/main/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/pom.xml')
-rw-r--r--main/pom.xml49
1 files changed, 41 insertions, 8 deletions
diff --git a/main/pom.xml b/main/pom.xml
index 934d57ca..1084f937 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -26,17 +26,50 @@
<version>2.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.onap.policy.distribution.main</groupId>
<artifactId>main</artifactId>
- <packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>The main module of Policy Distribution that handles startup, lifecycle management, and parameters.</description>
- <modules>
- <module>main-startstop</module>
- <module>main-parameters</module>
- <module>main-lifecycle</module>
- <module>main-rest</module>
- </modules>
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>utils</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.policy.common</groupId>
+ <artifactId>common-parameters</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <!-- Output the version of the distribution service -->
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>**/version.txt</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>false</filtering>
+ <excludes>
+ <exclude>**/version.txt</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ </build>
+
</project>