-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpom.xml
317 lines (299 loc) · 10 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
<relativePath />
</parent>
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>${mavenVersion}</maven>
</prerequisites>
<groupId>org.neo4j.build.plugins</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Clirr Maven Plugin</name>
<version>1.0.1-SNAPSHOT</version>
<description>
This is a specialized version of the Clirr Maven Plugin. It adds capabilities for excluding specific
error types, as well as separating code into three, rather than two, subgroups:
Internal code (no checks)
Externally invoked code (Annotated with an "externally invoked" annotation, same as Externally implemented, but adding methods to interfaces
and abstract classes is allowed)
Externally implemented code (Assumed default. Full backwards compatibility required *unless* an interface is annotated with
a defined adaptor annotation, in which case full backwards compatibility is required for the adaptor class, but the rules of @ExternallyInvoked
apply to the interface itself)
Clirr is a tool that checks Java libraries for binary and source compatibility with older releases.
Basically you give it two sets of jar files and Clirr dumps out a list of changes in the public API.
The clirr-maven-plugin can be configured to break the build, if it detects incompatible api changes.
In a continuous integration process, the clirr-maven-plugin can automatically prevent accidental
introduction of binary or source compatibility problems. Additionally, the plugin can generate
a report as part of the generated site.
</description>
<scm>
<connection>scm:svn:http://svn.codehaus.org/mojo/tags/clirr-maven-plugin-2.4</connection>
<developerConnection>scm:svn:https://svn.codehaus.org/mojo/tags/clirr-maven-plugin-2.4</developerConnection>
<url>http://svn.codehaus.org/mojo/tags/clirr-maven-plugin-2.4</url>
</scm>
<issueManagement>
<system>jira</system>
<url>http://jira.codehaus.org/browse/MCLIRR</url>
</issueManagement>
<inceptionYear>2006</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<clirrVersion>0.6</clirrVersion>
<doxiaVersion>1.0</doxiaVersion>
<doxiaSitetoolsVersion>1.0</doxiaSitetoolsVersion>
<mavenVersion>2.0.6</mavenVersion>
</properties>
<developers>
<developer>
<id>brett</id>
<name>Brett Porter</name>
<email>[email protected]</email>
<organization>Mergere</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+10</timezone>
</developer>
<developer>
<id>jochen</id>
<name>Jochen Wiedmann</name>
<email>[email protected]</email>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>jdcasey</id>
<name>John Casey</name>
<email>[email protected]</email>
<organization>Sonatype</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<id>aheritier</id>
<name>Arnaud Heritier</name>
<email>[email protected]</email>
<roles>
<role>Developer</role>
<role>Despot</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Roland Asmann</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Mathias Brökelmann</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Brian Egge</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Grégory Joseph</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Luc Maisonobe</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Dominik Zindel</name>
<email>[email protected]</email>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>net.sf.clirr</groupId>
<artifactId>clirr-core</artifactId>
<version>${clirrVersion}</version>
<exclusions>
<exclusion>
<groupId>bcel</groupId>
<artifactId>bcel</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Current bcel 5.2 does not provide support for java 8 -->
<!-- as soon as bcel 6.0 will be released it should be changed back to apache bcel -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>bcel-findbugs</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${mavenVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>${mavenVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${mavenVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>${mavenVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-decoration-model</artifactId>
<version>${doxiaSitetoolsVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-xhtml</artifactId>
<version>${doxiaVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-sink-api</artifactId>
<version>${doxiaVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-site-renderer</artifactId>
<version>${doxiaSitetoolsVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-api</artifactId>
<version>${mavenVersion}</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-i18n</artifactId>
<version>1.0-beta-6</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-docck-plugin</artifactId>
<version>1.0-beta-2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>reporting</id>
<reporting>
<plugins>
<plugin>
<artifactId>maven-changes-plugin</artifactId>
<version>2.6</version>
<configuration>
<onlyCurrentVersion>true</onlyCurrentVersion>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
<report>jira-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>l10n-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<locales>
<locale>de</locale>
<locale>fr</locale>
<locale>nl</locale>
<locale>ru</locale>
<locale>sv</locale>
</locales>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<id>run-its</id>
<activation>
<property>
<name>skipTests</name>
<value>!true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<debug>true</debug>
<projectsDirectory>src/it</projectsDirectory>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local repository</localRepositoryPath>
<goals>
<goal>clean</goal>
<goal>verify</goal>
</goals>
<settingsFile>src/it/settings.xml</settingsFile>
<cloneProjectsTo>${project.build.directory}/it-tests</cloneProjectsTo>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>