forked from assertj/assertj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
168 lines (165 loc) · 5.87 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
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd ">
<modelVersion>4.0.0</modelVersion>
<artifactId>assertj-core</artifactId>
<version>2.2.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>AssertJ fluent assertions</name>
<description>Rich and fluent assertions for testing</description>
<inceptionYear>2013</inceptionYear>
<parent>
<groupId>org.assertj</groupId>
<artifactId>assertj-parent-pom</artifactId>
<version>1.3.6</version>
</parent>
<mailingLists>
<mailingList>
<name>AssertJ Group</name>
<post>http://groups.google.com/group/assertj</post>
<subscribe>http://groups.google.com/group/assertj</subscribe>
<unsubscribe>http://groups.google.com/group/assertj</unsubscribe>
</mailingList>
</mailingLists>
<scm>
<developerConnection>scm:git:[email protected]:joel-costigliola/assertj-core.git</developerConnection>
<connection>scm:git:[email protected]:joel-costigliola/assertj-core.git</connection>
<url>[email protected]:joel-costigliola/assertj-core</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>github</system>
<url>https://github.com/joel-costigliola/assertj-core/issues</url>
</issueManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
<optional>true</optional>
</dependency>
<!--
NEEDED! Unlike File, a Path is not linked to the JRE's filesystem.
In order to accurately test assertions, we need a decent JSR 203 implementation
which lets us test our assertions. Right now, this is memoryfilesystem
(https://github.com/marschall/memoryfilesystem).
Another choice would be jimfs from Google (https://github.com/google/jimfs),
but its support for reading/writing file attributes is not as complete as that
of memoryfilesystem's.
-->
<dependency>
<groupId>com.github.marschall</groupId>
<artifactId>memoryfilesystem</artifactId>
<version>0.6.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>
!org.assertj.core.internal,
!org.assertj.core.util,
org.assertj.core.*
</Export-Package>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<_removeheaders>Bnd-LastModified</_removeheaders>
</instructions>
</configuration>
</plugin>
<!-- generate jacoco report -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule implementation="org.jacoco.maven.RuleConfiguration">
<element>BUNDLE</element>
<limits>
<limit implementation="org.jacoco.report.check.Limit">
<counter>CLASS</counter>
<value>COVEREDRATIO</value>
<minimum>0.99</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!-- to get jacoco report we need to set argLine in surefire, without this snippet the jacoco argLine is lost -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${argLine}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>jarjar-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jarjar</goal>
</goals>
<configuration>
<includes>
<include>cglib:cglib-nodep</include>
</includes>
<rules>
<rule>
<pattern>net.sf.cglib.**</pattern>
<result>org.assertj.core.internal.cglib.@1</result>
</rule>
<keep>
<pattern>org.assertj.core.**</pattern>
</keep>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- (1) CSS file location -->
<stylesheetfile>src/main/javadoc/assertj-javadoc.css</stylesheetfile>
<!-- (2) Highlight Javascript file -->
<top><![CDATA[
<script src="http://cdn.jsdelivr.net/highlight.js/8.6/highlight.min.js"></script>
]]></top>
<!-- init Highlight -->
<footer><![CDATA[
<script type="text/javascript">
hljs.initHighlightingOnLoad();
</script>
]]></footer>
</configuration>
</plugin>
</plugins>
</build>
</project>