Skip to content

Commit

Permalink
[Upd] Remove docker production profile
Browse files Browse the repository at this point in the history
Should not be needed as we do not need to remove UI from the package anymore.
  • Loading branch information
blcham committed Oct 8, 2023
1 parent 1126b6b commit 2a55f7f
Showing 1 changed file with 0 additions and 116 deletions.
116 changes: 0 additions & 116 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,122 +207,6 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>production</id>
<properties>
<profile.name>production</profile.name>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<warSourceExcludes>
**
</warSourceExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>npm-module-cleanup</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<workingDirectory>src/main/webapp/</workingDirectory>
<executable>rm</executable>
<arguments>
<argument>-Rf</argument>
<argument>node_modules</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm-install</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<workingDirectory>src/main/webapp/</workingDirectory>
<executable>npm</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>ui-build</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<workingDirectory>src/main/webapp/</workingDirectory>
<executable>npm</executable>
<arguments>
<argument>run</argument>
<argument>build:static</argument>
</arguments>
</configuration>
</execution>
<!-- <execution>-->
<!-- <id>ui-test</id>-->
<!-- <goals>-->
<!-- <goal>exec</goal>-->
<!-- </goals>-->
<!-- <phase>test</phase>-->
<!-- <configuration>-->
<!-- <workingDirectory>src/main/webapp</workingDirectory>-->
<!-- <executable>npm</executable>-->
<!-- <arguments>-->
<!-- <argument>test</argument>-->
<!-- </arguments>-->
<!-- </configuration>-->
<!-- </execution>-->
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>production-docker</id>
<properties>
<profile.name>production-docker</profile.name>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<warSourceExcludes>
**
</warSourceExcludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand Down

0 comments on commit 2a55f7f

Please sign in to comment.