diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/onap-common-configuration-management/onap-configuration-management-core/pom.xml | 4 | ||||
-rw-r--r-- | common/pom.xml | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml index 9574c822e4..c4b896f1e3 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml @@ -92,8 +92,8 @@ <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> - <version>3.1.0</version> - <optional>true</optional> + <version>${servlet-api.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> diff --git a/common/pom.xml b/common/pom.xml index eea619f9b5..f1f1a7394c 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -104,8 +104,9 @@ </dependency> <dependency> <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>${servlet.version}</version> + <artifactId>javax.servlet-api</artifactId> + <version>${servlet-api.version}</version> + <scope>provided</scope> </dependency> <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --> <dependency> |