Skip to content

Commit

Permalink
Flattening profil for deploy (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Mar 9, 2023
1 parent 88fa51a commit a028ae0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@ root = true
end_of_line = lf
insert_final_newline = true

# 4 space indentation
[**.java]
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace=true

# 4 space indentation
[**.jsx]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace=true

[pom.xml]
charset = utf-8
indent_style = space
Expand Down
31 changes: 31 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,37 @@
</plugins>
</build>
</profile>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>bom</flattenMode>
<flattenedPomFilename>.flattened</flattenedPomFilename>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<scm>
Expand Down

0 comments on commit a028ae0

Please sign in to comment.