|  | 
|  | 1 | +<?xml version="1.0" encoding="UTF-8"?> | 
|  | 2 | + | 
|  | 3 | +<!-- | 
|  | 4 | +Licensed to the Apache Software Foundation (ASF) under one | 
|  | 5 | +or more contributor license agreements.  See the NOTICE file | 
|  | 6 | +distributed with this work for additional information | 
|  | 7 | +regarding copyright ownership.  The ASF licenses this file | 
|  | 8 | +to you under the Apache License, Version 2.0 (the | 
|  | 9 | +"License"); you may not use this file except in compliance | 
|  | 10 | +with the License.  You may obtain a copy of the License at | 
|  | 11 | +
 | 
|  | 12 | +  http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 13 | +
 | 
|  | 14 | +Unless required by applicable law or agreed to in writing, | 
|  | 15 | +software distributed under the License is distributed on an | 
|  | 16 | +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | 
|  | 17 | +KIND, either express or implied.  See the License for the | 
|  | 18 | +specific language governing permissions and limitations | 
|  | 19 | +under the License. | 
|  | 20 | +--> | 
|  | 21 | + | 
|  | 22 | +<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"> | 
|  | 23 | +  <modelVersion>4.0.0</modelVersion> | 
|  | 24 | + | 
|  | 25 | +  <groupId>org.apache.maven.its.gpg.srwe</groupId> | 
|  | 26 | +  <artifactId>test</artifactId> | 
|  | 27 | +  <version>1.0</version> | 
|  | 28 | +  <packaging>jar</packaging> | 
|  | 29 | + | 
|  | 30 | +  <description> | 
|  | 31 | +    Tests the exclusion of signature files while signing. | 
|  | 32 | +  </description> | 
|  | 33 | + | 
|  | 34 | +  <properties> | 
|  | 35 | +    <maven.test.skip>true</maven.test.skip> | 
|  | 36 | +  </properties> | 
|  | 37 | + | 
|  | 38 | +  <build> | 
|  | 39 | +    <plugins> | 
|  | 40 | +      <plugin> | 
|  | 41 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 42 | +        <artifactId>maven-compiler-plugin</artifactId> | 
|  | 43 | +        <version>2.0.2</version> | 
|  | 44 | +      </plugin> | 
|  | 45 | +      <plugin> | 
|  | 46 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 47 | +        <artifactId>maven-gpg-plugin</artifactId> | 
|  | 48 | +        <version>@project.version@</version> | 
|  | 49 | +        <configuration> | 
|  | 50 | +          <passphrase>TEST</passphrase> | 
|  | 51 | +        </configuration> | 
|  | 52 | +        <executions> | 
|  | 53 | +          <execution> | 
|  | 54 | +            <id>sign-artifacts</id> | 
|  | 55 | +            <goals> | 
|  | 56 | +              <goal>sign</goal> | 
|  | 57 | +            </goals> | 
|  | 58 | +          </execution> | 
|  | 59 | +          <execution> | 
|  | 60 | +            <!-- second signing run to test default exclusion of *.asc files --> | 
|  | 61 | +            <id>resign-artifacts</id> | 
|  | 62 | +            <goals> | 
|  | 63 | +              <goal>sign</goal> | 
|  | 64 | +            </goals> | 
|  | 65 | +          </execution> | 
|  | 66 | +        </executions> | 
|  | 67 | +      </plugin> | 
|  | 68 | +      <plugin> | 
|  | 69 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 70 | +        <artifactId>maven-install-plugin</artifactId> | 
|  | 71 | +        <version>2.2</version> | 
|  | 72 | +        <configuration> | 
|  | 73 | +          <updateReleaseInfo>true</updateReleaseInfo> | 
|  | 74 | +        </configuration> | 
|  | 75 | +      </plugin> | 
|  | 76 | +      <plugin> | 
|  | 77 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 78 | +        <artifactId>maven-jar-plugin</artifactId> | 
|  | 79 | +        <version>2.1</version> | 
|  | 80 | +      </plugin> | 
|  | 81 | +      <plugin> | 
|  | 82 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 83 | +        <artifactId>maven-resources-plugin</artifactId> | 
|  | 84 | +        <version>2.2</version> | 
|  | 85 | +      </plugin> | 
|  | 86 | +      <plugin> | 
|  | 87 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 88 | +        <artifactId>maven-source-plugin</artifactId> | 
|  | 89 | +        <version>2.0.4</version> | 
|  | 90 | +        <executions> | 
|  | 91 | +          <execution> | 
|  | 92 | +            <id>attach-sources</id> | 
|  | 93 | +            <goals> | 
|  | 94 | +              <goal>jar</goal> | 
|  | 95 | +            </goals> | 
|  | 96 | +          </execution> | 
|  | 97 | +        </executions> | 
|  | 98 | +      </plugin> | 
|  | 99 | +      <plugin> | 
|  | 100 | +        <groupId>org.apache.maven.plugins</groupId> | 
|  | 101 | +        <artifactId>maven-surefire-plugin</artifactId> | 
|  | 102 | +        <version>2.3.1</version> | 
|  | 103 | +      </plugin> | 
|  | 104 | +    </plugins> | 
|  | 105 | +  </build> | 
|  | 106 | + | 
|  | 107 | +</project> | 
0 commit comments