Skip to content

Commit a219395

Browse files
committed
Convert to Maven project
1 parent 9bdaf49 commit a219395

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

pom.xml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>scouter.plugin.server</groupId>
5+
<artifactId>scouter-plugin-server-alert-email</artifactId>
6+
<version>1.0.0</version>
7+
8+
<dependencies>
9+
<dependency>
10+
<groupId>io.github.scouter-project</groupId>
11+
<artifactId>scouter-common</artifactId>
12+
<version>1.8.0</version>
13+
<scope>provided</scope>
14+
</dependency>
15+
<dependency>
16+
<groupId>io.github.scouter-project</groupId>
17+
<artifactId>scouter-server</artifactId>
18+
<version>1.8.0</version>
19+
<scope>provided</scope>
20+
</dependency>
21+
22+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-email -->
23+
<dependency>
24+
<groupId>org.apache.commons</groupId>
25+
<artifactId>commons-email</artifactId>
26+
<version>1.4</version>
27+
</dependency>
28+
</dependencies>
29+
30+
<build>
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-compiler-plugin</artifactId>
35+
<version>3.1</version>
36+
<configuration>
37+
<compilerVersion>1.6</compilerVersion>
38+
<source>1.6</source>
39+
<target>1.6</target>
40+
<encoding>UTF-8</encoding>
41+
</configuration>
42+
</plugin>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-dependency-plugin</artifactId>
46+
<executions>
47+
<execution>
48+
<id>copy-dependencies</id>
49+
<phase>prepare-package</phase>
50+
<goals>
51+
<goal>copy-dependencies</goal>
52+
</goals>
53+
<configuration>
54+
<outputDirectory>${project.build.directory}/lib</outputDirectory>
55+
<overWriteReleases>false</overWriteReleases>
56+
<overWriteSnapshots>false</overWriteSnapshots>
57+
<overWriteIfNewer>true</overWriteIfNewer>
58+
<includeScope>runtime</includeScope>
59+
</configuration>
60+
</execution>
61+
</executions>
62+
</plugin>
63+
</plugins>
64+
</build>
65+
</project>

0 commit comments

Comments
 (0)