Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #91 from zalando-zmon/mvn_plugin_deployment
Browse files Browse the repository at this point in the history
Use spring boot maven plugin for development
  • Loading branch information
rajatparida86 authored Jul 1, 2019
2 parents e056554 + c6a4af1 commit 3cf3d8e
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>de.zalando.zmon.scheduler.ng.Application</mainClass>
</configuration>
</plugin>

</plugins>
</build>

Expand Down Expand Up @@ -184,6 +175,29 @@
</plugins>
</build>
</profile>
<profile>
<id>development</id>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.4.4.RELEASE</version>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>exec</classifier>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 3cf3d8e

Please sign in to comment.