|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Copyright 2012-2018 The Feign Authors |
| 5 | +
|
| 6 | + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 7 | + in compliance with the License. You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software distributed under the License |
| 12 | + is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 13 | + or implied. See the License for the specific language governing permissions and limitations under |
| 14 | + the License. |
| 15 | +
|
| 16 | +--> |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
| 19 | + |
| 20 | + <groupId>${model.groupId}</groupId> |
| 21 | + <artifactId>${model.artifactId}</artifactId> |
| 22 | + <version>${model.version}</version> |
| 23 | + <name>${model.name}</name> |
| 24 | + <packaging>pom</packaging> |
| 25 | + <description>Bill of material</description> |
| 26 | + #if ($model.url) |
| 27 | + |
| 28 | + <url>${model.url}</url>#end |
| 29 | + #if ($model.licenses && !$model.licenses.isEmpty()) |
| 30 | + |
| 31 | + <licenses>#foreach($l in $model.licenses) |
| 32 | + |
| 33 | + <license> |
| 34 | + <name>${l.name}</name> |
| 35 | + <url>${l.url}</url> |
| 36 | + <distribution>${l.distribution}</distribution> |
| 37 | + </license>#end |
| 38 | + |
| 39 | + </licenses> |
| 40 | + #end |
| 41 | + |
| 42 | +#if ($model.developers && !$model.developers.isEmpty()) |
| 43 | + <developers>#foreach($d in $model.developers) |
| 44 | + |
| 45 | + <developer> |
| 46 | + <id>${d.id}</id> |
| 47 | + <name>${d.name}</name>#if($d.email) |
| 48 | + |
| 49 | + <email>${d.email}</email>#end#if($d.url) |
| 50 | + |
| 51 | + <url>${d.url}</url>#end#if($d.organization) |
| 52 | + |
| 53 | + <organization>${d.organization}</organization>#end#if($d.organizationUrl) |
| 54 | + |
| 55 | + <organizationUrl>${d.organizationUrl}</organizationUrl>#end |
| 56 | + |
| 57 | + </developer>#end |
| 58 | + |
| 59 | + </developers> |
| 60 | +#end |
| 61 | + |
| 62 | + <dependencyManagement> |
| 63 | + <dependencies>#foreach($d in $model.dependencyManagement.dependencies) |
| 64 | + |
| 65 | + <dependency> |
| 66 | + <groupId>${d.groupId}</groupId> |
| 67 | + <artifactId>${d.artifactId}</artifactId> |
| 68 | + <version>${d.version}</version>#if( $d.scope && $!d.scope != '' ) |
| 69 | + |
| 70 | + <scope>${d.scope}</scope>#end#if( $d.type && $!d.type != '' && $!d.type != 'jar' && $!d.type != 'bundle') |
| 71 | + |
| 72 | + <type>${d.type}</type>#end#if( $d.classifier && $!d.classifier != '' ) |
| 73 | + |
| 74 | + <classifier>${d.classifier}</classifier>#end#if( $d.exclusions && $d.exclusions.size() > 0 ) |
| 75 | + |
| 76 | + <exclusions>#foreach( $e in $d.exclusions ) |
| 77 | + |
| 78 | + <exclusion> |
| 79 | + <groupId>${e.groupId}</groupId> |
| 80 | + <artifactId>${e.artifactId}</artifactId> |
| 81 | + </exclusion>#end |
| 82 | + |
| 83 | + </exclusions>#end |
| 84 | + |
| 85 | + </dependency>#end |
| 86 | + |
| 87 | + </dependencies> |
| 88 | + </dependencyManagement> |
| 89 | + |
| 90 | +</project> |
0 commit comments