Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <parent> |
| 6 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 7 | <artifactId>validation</artifactId> |
Bartosz Gardziejewski | 5901037 | 2021-01-20 09:10:29 +0100 | [diff] [blame] | 8 | <version>1.2.20-SNAPSHOT</version> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 9 | </parent> |
| 10 | <modelVersion>4.0.0</modelVersion> |
| 11 | |
Bartosz Gardziejewski | 0fce753 | 2021-05-06 10:14:57 +0200 | [diff] [blame] | 12 | <artifactId>validation-dictionary</artifactId> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 13 | <packaging>jar</packaging> |
Bartosz Gardziejewski | 0fce753 | 2021-05-06 10:14:57 +0200 | [diff] [blame] | 14 | <name>dictionaryvalidation/validation</name> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 15 | |
| 16 | <repositories> |
| 17 | <repository> |
| 18 | <id>google-collections</id> |
| 19 | <name>Google collections repository</name> |
| 20 | <url>https://mvnrepository.com/artifact/com.google.collections/google-collections</url> |
| 21 | </repository> |
| 22 | <repository> |
| 23 | <id>onap</id> |
| 24 | <name>ONAP repository</name> |
| 25 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 26 | </repository> |
| 27 | </repositories> |
| 28 | <properties> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 29 | <junit.version>5.7.0</junit.version> |
| 30 | <assertj-core.version>3.18.1</assertj-core.version> |
Bogumil Zebek | bb56d1b | 2020-12-11 13:56:54 +0100 | [diff] [blame] | 31 | <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version> |
| 32 | <mockito-core.version>3.5.0</mockito-core.version> |
| 33 | <mockito-junit-jupiter.version>2.23.0</mockito-junit-jupiter.version> |
| 34 | <gson.version>2.8.6</gson.version> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 35 | </properties> |
| 36 | <dependencies> |
| 37 | <dependency> |
Bogumil Zebek | 2a80695 | 2020-12-23 10:02:43 +0100 | [diff] [blame] | 38 | <groupId>org.onap.cli</groupId> |
| 39 | <artifactId>cli-framework</artifactId> |
| 40 | <version>${cli-framework.version}</version> |
| 41 | <exclusions> |
| 42 | <exclusion> |
| 43 | <groupId>commons-codec</groupId> |
| 44 | <artifactId>commons-codec</artifactId> |
| 45 | </exclusion> |
| 46 | </exclusions> |
| 47 | </dependency> |
| 48 | <dependency> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 49 | <groupId>org.apache.logging.log4j</groupId> |
| 50 | <artifactId>log4j-slf4j-impl</artifactId> |
| 51 | <version>${log4j-slf4j-impl.version}</version> |
| 52 | <exclusions> |
| 53 | <exclusion> |
| 54 | <groupId>org.slf4j</groupId> |
| 55 | <artifactId>slf4j-ext</artifactId> |
| 56 | </exclusion> |
| 57 | </exclusions> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.yaml</groupId> |
| 61 | <artifactId>snakeyaml</artifactId> |
| 62 | <version>${snakeyaml.version}</version> |
| 63 | </dependency> |
Bogumil Zebek | bb56d1b | 2020-12-11 13:56:54 +0100 | [diff] [blame] | 64 | <dependency> |
| 65 | <groupId>com.google.code.gson</groupId> |
| 66 | <artifactId>gson</artifactId> |
| 67 | <version>${gson.version}</version> |
| 68 | </dependency> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 69 | <!-- TEST dependencies --> |
| 70 | <dependency> |
| 71 | <groupId>org.junit.jupiter</groupId> |
| 72 | <artifactId>junit-jupiter</artifactId> |
| 73 | <version>${junit.version}</version> |
| 74 | <scope>test</scope> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.junit.vintage</groupId> |
| 78 | <artifactId>junit-vintage-engine</artifactId> |
| 79 | <version>${junit.version}</version> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.assertj</groupId> |
| 84 | <artifactId>assertj-core</artifactId> |
| 85 | <version>${assertj-core.version}</version> |
| 86 | <scope>test</scope> |
| 87 | </dependency> |
Bogumil Zebek | bb56d1b | 2020-12-11 13:56:54 +0100 | [diff] [blame] | 88 | <dependency> |
| 89 | <groupId>org.mockito</groupId> |
| 90 | <artifactId>mockito-core</artifactId> |
| 91 | <version>${mockito-core.version}</version> |
| 92 | <scope>test</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.mockito</groupId> |
| 96 | <artifactId>mockito-junit-jupiter</artifactId> |
| 97 | <version>${mockito-junit-jupiter.version}</version> |
| 98 | <scope>test</scope> |
| 99 | </dependency> |
Bogumil Zebek | 2a80695 | 2020-12-23 10:02:43 +0100 | [diff] [blame] | 100 | <dependency> |
| 101 | <groupId>org.onap.cli</groupId> |
| 102 | <artifactId>cli-main</artifactId> |
| 103 | <version>${cli-main.version}</version> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 106 | </dependencies> |
Bogumil Zebek | bb56d1b | 2020-12-11 13:56:54 +0100 | [diff] [blame] | 107 | <build> |
| 108 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 109 | <plugins> |
| 110 | <!-- Maven Shade Plugin --> |
| 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-shade-plugin</artifactId> |
| 114 | <version>${maven-shade-plugin.version}</version> |
| 115 | <executions> |
| 116 | <!-- Run shade goal on package phase --> |
| 117 | <execution> |
| 118 | <phase>package</phase> |
| 119 | <goals> |
| 120 | <goal>shade</goal> |
| 121 | </goals> |
| 122 | <configuration> |
| 123 | <shadedArtifactAttached>true</shadedArtifactAttached> |
| 124 | <shadedClassifierName>standalone</shadedClassifierName> |
| 125 | <shadeSourcesContent>true</shadeSourcesContent> |
| 126 | <filters> |
| 127 | <filter> |
| 128 | <artifact>*:*</artifact> |
| 129 | <excludes> |
| 130 | <exclude>META-INF/DEPENDENCIES</exclude> |
| 131 | <exclude>META-INF/LICENSE</exclude> |
| 132 | <exclude>META-INF/NOTICE</exclude> |
| 133 | </excludes> |
| 134 | </filter> |
| 135 | </filters> |
| 136 | <transformers> |
| 137 | <!-- add Main-Class to manifest file --> |
| 138 | <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 139 | <mainClass>org.onap.validation.cli.Main</mainClass> |
| 140 | <manifestEntries> |
| 141 | <Multi-Release>true</Multi-Release> |
| 142 | </manifestEntries> |
| 143 | </transformer> |
| 144 | </transformers> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
Pawel | b6ff67f | 2020-11-12 12:15:55 +0100 | [diff] [blame] | 151 | </project> |