|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2012-2014 the original author or authors. |
| 4 | + ~ |
| 5 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + ~ you may not use this file except in compliance with the License. |
| 7 | + ~ 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 |
| 12 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + ~ See the License for the specific language governing permissions and |
| 15 | + ~ limitations under the License. |
| 16 | + --> |
| 17 | + |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | + <modelVersion>4.0.0</modelVersion> |
| 21 | + <groupId>org.springframework.boot.maven.it</groupId> |
| 22 | + <artifactId>jar-exclude-entry</artifactId> |
| 23 | + <version>0.0.1.BUILD-SNAPSHOT</version> |
| 24 | + <properties> |
| 25 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 26 | + </properties> |
| 27 | + <build> |
| 28 | + <plugins> |
| 29 | + <plugin> |
| 30 | + <groupId>@project.groupId@</groupId> |
| 31 | + <artifactId>@project.artifactId@</artifactId> |
| 32 | + <version>@project.version@</version> |
| 33 | + <executions> |
| 34 | + <execution> |
| 35 | + <goals> |
| 36 | + <goal>repackage</goal> |
| 37 | + </goals> |
| 38 | + <configuration> |
| 39 | + <excludes> |
| 40 | + <exclude> |
| 41 | + <groupId>javax.servlet</groupId> |
| 42 | + <artifactId>servlet-api</artifactId> |
| 43 | + </exclude> |
| 44 | + </excludes> |
| 45 | + </configuration> |
| 46 | + </execution> |
| 47 | + </executions> |
| 48 | + </plugin> |
| 49 | + <plugin> |
| 50 | + <groupId>org.apache.maven.plugins</groupId> |
| 51 | + <artifactId>maven-jar-plugin</artifactId> |
| 52 | + <version>2.4</version> |
| 53 | + <configuration> |
| 54 | + <archive> |
| 55 | + <manifestEntries> |
| 56 | + <Not-Used>Foo</Not-Used> |
| 57 | + </manifestEntries> |
| 58 | + </archive> |
| 59 | + </configuration> |
| 60 | + </plugin> |
| 61 | + </plugins> |
| 62 | + </build> |
| 63 | + <dependencies> |
| 64 | + <dependency> |
| 65 | + <groupId>org.springframework</groupId> |
| 66 | + <artifactId>spring-context</artifactId> |
| 67 | + <version>3.2.3.RELEASE</version> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>javax.servlet</groupId> |
| 71 | + <artifactId>javax.servlet-api</artifactId> |
| 72 | + <version>3.0.1</version> |
| 73 | + <scope>provided</scope> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>javax.servlet</groupId> |
| 77 | + <artifactId>servlet-api</artifactId> |
| 78 | + <version>2.5</version> |
| 79 | + <scope>provided</scope> |
| 80 | + </dependency> |
| 81 | + </dependencies> |
| 82 | +</project> |
0 commit comments