diff --git a/agent/pom.xml b/agent/pom.xml
index 18ea9c101..05eadcba2 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -29,10 +29,12 @@
com.navercorp.pinpoint
pinpoint-plugins
- pom
+ zip
+ runtime
+
org.springframework
spring-test
@@ -43,8 +45,6 @@
spring-context
test
-
-
com.navercorp.pinpoint
pinpoint-test
@@ -92,7 +92,7 @@
false
-
+
org.apache.maven.plugins
maven-assembly-plugin
@@ -114,27 +114,6 @@
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 1.8
-
-
- package
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/agent/src/assembly/distribution.xml b/agent/src/assembly/distribution.xml
index fe25eced5..2e3aeac5f 100644
--- a/agent/src/assembly/distribution.xml
+++ b/agent/src/assembly/distribution.xml
@@ -4,17 +4,19 @@
pinpoint-naver-agent
dir
+ zip
+ tar.gz
false
${basedir}/src/main/resources
- /
+
${basedir}/src/main/script
- /script
+ script
@@ -46,7 +48,7 @@
com.navercorp.pinpoint:pinpoint-plugins
plugin
- true
+ true
\ No newline at end of file
diff --git a/plugins/.gitignore b/plugins/.gitignore
index 002719383..4c299fd97 100644
--- a/plugins/.gitignore
+++ b/plugins/.gitignore
@@ -1,3 +1,4 @@
/.settings/
/.project
/*.iml
+/target/
diff --git a/plugins/assembly.xml b/plugins/assembly.xml
new file mode 100644
index 000000000..a4cea45a2
--- /dev/null
+++ b/plugins/assembly.xml
@@ -0,0 +1,18 @@
+
+
+ plugins
+
+ zip
+
+ false
+
+
+ /
+ false
+ false
+ runtime
+
+
+
\ No newline at end of file
diff --git a/plugins/pom.xml b/plugins/pom.xml
index e083e2c95..13a0ab59c 100644
--- a/plugins/pom.xml
+++ b/plugins/pom.xml
@@ -52,4 +52,29 @@
${project.version}
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.5.3
+
+
+ assembly.xml
+
+ false
+
+
+
+ create-zip
+ package
+
+ single
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 79dc0d73c..463a4aad0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,6 +141,12 @@
pom
${project.version}
+
+ com.navercorp.pinpoint
+ pinpoint-plugins
+ zip
+ ${project.version}
+
com.navercorp.pinpoint
pinpoint-test