|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| 5 | +
|
| 6 | + Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. |
| 7 | +
|
| 8 | + The contents of this file are subject to the terms of either the GNU |
| 9 | + General Public License Version 2 only ("GPL") or the Common Development |
| 10 | + and Distribution License("CDDL") (collectively, the "License"). You |
| 11 | + may not use this file except in compliance with the License. You can |
| 12 | + obtain a copy of the License at |
| 13 | + https://oss.oracle.com/licenses/CDDL+GPL-1.1 |
| 14 | + or LICENSE.txt. See the License for the specific |
| 15 | + language governing permissions and limitations under the License. |
| 16 | +
|
| 17 | + When distributing the software, include this License Header Notice in each |
| 18 | + file and include the License file at LICENSE.txt. |
| 19 | +
|
| 20 | + GPL Classpath Exception: |
| 21 | + Oracle designates this particular file as subject to the "Classpath" |
| 22 | + exception as provided by Oracle in the GPL Version 2 section of the License |
| 23 | + file that accompanied this code. |
| 24 | +
|
| 25 | + Modifications: |
| 26 | + If applicable, add the following below the License Header, with the fields |
| 27 | + enclosed by brackets [] replaced by your own identifying information: |
| 28 | + "Portions Copyright [year] [name of copyright owner]" |
| 29 | +
|
| 30 | + Contributor(s): |
| 31 | + If you wish your version of this file to be governed by only the CDDL or |
| 32 | + only the GPL Version 2, indicate your decision by adding "[Contributor] |
| 33 | + elects to include this software in this distribution under the [CDDL or GPL |
| 34 | + Version 2] license." If you don't indicate a single choice of license, a |
| 35 | + recipient has the option to distribute your version of this file under |
| 36 | + either the CDDL, the GPL Version 2 or to extend the choice of license to |
| 37 | + its licensees as provided above. However, if you add GPL Version 2 code |
| 38 | + and therefore, elected the GPL Version 2 license, then the option applies |
| 39 | + only if the new code is made subject to such option by the copyright |
| 40 | + holder. |
| 41 | +
|
| 42 | +--> |
| 43 | + |
| 44 | +<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/maven-v4_0_0.xsd"> |
| 45 | + <modelVersion>4.0.0</modelVersion> |
| 46 | + <parent> |
| 47 | + <groupId>net.java</groupId> |
| 48 | + <artifactId>jvnet-parent</artifactId> |
| 49 | + <version>5</version> |
| 50 | + <relativePath /> |
| 51 | + </parent> |
| 52 | + |
| 53 | + <groupId>org.glassfish.external</groupId> |
| 54 | + <artifactId>derby</artifactId> |
| 55 | + <name>Apache Derby repackaged</name> |
| 56 | + <version>10.13.1.1-SNAPSHOT</version> |
| 57 | + <packaging>pom</packaging> |
| 58 | + |
| 59 | + <properties> |
| 60 | + <derby.version>10.13.1.1</derby.version> |
| 61 | + <derby.download.url>http://www-eu.apache.org/dist/db/derby/db-derby-${derby.version}/db-derby-${derby.version}-bin.zip</derby.download.url> |
| 62 | + </properties> |
| 63 | + |
| 64 | + <licenses> |
| 65 | + <license> |
| 66 | + <name>CDDL + GPLv2 with classpath exception</name> |
| 67 | + <url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url> |
| 68 | + <distribution>repo</distribution> |
| 69 | + <comments>A business-friendly OSS license</comments> |
| 70 | + </license> |
| 71 | + </licenses> |
| 72 | + |
| 73 | + <scm> |
| 74 | + <connection>scm:git:git@github.com:javaee/repackaged.git</connection> |
| 75 | + <developerConnection>scm:git:git@github.com:javaee/repackaged.git</developerConnection> |
| 76 | + <url>https://github.com/javaee/repackaged.git</url> |
| 77 | + </scm> |
| 78 | + |
| 79 | + <build> |
| 80 | + <plugins> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-antrun-plugin</artifactId> |
| 84 | + <version>1.8</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>download-files</id> |
| 88 | + <phase>prepare-package</phase> |
| 89 | + <goals> |
| 90 | + <goal>run</goal> |
| 91 | + </goals> |
| 92 | + <configuration> |
| 93 | + <target> |
| 94 | + <!-- download the zip --> |
| 95 | + <get src="${derby.download.url}" |
| 96 | + dest="target/derby-${project.version}.zip" |
| 97 | + verbose="false" usetimestamp="true" /> |
| 98 | + </target> |
| 99 | + </configuration> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.codehaus.mojo</groupId> |
| 105 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 106 | + <version>3.0.0</version> |
| 107 | + <executions> |
| 108 | + <execution> |
| 109 | + <id>attach-artifacts</id> |
| 110 | + <phase>prepare-package</phase> |
| 111 | + <goals> |
| 112 | + <goal>attach-artifact</goal> |
| 113 | + </goals> |
| 114 | + <configuration> |
| 115 | + <artifacts> |
| 116 | + <artifact> |
| 117 | + <file>${project.build.directory}/${project.build.finalName}.zip</file> |
| 118 | + <type>zip</type> |
| 119 | + </artifact> |
| 120 | + </artifacts> |
| 121 | + </configuration> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <groupId>org.apache.maven.plugins</groupId> |
| 127 | + <artifactId>maven-gpg-plugin</artifactId> |
| 128 | + <version>1.6</version> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <id>sign-artifacts</id> |
| 132 | + <phase>verify</phase> |
| 133 | + <goals> |
| 134 | + <goal>sign</goal> |
| 135 | + </goals> |
| 136 | + </execution> |
| 137 | + </executions> |
| 138 | + </plugin> |
| 139 | + <plugin> |
| 140 | + <groupId>org.apache.maven.plugins</groupId> |
| 141 | + <artifactId>maven-release-plugin</artifactId> |
| 142 | + <version>2.5.2</version> |
| 143 | + <configuration> |
| 144 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 145 | + <useReleaseProfile>false</useReleaseProfile> |
| 146 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 147 | + <arguments>${release.arguments}</arguments> |
| 148 | + </configuration> |
| 149 | + <dependencies> |
| 150 | + <dependency> |
| 151 | + <groupId>org.apache.maven.scm</groupId> |
| 152 | + <artifactId>maven-scm-provider-gitexe</artifactId> |
| 153 | + <version>1.9.4</version> |
| 154 | + </dependency> |
| 155 | + </dependencies> |
| 156 | + </plugin> |
| 157 | + </plugins> |
| 158 | + </build> |
| 159 | +</project> |
0 commit comments