Skip to content

Commit 7ffa99e

Browse files
committed
Added RI/BP compatibility profile.
1 parent 50d5347 commit 7ffa99e

File tree

1 file changed

+72
-2
lines changed

1 file changed

+72
-2
lines changed

pom.xml

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<artifactId>javamoney-parent</artifactId>
1616
<version>1.0</version>
1717
</parent>
18-
<version>1.1-SNAPSHOT</version>
18+
<version>1.1</version>
1919
<artifactId>moneta</artifactId>
2020
<packaging>bundle</packaging>
2121
<name>Moneta (JSR 354 RI)</name>
@@ -41,7 +41,7 @@
4141
</licenses>
4242

4343
<properties>
44-
<jsr.version>1.0</jsr.version>
44+
<jsr.version>1.0.1</jsr.version>
4545
<jdkVersion>1.8</jdkVersion>
4646
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
4747
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
@@ -288,6 +288,76 @@
288288
</plugins>
289289
</build>
290290
</profile>
291+
<profile>
292+
<id>compareWithBP</id>
293+
<build>
294+
<plugins>
295+
<plugin>
296+
<groupId>com.github.siom79.japicmp</groupId>
297+
<artifactId>japicmp-maven-plugin</artifactId>
298+
<version>0.6.2</version>
299+
<configuration>
300+
<oldVersion>
301+
<dependency>
302+
<groupId>${project.groupId}</groupId>
303+
<artifactId>${project.artifactId}-bp</artifactId>
304+
<version>${project.version}</version>
305+
<type>jar</type>
306+
</dependency>
307+
</oldVersion>
308+
<newVersion>
309+
<file>
310+
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
311+
</file>
312+
</newVersion>
313+
<parameter>
314+
<onlyModified>false</onlyModified>
315+
<includes>
316+
<include>org.javamoney.moneta</include>
317+
<include>org.javamoney.moneta.convert</include>
318+
<include>org.javamoney.moneta.format</include>
319+
<include>org.javamoney.moneta.function</include>
320+
<include>org.javamoney.moneta.spi</include>
321+
</includes>
322+
<excludes>
323+
<exclude>org.javamoney.moneta.internal.convert</exclude>
324+
<exclude>org.javamoney.moneta.internal.format</exclude>
325+
<exclude>org.javamoney.moneta.internal.loader</exclude>
326+
<exclude>org.javamoney.moneta.internal</exclude>
327+
</excludes>
328+
<accessModifier>protected</accessModifier>
329+
<breakBuildOnModifications>false</breakBuildOnModifications>
330+
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
331+
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
332+
<includeSynthetic>false</includeSynthetic>
333+
<ignoreMissingClasses>false</ignoreMissingClasses>
334+
<skipPomModules>true</skipPomModules>
335+
<!--<htmlStylesheet>path/to/stylesheet.css</htmlStylesheet>-->
336+
<htmlTitle>JSR 354 - Java 8 / Java 7 Compatibility/Comparison Report</htmlTitle>
337+
<noAnnotations>false</noAnnotations>
338+
<ignoreNonResolvableArtifacts>false</ignoreNonResolvableArtifacts>
339+
</parameter>
340+
<dependencies>
341+
<dependency>
342+
<groupId>org.apache.commons</groupId>
343+
<artifactId>commons-math3</artifactId>
344+
<version>3.4</version>
345+
</dependency>
346+
</dependencies>
347+
<skip>false</skip>
348+
</configuration>
349+
<executions>
350+
<execution>
351+
<phase>verify</phase>
352+
<goals>
353+
<goal>cmp</goal>
354+
</goals>
355+
</execution>
356+
</executions>
357+
</plugin>
358+
</plugins>
359+
</build>
360+
</profile>
291361
</profiles>
292362

293363
<dependencyManagement>

0 commit comments

Comments
 (0)