8000 run copyright check by default · javaee/servlet-spec@892ed32 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Commit 892ed32

Browse files
committed
run copyright check by default
1 parent 2ead4ef commit 892ed32

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@ Run the build:
1313

1414
`mvn install`
1515

16-
The build generates the jar, sources-jar and javadoc-jar by default.
16+
The build runs copyright check and generates the jar, sources-jar and javadoc-jar by default.
1717

1818
Checking findbugs
1919
-----------------
2020

2121
`mvn -DskipTests-true -Dfindbugs.threshold=Low findbugs:findbugs`
2222

23-
Checking copyright
24-
------------------
25-
26-
`mvn -q org.glassfish.copyright:glassfish-copyright-maven-plugin:copyright`

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,16 @@
330330
${basedir}/copyright-exclude
331331
</excludeFile>
332332
</configuration>
333+
<executions>
334+
<execution>
335+
<id>check-copyright</id>
336+
<phase>process-test-sources</phase>
337+
<goals>
338+
<goal>copyright</goal>
339+
<goal>check</goal>
340+
</goals>
341+
</execution>
342+
</executions>
333343
</plugin>
334344
</plugins>
335345
<resources>

0 commit comments

Comments
 (0)
0