Skip to content

Commit

Permalink
Merge pull request #570 from wodiwudi/master
Browse files Browse the repository at this point in the history
[refactor][hera-all]update prometheus agent
  • Loading branch information
sadadw1 authored Aug 3, 2023
2 parents 068951d + 844ce1b commit 3fc93af
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions hera-all/hera-prometheus-agent/hera-prometheus-agent-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,7 @@
<!-- </resource>-->
<!-- </resources>-->

<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.5</version>

<configuration>
<mainClass>com.xiaomi.youpin.prometheus.agent.bootstrap.PrometheusAgentBootstrap</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

</plugins>


</build>

Expand All @@ -101,6 +79,30 @@
<filter>src/main/resources/application-opensource-outer.properties</filter>
</filters>

<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.5</version>

<configuration>
<mainClass>com.xiaomi.youpin.prometheus.agent.bootstrap.PrometheusAgentBootstrap</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

</plugins>

</build>

</profile>
Expand Down

0 comments on commit 3fc93af

Please sign in to comment.