Skip to content

Commit 3379ee2

Browse files
authored
add assertj-parent-pom (#115)
The parent POM activates the [license-maven-plugin] This plugin adds a license header to Java source files.
1 parent 7937126 commit 3379ee2

File tree

179 files changed

+1594
-215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+1594
-215
lines changed

pom.xml

Lines changed: 8 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@
44

55
<modelVersion>4.0.0</modelVersion>
66

7+
<parent>
8+
<groupId>org.assertj</groupId>
9+
<artifactId>assertj-parent-pom</artifactId>
10+
<version>2.2.8</version>
11+
</parent>
12+
713
<groupId>org.assertj</groupId>
814
<artifactId>assertj-vavr</artifactId>
915
<version>0.2.0</version>
1016

1117
<name>AssertJ fluent assertions for Vavr</name>
1218
<description>Rich and fluent assertions for testing Vavr tools</description>
1319
<inceptionYear>2017</inceptionYear>
14-
20+
1521
<licenses>
1622
<license>
1723
<name>The Apache License, Version 2.0</name>
@@ -129,17 +135,16 @@
129135
<plugin>
130136
<groupId>org.apache.maven.plugins</groupId>
131137
<artifactId>maven-compiler-plugin</artifactId>
132-
<version>3.8.1</version>
133138
<configuration>
134139
<source>1.8</source>
135140
<target>1.8</target>
141+
<encoding>${project.build.sourceEncoding}</encoding>
136142
</configuration>
137143
</plugin>
138144

139145
<plugin>
140146
<groupId>org.apache.maven.plugins</groupId>
141147
<artifactId>maven-javadoc-plugin</artifactId>
142-
<version>3.2.0</version>
143148
<executions>
144149
<execution>
145150
<id>attach-javadocs</id>
@@ -149,57 +154,15 @@
149154
</execution>
150155
</executions>
151156
</plugin>
152-
153-
<plugin>
154-
<groupId>org.apache.maven.plugins</groupId>
155-
<artifactId>maven-source-plugin</artifactId>
156-
<version>3.2.1</version>
157-
<executions>
158-
<execution>
159-
<id>attach-sources</id>
160-
<goals>
161-
<goal>jar</goal>
162-
</goals>
163-
</execution>
164-
</executions>
165-
</plugin>
166-
167-
<plugin>
168-
<groupId>org.apache.maven.plugins</groupId>
169-
<artifactId>maven-gpg-plugin</artifactId>
170-
<executions>
171-
<execution>
172-
<id>sign-artifacts</id>
173-
<phase>verify</phase>
174-
<goals>
175-
<goal>sign</goal>
176-
</goals>
177-
</execution>
178-
</executions>
179-
</plugin>
180-
181-
<plugin>
182-
<groupId>org.sonatype.plugins</groupId>
183-
<artifactId>nexus-staging-maven-plugin</artifactId>
184-
<version>1.6.8</version>
185-
<extensions>true</extensions>
186-
<configuration>
187-
<serverId>ossrh</serverId>
188-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
189-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
190-
</configuration>
191-
</plugin>
192157

193158
<plugin>
194159
<groupId>org.apache.maven.plugins</groupId>
195160
<artifactId>maven-surefire-plugin</artifactId>
196-
<version>2.22.2</version>
197161
</plugin>
198162

199163
<plugin>
200164
<groupId>org.jacoco</groupId>
201165
<artifactId>jacoco-maven-plugin</artifactId>
202-
<version>0.8.6</version>
203166
<executions>
204167
<execution>
205168
<goals>

src/main/java/org/assertj/vavr/api/AbstractEitherAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
/*

src/main/java/org/assertj/vavr/api/AbstractLazyAssert.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
33
* the License. You may obtain a copy of the License at
4-
* <p>
4+
*
55
* http://www.apache.org/licenses/LICENSE-2.0
6-
* <p>
6+
*
77
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
10-
* <p>
11-
* Copyright 2012-2019 the original author or authors.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
1212
*/
1313
package org.assertj.vavr.api;
1414

src/main/java/org/assertj/vavr/api/AbstractMapAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
/*

src/main/java/org/assertj/vavr/api/AbstractMultimapAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
import io.vavr.Tuple;

src/main/java/org/assertj/vavr/api/AbstractOptionAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
/*

src/main/java/org/assertj/vavr/api/AbstractSeqAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
/*

src/main/java/org/assertj/vavr/api/AbstractSetAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
import io.vavr.collection.Set;

src/main/java/org/assertj/vavr/api/AbstractTraversableAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
import io.vavr.collection.Traversable;

src/main/java/org/assertj/vavr/api/AbstractTryAssert.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
3+
* the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8+
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9+
* specific language governing permissions and limitations under the License.
10+
*
11+
* Copyright 2017-2020 the original author or authors.
12+
*/
113
package org.assertj.vavr.api;
214

315
/*

0 commit comments

Comments
 (0)