AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | use this file except in compliance with the License. You may obtain a copy |
| 5 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 6 | by applicable law or agreed to in writing, software distributed under the |
| 7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 8 | OF ANY KIND, either express or implied. See the License for the specific |
| 9 | language governing permissions and limitations under the License. --> |
| 10 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 11 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 12 | <!-- <parent> <groupId>org.onap.csarvalidation</groupId> <artifactId>csarvalidation</artifactId> |
| 13 | <version>1.0.0-SNAPSHOT</version> </parent> --> |
| 14 | |
| 15 | <parent> |
| 16 | <groupId>org.onap.oparent</groupId> |
| 17 | <artifactId>oparent</artifactId> |
| 18 | <version>1.0.0-SNAPSHOT</version> |
| 19 | <relativePath>oparent</relativePath> |
| 20 | </parent> |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 23 | <artifactId>validation-csar</artifactId> |
| 24 | <version>1.0.0-SNAPSHOT</version> |
| 25 | <packaging>jar</packaging> |
| 26 | <name>csarvalidation/validation</name> |
| 27 | |
| 28 | <repositories> |
| 29 | <!-- <repository> <id>open-o</id> <name>OPEN-O repository</name> <url>https://nexus.open-o.org/content/repositories/public/</url> |
| 30 | </repository> --> |
| 31 | <repository> |
| 32 | <id>google-collections</id> |
| 33 | <name>Google collections repository</name> |
| 34 | <url>https://mvnrepository.com/artifact/com.google.collections/google-collections</url> |
| 35 | </repository> |
| 36 | <repository> |
| 37 | <id>onap</id> |
| 38 | <name>ONAP repository</name> |
| 39 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 40 | </repository> |
| 41 | </repositories> |
| 42 | |
| 43 | |
| 44 | <dependencies> |
| 45 | <dependency> |
| 46 | <groupId>org.slf4j</groupId> |
| 47 | <artifactId>slf4j-api</artifactId> |
| 48 | <version>1.6.4</version> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 52 | <artifactId>consumer</artifactId> |
| 53 | <exclusions> |
| 54 | <exclusion> |
| 55 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 56 | <artifactId>jersey-all</artifactId> |
| 57 | </exclusion> |
| 58 | </exclusions> |
| 59 | <version>5.0</version> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>com.fasterxml.jackson.core</groupId> |
| 63 | <artifactId>jackson-core</artifactId> |
| 64 | <version>2.5.4</version> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>com.fasterxml.jackson.core</groupId> |
| 68 | <artifactId>jackson-databind</artifactId> |
| 69 | <version>2.5.4</version> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>com.fasterxml.jackson.core</groupId> |
| 73 | <artifactId>jackson-annotations</artifactId> |
| 74 | <version>2.5.4</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>com.google.code.gson</groupId> |
| 78 | <artifactId>gson</artifactId> |
| 79 | <version>2.2.4</version> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>com.google.guava</groupId> |
| 83 | <artifactId>guava</artifactId> |
| 84 | <version>11.0.2</version> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>com.google.collections</groupId> |
| 88 | <artifactId>google-collections</artifactId> |
| 89 | <version>1.0-rc1</version> |
| 90 | </dependency> |
AvinashS | 13d2f67 | 2017-09-14 13:37:28 +0000 | [diff] [blame^] | 91 | <dependency> |
| 92 | <groupId>junit</groupId> |
| 93 | <artifactId>junit</artifactId> |
| 94 | <version>4.12</version> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 97 | </dependencies> |
| 98 | |
| 99 | |
| 100 | <profiles> |
| 101 | <profile> |
| 102 | <id>all-tests</id> |
| 103 | <properties> |
| 104 | <build.profile.id>all-tests</build.profile.id> |
| 105 | <skip.unit.tests>true</skip.unit.tests> |
| 106 | </properties> |
| 107 | </profile> |
| 108 | </profiles> |
| 109 | |
| 110 | |
| 111 | <build> |
| 112 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 113 | |
| 114 | <plugins> |
| 115 | <plugin> |
| 116 | <groupId>org.apache.maven.plugins</groupId> |
| 117 | <artifactId>maven-jar-plugin</artifactId> |
| 118 | <version>3.0.2</version> |
| 119 | <configuration> |
| 120 | <archive> |
| 121 | <manifest> |
| 122 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 123 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 124 | </manifest> |
| 125 | </archive> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | <plugin> |
| 129 | <groupId>org.apache.maven.plugins</groupId> |
| 130 | <artifactId>maven-compiler-plugin</artifactId> |
| 131 | <version>3.1</version> |
| 132 | <configuration> |
| 133 | <source>1.8</source> |
| 134 | <target>1.8</target> |
| 135 | </configuration> |
| 136 | </plugin> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.maven.plugins</groupId> |
| 139 | <artifactId>maven-jar-plugin</artifactId> |
| 140 | </plugin> |
| 141 | |
| 142 | <plugin> |
| 143 | <artifactId>maven-war-plugin</artifactId> |
| 144 | <configuration> |
| 145 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | </plugins> |
| 149 | </build> |
| 150 | </project> |