Skip to content

Commit a028ae0

Browse files
authored
Flattening profil for deploy (#349)
1 parent 88fa51a commit a028ae0

File tree

2 files changed

+31
-14
lines changed

2 files changed

+31
-14
lines changed

.editorconfig

-14
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ root = true
66
end_of_line = lf
77
insert_final_newline = true
88

9-
# 4 space indentation
10-
[**.java]
11-
charset = utf-8
12-
indent_style = space
13-
indent_size = 4
14-
trim_trailing_whitespace=true
15-
16-
# 4 space indentation
17-
[**.jsx]
18-
charset = utf-8
19-
indent_style = space
20-
indent_size = 2
21-
trim_trailing_whitespace=true
22-
239
[pom.xml]
2410
charset = utf-8
2511
indent_style = space

pom.xml

+31
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,37 @@
734734
</plugins>
735735
</build>
736736
</profile>
737+
<profile>
738+
<id>deploy</id>
739+
<build>
740+
<plugins>
741+
<plugin>
742+
<groupId>org.codehaus.mojo</groupId>
743+
<artifactId>flatten-maven-plugin</artifactId>
744+
<configuration>
745+
<flattenMode>bom</flattenMode>
746+
<flattenedPomFilename>.flattened</flattenedPomFilename>
747+
</configuration>
748+
<executions>
749+
<execution>
750+
<id>flatten</id>
751+
<phase>process-resources</phase>
752+
<goals>
753+
<goal>flatten</goal>
754+
</goals>
755+
</execution>
756+
<execution>
757+
<id>flatten.clean</id>
758+
<phase>clean</phase>
759+
<goals>
760+
<goal>clean</goal>
761+
</goals>
762+
</execution>
763+
</executions>
764+
</plugin>
765+
</plugins>
766+
</build>
767+
</profile>
737768
</profiles>
738769

739770
<scm>

0 commit comments

Comments
 (0)