diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-07-30 16:58:54 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-07-31 15:35:49 +0100 |
commit | 37d8ade146096bf343f494163a528f75b2161095 (patch) | |
tree | 695aa4b86a35bf02c824c56357dd31f0686c21b5 /main/pom.xml | |
parent | ce63c402be2f4c5e437eefa1cbe327c3a9d0caad (diff) |
Add start and parameter handling
Add startup code, command line parsing, service
start, and parameter handling for the policy distribution service.
Issue-ID: POLICY-922
Change-Id: Ie664aba6541304cf9b635541e9688c681b24952d
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'main/pom.xml')
-rw-r--r-- | main/pom.xml | 49 |
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> |