Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 3 | Copyright (C) 2013, Google Inc. and others |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 4 | |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 5 | This program and the accompanying materials are made available under the |
| 6 | terms of the Eclipse Distribution License v. 1.0 which is available at |
| 7 | http://www.eclipse.org/org/documents/edl-v10.php. |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 8 | |
Matthias Sohn | 5c5f7c6 | 2020-01-04 00:50:50 +0100 | [diff] [blame] | 9 | SPDX-License-Identifier: BSD-3-Clause |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 10 | --> |
| 11 | |
| 12 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 13 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 14 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | |
| 17 | <parent> |
| 18 | <groupId>org.eclipse.jgit</groupId> |
| 19 | <artifactId>org.eclipse.jgit-parent</artifactId> |
Matthias Sohn | c338c19 | 2024-09-03 23:47:11 +0200 | [diff] [blame] | 20 | <version>7.1.0-SNAPSHOT</version> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 21 | </parent> |
| 22 | |
| 23 | <artifactId>org.eclipse.jgit.archive</artifactId> |
David Pursehouse | eb7a93b | 2016-07-21 17:37:32 +0900 | [diff] [blame] | 24 | <name>JGit - Archive Formats</name> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 25 | |
| 26 | <description> |
| 27 | Support for archiving a Git tree in formats such as zip and tar. |
| 28 | This is a separate bundle from org.eclipse.jgit to avoid a |
| 29 | dependency by the latter on commons-compress. |
| 30 | </description> |
| 31 | |
| 32 | <properties> |
| 33 | <translate-qualifier/> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 34 | <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 35 | </properties> |
| 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>org.apache.commons</groupId> |
| 40 | <artifactId>commons-compress</artifactId> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
Matthias Sohn | 69f64a5 | 2024-08-28 14:59:04 +0200 | [diff] [blame] | 44 | <groupId>org.tukaani</groupId> |
| 45 | <artifactId>xz</artifactId> |
| 46 | </dependency> |
| 47 | |
| 48 | <dependency> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 49 | <groupId>org.eclipse.jgit</groupId> |
| 50 | <artifactId>org.eclipse.jgit</artifactId> |
| 51 | <version>${project.version}</version> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
| 55 | <groupId>org.osgi</groupId> |
| 56 | <artifactId>org.osgi.core</artifactId> |
| 57 | </dependency> |
| 58 | </dependencies> |
| 59 | |
| 60 | <build> |
| 61 | <sourceDirectory>src/</sourceDirectory> |
| 62 | |
| 63 | <resources> |
| 64 | <resource> |
| 65 | <directory>.</directory> |
| 66 | <includes> |
| 67 | <include>plugin.properties</include> |
| 68 | <include>about.html</include> |
| 69 | </includes> |
| 70 | </resource> |
| 71 | </resources> |
| 72 | |
| 73 | <plugins> |
| 74 | <plugin> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 75 | <groupId>org.apache.maven.plugins</groupId> |
| 76 | <artifactId>maven-antrun-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>translate-source-qualifier</id> |
| 80 | <phase>generate-resources</phase> |
| 81 | <configuration> |
| 82 | <target> |
| 83 | <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/> |
| 84 | <replace file="${source-bundle-manifest}"> |
Matthias Sohn | 6007371 | 2023-10-06 01:10:40 +0200 | [diff] [blame] | 85 | <replacefilter token=".qualifier" value=".${commit.time.version}"/> |
Matthias Sohn | 27f1fb6 | 2019-04-01 01:30:44 +0200 | [diff] [blame] | 86 | </replace> |
| 87 | </target> |
| 88 | </configuration> |
| 89 | <goals> |
| 90 | <goal>run</goal> |
| 91 | </goals> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | </plugin> |
| 95 | |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-source-plugin</artifactId> |
| 99 | <inherited>true</inherited> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>attach-sources</id> |
| 103 | <phase>process-classes</phase> |
| 104 | <goals> |
| 105 | <goal>jar</goal> |
| 106 | </goals> |
| 107 | <configuration> |
| 108 | <archive> |
| 109 | <manifestFile>${source-bundle-manifest}</manifestFile> |
| 110 | </archive> |
| 111 | </configuration> |
| 112 | </execution> |
| 113 | </executions> |
| 114 | </plugin> |
| 115 | |
| 116 | <plugin> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 117 | <artifactId>maven-jar-plugin</artifactId> |
| 118 | <configuration> |
| 119 | <archive> |
| 120 | <manifestFile>${bundle-manifest}</manifestFile> |
| 121 | </archive> |
| 122 | </configuration> |
| 123 | </plugin> |
Matthias Sohn | 100179a | 2015-10-01 01:41:52 +0200 | [diff] [blame] | 124 | |
| 125 | <plugin> |
| 126 | <groupId>com.github.siom79.japicmp</groupId> |
| 127 | <artifactId>japicmp-maven-plugin</artifactId> |
| 128 | <version>${japicmp-version}</version> |
| 129 | <configuration> |
| 130 | <oldVersion> |
| 131 | <dependency> |
| 132 | <groupId>${project.groupId}</groupId> |
| 133 | <artifactId>${project.artifactId}</artifactId> |
| 134 | <version>${jgit-last-release-version}</version> |
| 135 | </dependency> |
| 136 | </oldVersion> |
| 137 | <newVersion> |
| 138 | <file> |
| 139 | <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> |
| 140 | </file> |
| 141 | </newVersion> |
| 142 | <parameter> |
| 143 | <onlyModified>true</onlyModified> |
| 144 | <includes> |
| 145 | <include>org.eclipse.jgit.*</include> |
| 146 | </includes> |
| 147 | <accessModifier>public</accessModifier> |
| 148 | <breakBuildOnModifications>false</breakBuildOnModifications> |
| 149 | <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> |
| 150 | <onlyBinaryIncompatible>false</onlyBinaryIncompatible> |
| 151 | <includeSynthetic>false</includeSynthetic> |
| 152 | <ignoreMissingClasses>false</ignoreMissingClasses> |
| 153 | <skipPomModules>true</skipPomModules> |
| 154 | </parameter> |
| 155 | <skip>false</skip> |
| 156 | </configuration> |
| 157 | <executions> |
| 158 | <execution> |
| 159 | <phase>verify</phase> |
| 160 | <goals> |
| 161 | <goal>cmp</goal> |
| 162 | </goals> |
| 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 166 | </plugins> |
| 167 | </build> |
Matthias Sohn | 100179a | 2015-10-01 01:41:52 +0200 | [diff] [blame] | 168 | |
| 169 | <reporting> |
| 170 | <plugins> |
| 171 | <plugin> |
| 172 | <groupId>com.github.siom79.japicmp</groupId> |
| 173 | <artifactId>japicmp-maven-plugin</artifactId> |
| 174 | <version>${japicmp-version}</version> |
| 175 | <reportSets> |
| 176 | <reportSet> |
| 177 | <reports> |
| 178 | <report>cmp-report</report> |
| 179 | </reports> |
| 180 | </reportSet> |
| 181 | </reportSets> |
| 182 | <configuration> |
| 183 | <oldVersion> |
| 184 | <dependency> |
| 185 | <groupId>${project.groupId}</groupId> |
| 186 | <artifactId>${project.artifactId}</artifactId> |
| 187 | <version>${jgit-last-release-version}</version> |
| 188 | </dependency> |
| 189 | </oldVersion> |
| 190 | <newVersion> |
| 191 | <file> |
| 192 | <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> |
| 193 | </file> |
| 194 | </newVersion> |
| 195 | <parameter> |
| 196 | <onlyModified>true</onlyModified> |
| 197 | <includes> |
| 198 | <include>org.eclipse.jgit.*</include> |
| 199 | </includes> |
| 200 | <accessModifier>public</accessModifier> |
| 201 | <breakBuildOnModifications>false</breakBuildOnModifications> |
| 202 | <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> |
| 203 | <onlyBinaryIncompatible>false</onlyBinaryIncompatible> |
| 204 | <includeSynthetic>false</includeSynthetic> |
| 205 | <ignoreMissingClasses>false</ignoreMissingClasses> |
| 206 | <skipPomModules>true</skipPomModules> |
| 207 | </parameter> |
| 208 | <skip>false</skip> |
| 209 | </configuration> |
| 210 | </plugin> |
| 211 | </plugins> |
| 212 | </reporting> |
Jonathan Nieder | 56276d0 | 2013-05-24 17:30:18 -0700 | [diff] [blame] | 213 | </project> |