xref: /JGit/org.eclipse.jgit.archive/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
156276d05SJonathan Nieder<?xml version="1.0" encoding="UTF-8"?>
256276d05SJonathan Nieder<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2013, Google Inc. and others
456276d05SJonathan Nieder
55c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
65c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
75c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
856276d05SJonathan Nieder
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
1056276d05SJonathan Nieder-->
1156276d05SJonathan Nieder
1256276d05SJonathan Nieder<project xmlns="http://maven.apache.org/POM/4.0.0"
1356276d05SJonathan Nieder    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1456276d05SJonathan Nieder    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1556276d05SJonathan Nieder  <modelVersion>4.0.0</modelVersion>
1656276d05SJonathan Nieder
1756276d05SJonathan Nieder  <parent>
1856276d05SJonathan Nieder    <groupId>org.eclipse.jgit</groupId>
1956276d05SJonathan Nieder    <artifactId>org.eclipse.jgit-parent</artifactId>
20*1cbfea9eSMatthias Sohn    <version>5.13.0-SNAPSHOT</version>
2156276d05SJonathan Nieder  </parent>
2256276d05SJonathan Nieder
2356276d05SJonathan Nieder  <artifactId>org.eclipse.jgit.archive</artifactId>
24eb7a93bbSDavid Pursehouse  <name>JGit - Archive Formats</name>
2556276d05SJonathan Nieder
2656276d05SJonathan Nieder  <description>
2756276d05SJonathan Nieder    Support for archiving a Git tree in formats such as zip and tar.
2856276d05SJonathan Nieder    This is a separate bundle from org.eclipse.jgit to avoid a
2956276d05SJonathan Nieder    dependency by the latter on commons-compress.
3056276d05SJonathan Nieder  </description>
3156276d05SJonathan Nieder
3256276d05SJonathan Nieder  <properties>
3356276d05SJonathan Nieder    <translate-qualifier/>
3427f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
3556276d05SJonathan Nieder  </properties>
3656276d05SJonathan Nieder
3756276d05SJonathan Nieder  <dependencies>
3856276d05SJonathan Nieder    <dependency>
3956276d05SJonathan Nieder      <groupId>org.apache.commons</groupId>
4056276d05SJonathan Nieder      <artifactId>commons-compress</artifactId>
4156276d05SJonathan Nieder    </dependency>
4256276d05SJonathan Nieder
4356276d05SJonathan Nieder    <dependency>
4456276d05SJonathan Nieder      <groupId>org.eclipse.jgit</groupId>
4556276d05SJonathan Nieder      <artifactId>org.eclipse.jgit</artifactId>
4656276d05SJonathan Nieder      <version>${project.version}</version>
4756276d05SJonathan Nieder    </dependency>
4856276d05SJonathan Nieder
4956276d05SJonathan Nieder    <dependency>
5056276d05SJonathan Nieder      <groupId>org.osgi</groupId>
5156276d05SJonathan Nieder      <artifactId>org.osgi.core</artifactId>
5256276d05SJonathan Nieder    </dependency>
5356276d05SJonathan Nieder  </dependencies>
5456276d05SJonathan Nieder
5556276d05SJonathan Nieder  <build>
5656276d05SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
5756276d05SJonathan Nieder
5856276d05SJonathan Nieder    <resources>
5956276d05SJonathan Nieder      <resource>
6056276d05SJonathan Nieder        <directory>.</directory>
6156276d05SJonathan Nieder        <includes>
6256276d05SJonathan Nieder          <include>plugin.properties</include>
6356276d05SJonathan Nieder          <include>about.html</include>
6456276d05SJonathan Nieder        </includes>
6556276d05SJonathan Nieder      </resource>
6656276d05SJonathan Nieder    </resources>
6756276d05SJonathan Nieder
6856276d05SJonathan Nieder    <plugins>
6956276d05SJonathan Nieder      <plugin>
7027f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
7127f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
7227f1fb66SMatthias Sohn        <executions>
7327f1fb66SMatthias Sohn          <execution>
7427f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
7527f1fb66SMatthias Sohn            <phase>generate-resources</phase>
7627f1fb66SMatthias Sohn            <configuration>
7727f1fb66SMatthias Sohn              <target>
7827f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
7927f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
8027f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
8127f1fb66SMatthias Sohn                </replace>
8227f1fb66SMatthias Sohn              </target>
8327f1fb66SMatthias Sohn            </configuration>
8427f1fb66SMatthias Sohn            <goals>
8527f1fb66SMatthias Sohn              <goal>run</goal>
8627f1fb66SMatthias Sohn            </goals>
8727f1fb66SMatthias Sohn          </execution>
8827f1fb66SMatthias Sohn        </executions>
8927f1fb66SMatthias Sohn      </plugin>
9027f1fb66SMatthias Sohn
9127f1fb66SMatthias Sohn      <plugin>
9227f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
9327f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
9427f1fb66SMatthias Sohn        <inherited>true</inherited>
9527f1fb66SMatthias Sohn        <executions>
9627f1fb66SMatthias Sohn          <execution>
9727f1fb66SMatthias Sohn            <id>attach-sources</id>
9827f1fb66SMatthias Sohn            <phase>process-classes</phase>
9927f1fb66SMatthias Sohn            <goals>
10027f1fb66SMatthias Sohn              <goal>jar</goal>
10127f1fb66SMatthias Sohn            </goals>
10227f1fb66SMatthias Sohn            <configuration>
10327f1fb66SMatthias Sohn              <archive>
10427f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
10527f1fb66SMatthias Sohn              </archive>
10627f1fb66SMatthias Sohn            </configuration>
10727f1fb66SMatthias Sohn          </execution>
10827f1fb66SMatthias Sohn        </executions>
10927f1fb66SMatthias Sohn      </plugin>
11027f1fb66SMatthias Sohn
11127f1fb66SMatthias Sohn      <plugin>
11256276d05SJonathan Nieder        <artifactId>maven-jar-plugin</artifactId>
11356276d05SJonathan Nieder        <configuration>
11456276d05SJonathan Nieder          <archive>
11556276d05SJonathan Nieder            <manifestFile>${bundle-manifest}</manifestFile>
11656276d05SJonathan Nieder          </archive>
11756276d05SJonathan Nieder        </configuration>
11856276d05SJonathan Nieder      </plugin>
119100179a1SMatthias Sohn
120100179a1SMatthias Sohn      <plugin>
121100179a1SMatthias Sohn          <groupId>com.github.siom79.japicmp</groupId>
122100179a1SMatthias Sohn          <artifactId>japicmp-maven-plugin</artifactId>
123100179a1SMatthias Sohn          <version>${japicmp-version}</version>
124100179a1SMatthias Sohn          <configuration>
125100179a1SMatthias Sohn              <oldVersion>
126100179a1SMatthias Sohn                  <dependency>
127100179a1SMatthias Sohn                      <groupId>${project.groupId}</groupId>
128100179a1SMatthias Sohn                      <artifactId>${project.artifactId}</artifactId>
129100179a1SMatthias Sohn                      <version>${jgit-last-release-version}</version>
130100179a1SMatthias Sohn                  </dependency>
131100179a1SMatthias Sohn              </oldVersion>
132100179a1SMatthias Sohn              <newVersion>
133100179a1SMatthias Sohn                  <file>
134100179a1SMatthias Sohn                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
135100179a1SMatthias Sohn                  </file>
136100179a1SMatthias Sohn              </newVersion>
137100179a1SMatthias Sohn              <parameter>
138100179a1SMatthias Sohn                  <onlyModified>true</onlyModified>
139100179a1SMatthias Sohn                  <includes>
140100179a1SMatthias Sohn                      <include>org.eclipse.jgit.*</include>
141100179a1SMatthias Sohn                  </includes>
142100179a1SMatthias Sohn                  <accessModifier>public</accessModifier>
143100179a1SMatthias Sohn                  <breakBuildOnModifications>false</breakBuildOnModifications>
144100179a1SMatthias Sohn                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
145100179a1SMatthias Sohn                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
146100179a1SMatthias Sohn                  <includeSynthetic>false</includeSynthetic>
147100179a1SMatthias Sohn                  <ignoreMissingClasses>false</ignoreMissingClasses>
148100179a1SMatthias Sohn                  <skipPomModules>true</skipPomModules>
149100179a1SMatthias Sohn              </parameter>
150100179a1SMatthias Sohn              <skip>false</skip>
151100179a1SMatthias Sohn          </configuration>
152100179a1SMatthias Sohn          <executions>
153100179a1SMatthias Sohn            <execution>
154100179a1SMatthias Sohn             <phase>verify</phase>
155100179a1SMatthias Sohn             <goals>
156100179a1SMatthias Sohn               <goal>cmp</goal>
157100179a1SMatthias Sohn             </goals>
158100179a1SMatthias Sohn          </execution>
159100179a1SMatthias Sohn        </executions>
160100179a1SMatthias Sohn      </plugin>
16156276d05SJonathan Nieder    </plugins>
16256276d05SJonathan Nieder  </build>
163100179a1SMatthias Sohn
164100179a1SMatthias Sohn  <reporting>
165100179a1SMatthias Sohn    <plugins>
166100179a1SMatthias Sohn      <plugin>
167100179a1SMatthias Sohn          <groupId>com.github.siom79.japicmp</groupId>
168100179a1SMatthias Sohn          <artifactId>japicmp-maven-plugin</artifactId>
169100179a1SMatthias Sohn          <version>${japicmp-version}</version>
170100179a1SMatthias Sohn          <reportSets>
171100179a1SMatthias Sohn              <reportSet>
172100179a1SMatthias Sohn                  <reports>
173100179a1SMatthias Sohn                      <report>cmp-report</report>
174100179a1SMatthias Sohn                  </reports>
175100179a1SMatthias Sohn              </reportSet>
176100179a1SMatthias Sohn          </reportSets>
177100179a1SMatthias Sohn          <configuration>
178100179a1SMatthias Sohn              <oldVersion>
179100179a1SMatthias Sohn                  <dependency>
180100179a1SMatthias Sohn                      <groupId>${project.groupId}</groupId>
181100179a1SMatthias Sohn                      <artifactId>${project.artifactId}</artifactId>
182100179a1SMatthias Sohn                      <version>${jgit-last-release-version}</version>
183100179a1SMatthias Sohn                  </dependency>
184100179a1SMatthias Sohn              </oldVersion>
185100179a1SMatthias Sohn              <newVersion>
186100179a1SMatthias Sohn                  <file>
187100179a1SMatthias Sohn                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
188100179a1SMatthias Sohn                  </file>
189100179a1SMatthias Sohn              </newVersion>
190100179a1SMatthias Sohn              <parameter>
191100179a1SMatthias Sohn                  <onlyModified>true</onlyModified>
192100179a1SMatthias Sohn                  <includes>
193100179a1SMatthias Sohn                      <include>org.eclipse.jgit.*</include>
194100179a1SMatthias Sohn                  </includes>
195100179a1SMatthias Sohn                  <accessModifier>public</accessModifier>
196100179a1SMatthias Sohn                  <breakBuildOnModifications>false</breakBuildOnModifications>
197100179a1SMatthias Sohn                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
198100179a1SMatthias Sohn                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
199100179a1SMatthias Sohn                  <includeSynthetic>false</includeSynthetic>
200100179a1SMatthias Sohn                  <ignoreMissingClasses>false</ignoreMissingClasses>
201100179a1SMatthias Sohn                  <skipPomModules>true</skipPomModules>
202100179a1SMatthias Sohn              </parameter>
203100179a1SMatthias Sohn              <skip>false</skip>
204100179a1SMatthias Sohn          </configuration>
205100179a1SMatthias Sohn      </plugin>
206100179a1SMatthias Sohn    </plugins>
207100179a1SMatthias Sohn  </reporting>
20856276d05SJonathan Nieder</project>
209