Skip to content

Commit e814063

Browse files
committed
fix license boilerplate generation/cleanup
1 parent 0e3564a commit e814063

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mvn-build-test-command: &mvn-build-test-command
77
mvn-build-test-command: mvn verify -DexcludeLiveServerTests=true -Dmaven.javadoc.skip=true
88

99
mvn-deploy-command: &mvn-deploy-command
10-
mvn-deploy-command: mvn -s .circleci/maven-release-settings.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true && mvn clean
10+
mvn-deploy-command: mvn -s .circleci/maven-release-settings.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true
1111
context: RELEASE_PROFILE_BBOTTEMA
1212

1313
workflows:

pom.xml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -307,20 +307,9 @@
307307
</includes>
308308
</configuration>
309309
<executions>
310-
<execution>
311-
<id>clean-remove</id>
312-
<phase>clean</phase>
313-
<goals>
314-
<goal>remove</goal>
315-
</goals>
316-
</execution>
317-
<execution>
318-
<id>before-compile-format</id>
319-
<phase>process-sources</phase>
320-
<goals>
321-
<goal>format</goal>
322-
</goals>
323-
</execution>
310+
<execution><id>remove-licence-boilerplate-on-clean</id><phase>clean</phase><goals><goal>remove</goal></goals></execution>
311+
<execution><id>add-licence-boilerplate-on-compile</id><phase>process-sources</phase><goals><goal>format</goal></goals></execution>
312+
<execution><id>remove-licence-boilerplate-after-package</id><phase>package</phase><goals><goal>remove</goal></goals></execution>
324313
</executions>
325314
</plugin>
326315
</plugins>

0 commit comments

Comments
 (0)