Skip to content

Commit d49cbe4

Browse files
Vincent PotucekPankraz76
authored andcommitted
use root config of formatter-maven-plugin instead of duplicate
1 parent b8ce945 commit d49cbe4

File tree

10 files changed

+74
-726
lines changed

10 files changed

+74
-726
lines changed

build-parent/pom.xml

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -683,87 +683,6 @@
683683
</build>
684684

685685
<profiles>
686-
<profile>
687-
<id>format</id>
688-
<activation>
689-
<activeByDefault>true</activeByDefault>
690-
<property>
691-
<name>!no-format</name>
692-
</property>
693-
</activation>
694-
<build>
695-
<plugins>
696-
<plugin>
697-
<groupId>net.revelc.code.formatter</groupId>
698-
<artifactId>formatter-maven-plugin</artifactId>
699-
<executions>
700-
<execution>
701-
<phase>process-sources</phase>
702-
<goals>
703-
<goal>format</goal>
704-
</goals>
705-
</execution>
706-
</executions>
707-
</plugin>
708-
<plugin>
709-
<groupId>net.revelc.code</groupId>
710-
<artifactId>impsort-maven-plugin</artifactId>
711-
<configuration>
712-
<removeUnused>true</removeUnused>
713-
</configuration>
714-
<executions>
715-
<execution>
716-
<id>sort-imports</id>
717-
<goals>
718-
<goal>sort</goal>
719-
</goals>
720-
</execution>
721-
</executions>
722-
</plugin>
723-
</plugins>
724-
</build>
725-
</profile>
726-
<profile>
727-
<id>validate</id>
728-
<activation>
729-
<activeByDefault>true</activeByDefault>
730-
<property>
731-
<name>no-format</name>
732-
</property>
733-
</activation>
734-
<build>
735-
<plugins>
736-
<plugin>
737-
<groupId>net.revelc.code.formatter</groupId>
738-
<artifactId>formatter-maven-plugin</artifactId>
739-
<executions>
740-
<execution>
741-
<phase>process-sources</phase>
742-
<goals>
743-
<goal>validate</goal>
744-
</goals>
745-
</execution>
746-
</executions>
747-
</plugin>
748-
<plugin>
749-
<groupId>net.revelc.code</groupId>
750-
<artifactId>impsort-maven-plugin</artifactId>
751-
<configuration>
752-
<removeUnused>true</removeUnused>
753-
</configuration>
754-
<executions>
755-
<execution>
756-
<id>check-imports</id>
757-
<goals>
758-
<goal>check</goal>
759-
</goals>
760-
</execution>
761-
</executions>
762-
</plugin>
763-
</plugins>
764-
</build>
765-
</profile>
766-
767686
<profile>
768687
<id>format-kotlin</id>
769688
<activation>

independent-projects/arc/pom.xml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -316,86 +316,6 @@
316316
<format.skip>true</format.skip>
317317
</properties>
318318
</profile>
319-
<profile>
320-
<id>format</id>
321-
<activation>
322-
<activeByDefault>true</activeByDefault>
323-
<property>
324-
<name>!no-format</name>
325-
</property>
326-
</activation>
327-
<build>
328-
<plugins>
329-
<plugin>
330-
<groupId>net.revelc.code.formatter</groupId>
331-
<artifactId>formatter-maven-plugin</artifactId>
332-
<executions>
333-
<execution>
334-
<phase>process-sources</phase>
335-
<goals>
336-
<goal>format</goal>
337-
</goals>
338-
</execution>
339-
</executions>
340-
</plugin>
341-
<plugin>
342-
<groupId>net.revelc.code</groupId>
343-
<artifactId>impsort-maven-plugin</artifactId>
344-
<executions>
345-
<execution>
346-
<id>sort-imports</id>
347-
<goals>
348-
<goal>sort</goal>
349-
</goals>
350-
</execution>
351-
</executions>
352-
<configuration>
353-
<removeUnused>true</removeUnused>
354-
</configuration>
355-
</plugin>
356-
</plugins>
357-
</build>
358-
</profile>
359-
<profile>
360-
<id>validate</id>
361-
<activation>
362-
<activeByDefault>true</activeByDefault>
363-
<property>
364-
<name>no-format</name>
365-
</property>
366-
</activation>
367-
<build>
368-
<plugins>
369-
<plugin>
370-
<groupId>net.revelc.code.formatter</groupId>
371-
<artifactId>formatter-maven-plugin</artifactId>
372-
<executions>
373-
<execution>
374-
<phase>process-sources</phase>
375-
<goals>
376-
<goal>validate</goal>
377-
</goals>
378-
</execution>
379-
</executions>
380-
</plugin>
381-
<plugin>
382-
<groupId>net.revelc.code</groupId>
383-
<artifactId>impsort-maven-plugin</artifactId>
384-
<configuration>
385-
<removeUnused>true</removeUnused>
386-
</configuration>
387-
<executions>
388-
<execution>
389-
<id>check-imports</id>
390-
<goals>
391-
<goal>check</goal>
392-
</goals>
393-
</execution>
394-
</executions>
395-
</plugin>
396-
</plugins>
397-
</build>
398-
</profile>
399319
</profiles>
400320

