blob: 6ccea33f3bcc1970c0bec912b8a590201996dc69 [file] [log] [blame]
Chris Aniszczyk23522902011-04-27 15:59:14 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01003 Copyright (C) 2011, Ketan Padegaonkar <KetanPadegaonkar@gmail.com> and others
Chris Aniszczyk23522902011-04-27 15:59:14 -05004
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01005 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.
Chris Aniszczyk23522902011-04-27 15:59:14 -05008
Matthias Sohn5c5f7c62020-01-04 00:50:50 +01009 SPDX-License-Identifier: BSD-3-Clause
Chris Aniszczyk23522902011-04-27 15:59:14 -050010-->
11<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
13 <modelVersion>4.0.0</modelVersion>
14
Matthias Sohn27f1fb62019-04-01 01:30:44 +020015 <parent>
16 <groupId>org.eclipse.jgit</groupId>
17 <artifactId>org.eclipse.jgit-parent</artifactId>
Matthias Sohne81c5132022-11-17 00:06:09 +010018 <version>6.4.0-SNAPSHOT</version>
Matthias Sohn27f1fb62019-04-01 01:30:44 +020019 </parent>
Chris Aniszczyk23522902011-04-27 15:59:14 -050020
Matthias Sohn27f1fb62019-04-01 01:30:44 +020021 <artifactId>org.eclipse.jgit.ant</artifactId>
22 <name>JGit - Ant Tasks</name>
Chris Aniszczyk23522902011-04-27 15:59:14 -050023
Matthias Sohn27f1fb62019-04-01 01:30:44 +020024 <description>Ant based user interface for Git</description>
Chris Aniszczyk23522902011-04-27 15:59:14 -050025
Matthias Sohn27f1fb62019-04-01 01:30:44 +020026 <properties>
27 <translate-qualifier />
28 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
29 </properties>
Chris Aniszczyk23522902011-04-27 15:59:14 -050030
Matthias Sohn27f1fb62019-04-01 01:30:44 +020031 <dependencies>
32 <dependency>
33 <groupId>org.eclipse.jgit</groupId>
34 <artifactId>org.eclipse.jgit</artifactId>
35 <version>${project.version}</version>
36 </dependency>
Chris Aniszczyk23522902011-04-27 15:59:14 -050037
Matthias Sohn27f1fb62019-04-01 01:30:44 +020038 <dependency>
39 <groupId>org.apache.ant</groupId>
40 <artifactId>ant</artifactId>
Matthias Sohne06eeb02021-12-14 00:07:10 +010041 <version>1.10.12</version>
Matthias Sohn27f1fb62019-04-01 01:30:44 +020042 </dependency>
43 </dependencies>
Chris Aniszczyk23522902011-04-27 15:59:14 -050044
Matthias Sohn27f1fb62019-04-01 01:30:44 +020045 <build>
46 <sourceDirectory>src/</sourceDirectory>
Chris Aniszczyk23522902011-04-27 15:59:14 -050047
Matthias Sohn27f1fb62019-04-01 01:30:44 +020048 <resources>
49 <resource>
50 <directory>.</directory>
51 <includes>
52 <include>plugin.properties</include>
53 <include>about.html</include>
54 </includes>
55 </resource>
56 <resource>
57 <directory>resources/</directory>
58 </resource>
59 </resources>
Chris Aniszczyk23522902011-04-27 15:59:14 -050060
Matthias Sohn27f1fb62019-04-01 01:30:44 +020061 <plugins>
62 <plugin>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-antrun-plugin</artifactId>
65 <executions>
66 <execution>
67 <id>translate-source-qualifier</id>
68 <phase>generate-resources</phase>
69 <configuration>
70 <target>
71 <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
72 <replace file="${source-bundle-manifest}">
73 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
74 </replace>
75 </target>
76 </configuration>
77 <goals>
78 <goal>run</goal>
79 </goals>
80 </execution>
81 </executions>
82 </plugin>
83
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-source-plugin</artifactId>
87 <inherited>true</inherited>
88 <executions>
89 <execution>
90 <id>attach-sources</id>
91 <phase>process-classes</phase>
92 <goals>
93 <goal>jar</goal>
94 </goals>
95 <configuration>
96 <archive>
97 <manifestFile>${source-bundle-manifest}</manifestFile>
98 </archive>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
103
104 <plugin>
105 <artifactId>maven-jar-plugin</artifactId>
106 <configuration>
107 <archive>
108 <manifestFile>${bundle-manifest}</manifestFile>
109 </archive>
110 </configuration>
111 </plugin>
Chris Aniszczyk23522902011-04-27 15:59:14 -0500112
Matthias Sohn100179a2015-10-01 01:41:52 +0200113 <plugin>
114 <groupId>com.github.siom79.japicmp</groupId>
115 <artifactId>japicmp-maven-plugin</artifactId>
116 <version>${japicmp-version}</version>
117 <configuration>
118 <oldVersion>
119 <dependency>
120 <groupId>${project.groupId}</groupId>
121 <artifactId>${project.artifactId}</artifactId>
122 <version>${jgit-last-release-version}</version>
123 </dependency>
124 </oldVersion>
125 <newVersion>
126 <file>
127 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
128 </file>
129 </newVersion>
130 <parameter>
131 <onlyModified>true</onlyModified>
132 <includes>
133 <include>org.eclipse.jgit.*</include>
134 </includes>
135 <accessModifier>public</accessModifier>
136 <breakBuildOnModifications>false</breakBuildOnModifications>
137 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
138 <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
139 <includeSynthetic>false</includeSynthetic>
140 <ignoreMissingClasses>false</ignoreMissingClasses>
141 <skipPomModules>true</skipPomModules>
142 </parameter>
143 <skip>false</skip>
144 </configuration>
145 <executions>
146 <execution>
147 <phase>verify</phase>
148 <goals>
149 <goal>cmp</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
Matthias Sohn27f1fb62019-04-01 01:30:44 +0200154 </plugins>
155 </build>
Matthias Sohne178ba22011-12-15 15:50:46 -0800156
Matthias Sohn27f1fb62019-04-01 01:30:44 +0200157 <reporting>
Matthias Sohn100179a2015-10-01 01:41:52 +0200158 <plugins>
159 <plugin>
160 <groupId>com.github.siom79.japicmp</groupId>
161 <artifactId>japicmp-maven-plugin</artifactId>
162 <version>${japicmp-version}</version>
163 <reportSets>
164 <reportSet>
165 <reports>
166 <report>cmp-report</report>
167 </reports>
168 </reportSet>
169 </reportSets>
170 <configuration>
171 <oldVersion>
172 <dependency>
173 <groupId>${project.groupId}</groupId>
174 <artifactId>${project.artifactId}</artifactId>
175 <version>${jgit-last-release-version}</version>
176 </dependency>
177 </oldVersion>
178 <newVersion>
179 <file>
180 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
181 </file>
182 </newVersion>
183 <parameter>
184 <onlyModified>true</onlyModified>
185 <includes>
186 <include>org.eclipse.jgit.*</include>
187 </includes>
188 <accessModifier>public</accessModifier>
189 <breakBuildOnModifications>false</breakBuildOnModifications>
190 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
191 <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
192 <includeSynthetic>false</includeSynthetic>
193 <ignoreMissingClasses>false</ignoreMissingClasses>
194 <skipPomModules>true</skipPomModules>
195 </parameter>
196 <skip>false</skip>
197 </configuration>
198 </plugin>
199 </plugins>
200 </reporting>
Chris Aniszczyk23522902011-04-27 15:59:14 -0500201</project>