xref: /JGit/org.eclipse.jgit.archive/pom.xml (revision 27f1fb668f09bccf7c506f51f16d70d04ec8a240)
156276d05SJonathan Nieder<?xml version="1.0" encoding="UTF-8"?>
256276d05SJonathan Nieder<!--
356276d05SJonathan Nieder   Copyright (C) 2013, Google Inc.
456276d05SJonathan Nieder   and other copyright owners as documented in the project's IP log.
556276d05SJonathan Nieder
656276d05SJonathan Nieder   This program and the accompanying materials are made available
756276d05SJonathan Nieder   under the terms of the Eclipse Distribution License v1.0 which
856276d05SJonathan Nieder   accompanies this distribution, is reproduced below, and is
956276d05SJonathan Nieder   available at http://www.eclipse.org/org/documents/edl-v10.php
1056276d05SJonathan Nieder
1156276d05SJonathan Nieder   All rights reserved.
1256276d05SJonathan Nieder
1356276d05SJonathan Nieder   Redistribution and use in source and binary forms, with or
1456276d05SJonathan Nieder   without modification, are permitted provided that the following
1556276d05SJonathan Nieder   conditions are met:
1656276d05SJonathan Nieder
1756276d05SJonathan Nieder   - Redistributions of source code must retain the above copyright
1856276d05SJonathan Nieder     notice, this list of conditions and the following disclaimer.
1956276d05SJonathan Nieder
2056276d05SJonathan Nieder   - Redistributions in binary form must reproduce the above
2156276d05SJonathan Nieder     copyright notice, this list of conditions and the following
2256276d05SJonathan Nieder     disclaimer in the documentation and/or other materials provided
2356276d05SJonathan Nieder     with the distribution.
2456276d05SJonathan Nieder
2556276d05SJonathan Nieder   - Neither the name of the Eclipse Foundation, Inc. nor the
2656276d05SJonathan Nieder     names of its contributors may be used to endorse or promote
2756276d05SJonathan Nieder     products derived from this software without specific prior
2856276d05SJonathan Nieder     written permission.
2956276d05SJonathan Nieder
3056276d05SJonathan Nieder   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3156276d05SJonathan Nieder   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3256276d05SJonathan Nieder   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
3356276d05SJonathan Nieder   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3456276d05SJonathan Nieder   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
3556276d05SJonathan Nieder   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3656276d05SJonathan Nieder   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3756276d05SJonathan Nieder   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3856276d05SJonathan Nieder   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
3956276d05SJonathan Nieder   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
4056276d05SJonathan Nieder   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
4156276d05SJonathan Nieder   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
4256276d05SJonathan Nieder   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4356276d05SJonathan Nieder-->
4456276d05SJonathan Nieder
4556276d05SJonathan Nieder<project xmlns="http://maven.apache.org/POM/4.0.0"
4656276d05SJonathan Nieder    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4756276d05SJonathan Nieder    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4856276d05SJonathan Nieder  <modelVersion>4.0.0</modelVersion>
4956276d05SJonathan Nieder
5056276d05SJonathan Nieder  <parent>
5156276d05SJonathan Nieder    <groupId>org.eclipse.jgit</groupId>
5256276d05SJonathan Nieder    <artifactId>org.eclipse.jgit-parent</artifactId>
5390107d53SMatthias Sohn    <version>5.4.0-SNAPSHOT</version>
5456276d05SJonathan Nieder  </parent>
5556276d05SJonathan Nieder
5656276d05SJonathan Nieder  <artifactId>org.eclipse.jgit.archive</artifactId>
57eb7a93bbSDavid Pursehouse  <name>JGit - Archive Formats</name>
5856276d05SJonathan Nieder
5956276d05SJonathan Nieder  <description>
6056276d05SJonathan Nieder    Support for archiving a Git tree in formats such as zip and tar.
6156276d05SJonathan Nieder    This is a separate bundle from org.eclipse.jgit to avoid a
6256276d05SJonathan Nieder    dependency by the latter on commons-compress.
6356276d05SJonathan Nieder  </description>
6456276d05SJonathan Nieder
6556276d05SJonathan Nieder  <properties>
6656276d05SJonathan Nieder    <translate-qualifier/>
67*27f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
6856276d05SJonathan Nieder  </properties>
6956276d05SJonathan Nieder
7056276d05SJonathan Nieder  <dependencies>
7156276d05SJonathan Nieder    <dependency>
7256276d05SJonathan Nieder      <groupId>org.apache.commons</groupId>
7356276d05SJonathan Nieder      <artifactId>commons-compress</artifactId>
7456276d05SJonathan Nieder    </dependency>
7556276d05SJonathan Nieder
7656276d05SJonathan Nieder    <dependency>
7756276d05SJonathan Nieder      <groupId>org.eclipse.jgit</groupId>
7856276d05SJonathan Nieder      <artifactId>org.eclipse.jgit</artifactId>
7956276d05SJonathan Nieder      <version>${project.version}</version>
8056276d05SJonathan Nieder    </dependency>
8156276d05SJonathan Nieder
8256276d05SJonathan Nieder    <dependency>
8356276d05SJonathan Nieder      <groupId>org.osgi</groupId>
8456276d05SJonathan Nieder      <artifactId>org.osgi.core</artifactId>
8556276d05SJonathan Nieder    </dependency>
8656276d05SJonathan Nieder  </dependencies>
8756276d05SJonathan Nieder
8856276d05SJonathan Nieder  <build>
8956276d05SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
9056276d05SJonathan Nieder
9156276d05SJonathan Nieder    <resources>
9256276d05SJonathan Nieder      <resource>
9356276d05SJonathan Nieder        <directory>.</directory>
9456276d05SJonathan Nieder        <includes>
9556276d05SJonathan Nieder          <include>plugin.properties</include>
9656276d05SJonathan Nieder          <include>about.html</include>
9756276d05SJonathan Nieder        </includes>
9856276d05SJonathan Nieder      </resource>
9956276d05SJonathan Nieder    </resources>
10056276d05SJonathan Nieder
10156276d05SJonathan Nieder    <plugins>
10256276d05SJonathan Nieder      <plugin>
103*27f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
104*27f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
105*27f1fb66SMatthias Sohn        <executions>
106*27f1fb66SMatthias Sohn          <execution>
107*27f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
108*27f1fb66SMatthias Sohn            <phase>generate-resources</phase>
109*27f1fb66SMatthias Sohn            <configuration>
110*27f1fb66SMatthias Sohn              <target>
111*27f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
112*27f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
113*27f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
114*27f1fb66SMatthias Sohn                </replace>
115*27f1fb66SMatthias Sohn              </target>
116*27f1fb66SMatthias Sohn            </configuration>
117*27f1fb66SMatthias Sohn            <goals>
118*27f1fb66SMatthias Sohn              <goal>run</goal>
119*27f1fb66SMatthias Sohn            </goals>
120*27f1fb66SMatthias Sohn          </execution>
121*27f1fb66SMatthias Sohn        </executions>
122*27f1fb66SMatthias Sohn      </plugin>
123*27f1fb66SMatthias Sohn
124*27f1fb66SMatthias Sohn      <plugin>
125*27f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
126*27f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
127*27f1fb66SMatthias Sohn        <inherited>true</inherited>
128*27f1fb66SMatthias Sohn        <executions>
129*27f1fb66SMatthias Sohn          <execution>
130*27f1fb66SMatthias Sohn            <id>attach-sources</id>
131*27f1fb66SMatthias Sohn            <phase>process-classes</phase>
132*27f1fb66SMatthias Sohn            <goals>
133*27f1fb66SMatthias Sohn              <goal>jar</goal>
134*27f1fb66SMatthias Sohn            </goals>
135*27f1fb66SMatthias Sohn            <configuration>
136*27f1fb66SMatthias Sohn              <archive>
137*27f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
138*27f1fb66SMatthias Sohn              </archive>
139*27f1fb66SMatthias Sohn            </configuration>
140*27f1fb66SMatthias Sohn          </execution>
141*27f1fb66SMatthias Sohn        </executions>
142*27f1fb66SMatthias Sohn      </plugin>
143*27f1fb66SMatthias Sohn
144*27f1fb66SMatthias Sohn      <plugin>
14556276d05SJonathan Nieder        <artifactId>maven-jar-plugin</artifactId>
14656276d05SJonathan Nieder        <configuration>
14756276d05SJonathan Nieder          <archive>
14856276d05SJonathan Nieder            <manifestFile>${bundle-manifest}</manifestFile>
14956276d05SJonathan Nieder          </archive>
15056276d05SJonathan Nieder        </configuration>
15156276d05SJonathan Nieder      </plugin>
152100179a1SMatthias Sohn
153100179a1SMatthias Sohn      <plugin>
154100179a1SMatthias Sohn          <groupId>com.github.siom79.japicmp</groupId>
155100179a1SMatthias Sohn          <artifactId>japicmp-maven-plugin</artifactId>
156100179a1SMatthias Sohn          <version>${japicmp-version}</version>
157100179a1SMatthias Sohn          <configuration>
158100179a1SMatthias Sohn              <oldVersion>
159100179a1SMatthias Sohn                  <dependency>
160100179a1SMatthias Sohn                      <groupId>${project.groupId}</groupId>
161100179a1SMatthias Sohn                      <artifactId>${project.artifactId}</artifactId>
162100179a1SMatthias Sohn                      <version>${jgit-last-release-version}</version>
163100179a1SMatthias Sohn                  </dependency>
164100179a1SMatthias Sohn              </oldVersion>
165100179a1SMatthias Sohn              <newVersion>
166100179a1SMatthias Sohn                  <file>
167100179a1SMatthias Sohn                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
168100179a1SMatthias Sohn                  </file>
169100179a1SMatthias Sohn              </newVersion>
170100179a1SMatthias Sohn              <parameter>
171100179a1SMatthias Sohn                  <onlyModified>true</onlyModified>
172100179a1SMatthias Sohn                  <includes>
173100179a1SMatthias Sohn                      <include>org.eclipse.jgit.*</include>
174100179a1SMatthias Sohn                  </includes>
175100179a1SMatthias Sohn                  <accessModifier>public</accessModifier>
176100179a1SMatthias Sohn                  <breakBuildOnModifications>false</breakBuildOnModifications>
177100179a1SMatthias Sohn                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
178100179a1SMatthias Sohn                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
179100179a1SMatthias Sohn                  <includeSynthetic>false</includeSynthetic>
180100179a1SMatthias Sohn                  <ignoreMissingClasses>false</ignoreMissingClasses>
181100179a1SMatthias Sohn                  <skipPomModules>true</skipPomModules>
182100179a1SMatthias Sohn              </parameter>
183100179a1SMatthias Sohn              <skip>false</skip>
184100179a1SMatthias Sohn          </configuration>
185100179a1SMatthias Sohn          <executions>
186100179a1SMatthias Sohn            <execution>
187100179a1SMatthias Sohn             <phase>verify</phase>
188100179a1SMatthias Sohn             <goals>
189100179a1SMatthias Sohn               <goal>cmp</goal>
190100179a1SMatthias Sohn             </goals>
191100179a1SMatthias Sohn          </execution>
192100179a1SMatthias Sohn        </executions>
193100179a1SMatthias Sohn      </plugin>
19456276d05SJonathan Nieder    </plugins>
19556276d05SJonathan Nieder  </build>
196100179a1SMatthias Sohn
197100179a1SMatthias Sohn  <reporting>
198100179a1SMatthias Sohn    <plugins>
199100179a1SMatthias Sohn      <plugin>
200100179a1SMatthias Sohn          <groupId>com.github.siom79.japicmp</groupId>
201100179a1SMatthias Sohn          <artifactId>japicmp-maven-plugin</artifactId>
202100179a1SMatthias Sohn          <version>${japicmp-version}</version>
203100179a1SMatthias Sohn          <reportSets>
204100179a1SMatthias Sohn              <reportSet>
205100179a1SMatthias Sohn                  <reports>
206100179a1SMatthias Sohn                      <report>cmp-report</report>
207100179a1SMatthias Sohn                  </reports>
208100179a1SMatthias Sohn              </reportSet>
209100179a1SMatthias Sohn          </reportSets>
210100179a1SMatthias Sohn          <configuration>
211100179a1SMatthias Sohn              <oldVersion>
212100179a1SMatthias Sohn                  <dependency>
213100179a1SMatthias Sohn                      <groupId>${project.groupId}</groupId>
214100179a1SMatthias Sohn                      <artifactId>${project.artifactId}</artifactId>
215100179a1SMatthias Sohn                      <version>${jgit-last-release-version}</version>
216100179a1SMatthias Sohn                  </dependency>
217100179a1SMatthias Sohn              </oldVersion>
218100179a1SMatthias Sohn              <newVersion>
219100179a1SMatthias Sohn                  <file>
220100179a1SMatthias Sohn                      <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
221100179a1SMatthias Sohn                  </file>
222100179a1SMatthias Sohn              </newVersion>
223100179a1SMatthias Sohn              <parameter>
224100179a1SMatthias Sohn                  <onlyModified>true</onlyModified>
225100179a1SMatthias Sohn                  <includes>
226100179a1SMatthias Sohn                      <include>org.eclipse.jgit.*</include>
227100179a1SMatthias Sohn                  </includes>
228100179a1SMatthias Sohn                  <accessModifier>public</accessModifier>
229100179a1SMatthias Sohn                  <breakBuildOnModifications>false</breakBuildOnModifications>
230100179a1SMatthias Sohn                  <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
231100179a1SMatthias Sohn                  <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
232100179a1SMatthias Sohn                  <includeSynthetic>false</includeSynthetic>
233100179a1SMatthias Sohn                  <ignoreMissingClasses>false</ignoreMissingClasses>
234100179a1SMatthias Sohn                  <skipPomModules>true</skipPomModules>
235100179a1SMatthias Sohn              </parameter>
236100179a1SMatthias Sohn              <skip>false</skip>
237100179a1SMatthias Sohn          </configuration>
238100179a1SMatthias Sohn      </plugin>
239100179a1SMatthias Sohn    </plugins>
240100179a1SMatthias Sohn  </reporting>
24156276d05SJonathan Nieder</project>
242