401321
</project>

independent-projects/bootstrap/pom.xml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -228,85 +228,5 @@
228228
<format.skip>true</format.skip>
229229
</properties>
230230
</profile>
231-
<profile>
232-
<id>format</id>
233-
<activation>
234-
<activeByDefault>true</activeByDefault>
235-
<property>
236-
<name>!no-format</name>
237-
</property>
238-
</activation>
239-
<build>
240-
<plugins>
241-
<plugin>
242-
<groupId>net.revelc.code.formatter</groupId>
243-
<artifactId>formatter-maven-plugin</artifactId>
244-
<executions>
245-
<execution>
246-
<phase>process-sources</phase>
247-
<goals>
248-
<goal>format</goal>
249-
</goals>
250-
</execution>
251-
</executions>
252-
</plugin>
253-
<plugin>
254-
<groupId>net.revelc.code</groupId>
255-
<artifactId>impsort-maven-plugin</artifactId>
256-
<executions>
257-
<execution>
258-
<id>sort-imports</id>
259-
<goals>
260-
<goal>sort</goal>
261-
</goals>
262-
</execution>
263-
</executions>
264-
<configuration>
265-
<removeUnused>true</removeUnused>
266-
</configuration>
267-
</plugin>
268-
</plugins>
269-
</build>
270-
</profile>
271-
<profile>
272-
<id>validate</id>
273-
<activation>
274-
<activeByDefault>true</activeByDefault>
275-
<property>
276-
<name>no-format</name>
277-
</property>
278-
</activation>
279-
<build>
280-
<plugins>
281-
<plugin>
282-
<groupId>net.revelc.code.formatter</groupId>
283-
<artifactId>formatter-maven-plugin</artifactId>
284-
<executions>
285-
<execution>
286-
<phase>process-sources</phase>
287-
<goals>
288-
<goal>validate</goal>
289-
</goals>
290-
</execution>
291-
</executions>
292-
</plugin>
293-
<plugin>
294-
<groupId>net.revelc.code</groupId>
295-
<artifactId>impsort-maven-plugin</artifactId>
296-
<configuration>
297-
<removeUnused>true</removeUnused>
298-
</configuration>
299-
<executions>
300-
<execution>
301-
<id>check-imports</id>
302-
<goals>
303-
<goal>check</goal>
304-
</goals>
305-
</execution>
306-
</executions>
307-
</plugin>
308-
</plugins>
309-
</build>
310-
</profile>
311231
</profiles>
312232
</project>

independent-projects/enforcer-rules/pom.xml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -162,85 +162,5 @@
162162
<invoker.skip>true</invoker.skip> <!-- maven-invoker-plugin -->
163163
</properties>
164164
</profile>
165-
<profile>
166-
<id>format</id>
167-
<activation>
168-
<activeByDefault>true</activeByDefault>
169-
<property>
170-
<name>!no-format</name>
171-
</property>
172-
</activation>
173-
<build>
174-
<plugins>
175-
<plugin>
176-
<groupId>net.revelc.code.formatter</groupId>
177-
<artifactId>formatter-maven-plugin</artifactId>
178-
<executions>
179-
<execution>
180-
<phase>process-sources</phase>
181-
<goals>
182-
<goal>format</goal>
183-
</goals>
184-
</execution>
185-
</executions>
186-
</plugin>
187-
<plugin>
188-
<groupId>net.revelc.code</groupId>
189-
<artifactId>impsort-maven-plugin</artifactId>
190-
<executions>
191-
<execution>
192-
<id>sort-imports</id>
193-
<goals>
194-
<goal>sort</goal>
195-
</goals>
196-
</execution>
197-
</executions>
198-
<configuration>
199-
<removeUnused>true</removeUnused>
200-
</configuration>
201-
</plugin>
202-
</plugins>
203-
</build>
204-
</profile>
205-
<profile>
206-
<id>validate</id>
207-
<activation>
208-
<activeByDefault>true</activeByDefault>
209-
<property>
210-
<name>no-format</name>
211-
</property>
212-
</activation>
213-
<build>
214-
<plugins>
215-
<plugin>
216-
<groupId>net.revelc.code.formatter</groupId>
217-
<artifactId>formatter-maven-plugin</artifactId>
218-
<executions>
219-
<execution>
220-
<phase>process-sources</phase>
221-
<goals>
222-
<goal>validate</goal>
223-
</goals>
224-
</execution>
225-
</executions>
226-
</plugin>
227-
<plugin>
228-
<groupId>net.revelc.code</groupId>
229-
<artifactId>impsort-maven-plugin</artifactId>
230-
<configuration>
231-
<removeUnused>true</removeUnused>
232-
</configuration>
233-
<executions>
234-
<execution>
235-
<id>check-imports</id>
236-
<goals>
237-
<goal>check</goal>
238-
</goals>
239-
</execution>
240-
</executions>
241-
</plugin>
242-
</plugins>
243-
</build>
244-
</profile>
245165
</profiles>
246166
</project>

0 commit comments

Comments
 (0)