diff --git a/.gitignore b/.gitignore index bdc57edb2..608628014 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ target/ *~ packages/ **/dependency-reduced-pom.xml +/skywalking-agent/ diff --git a/apm-backend-dist/bin/collectorService.bat b/apm-dist/bin/collectorService.bat similarity index 100% rename from apm-backend-dist/bin/collectorService.bat rename to apm-dist/bin/collectorService.bat diff --git a/apm-backend-dist/bin/collectorService.sh b/apm-dist/bin/collectorService.sh similarity index 100% rename from apm-backend-dist/bin/collectorService.sh rename to apm-dist/bin/collectorService.sh diff --git a/apm-backend-dist/bin/startup.bat b/apm-dist/bin/startup.bat similarity index 100% rename from apm-backend-dist/bin/startup.bat rename to apm-dist/bin/startup.bat diff --git a/apm-backend-dist/bin/startup.sh b/apm-dist/bin/startup.sh similarity index 100% rename from apm-backend-dist/bin/startup.sh rename to apm-dist/bin/startup.sh diff --git a/apm-backend-dist/bin/webappService.bat b/apm-dist/bin/webappService.bat similarity index 100% rename from apm-backend-dist/bin/webappService.bat rename to apm-dist/bin/webappService.bat diff --git a/apm-backend-dist/bin/webappService.sh b/apm-dist/bin/webappService.sh similarity index 100% rename from apm-backend-dist/bin/webappService.sh rename to apm-dist/bin/webappService.sh diff --git a/apm-backend-dist/pom.xml b/apm-dist/pom.xml similarity index 90% rename from apm-backend-dist/pom.xml rename to apm-dist/pom.xml index 88a90bdd7..49113a46c 100644 --- a/apm-backend-dist/pom.xml +++ b/apm-dist/pom.xml @@ -14,6 +14,11 @@ + + org.apache.skywalking + apm-agent-core + ${project.version} + org.apache.skywalking apm-collector-boot @@ -63,9 +68,9 @@ + tofile="${project.basedir}/../dist/skywalking-backend.tar.gz" overwrite="true"/> + tofile="${project.basedir}/../dist/skywalking-backend.zip" overwrite="true"/> diff --git a/apm-backend-dist/src/main/assembly/binary.xml b/apm-dist/src/main/assembly/binary.xml similarity index 89% rename from apm-backend-dist/src/main/assembly/binary.xml rename to apm-dist/src/main/assembly/binary.xml index c491faf8e..d7a549963 100644 --- a/apm-backend-dist/src/main/assembly/binary.xml +++ b/apm-dist/src/main/assembly/binary.xml @@ -47,6 +47,12 @@ ${project.basedir}/../apm-collector/apm-collector-boot/target/skywalking-collector-assembly/skywalking-collector/libs /collector-libs + + + + ${project.basedir}/../packages/skywalking-agent + /agent + diff --git a/apm-sniffer/apm-agent/pom.xml b/apm-sniffer/apm-agent/pom.xml index 492a97eaa..fd15778a9 100644 --- a/apm-sniffer/apm-agent/pom.xml +++ b/apm-sniffer/apm-agent/pom.xml @@ -108,13 +108,13 @@ - + - - + tofile="${project.basedir}/../../skywalking-agent/skywalking-agent.jar" overwrite="true"/> + + + dest="${project.basedir}/../../skywalking-agent/config" forceoverwrite="true"/> diff --git a/apm-sniffer/apm-sdk-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/pom.xml index 3a4f95a3f..92c39ae75 100644 --- a/apm-sniffer/apm-sdk-plugin/pom.xml +++ b/apm-sniffer/apm-sdk-plugin/pom.xml @@ -69,7 +69,7 @@ net.bytebuddy ${shade.package}.${shade.net.bytebuddy.source} - ${project.build.directory}${sdk.plugin.related.dir}/../../../../packages/skywalking-agent + ${project.build.directory}${sdk.plugin.related.dir}/../../../../skywalking-agent ${agent.package.dest.dir}/plugins diff --git a/apm-sniffer/apm-toolkit-activation/pom.xml b/apm-sniffer/apm-toolkit-activation/pom.xml index c0bd677f4..ceebae973 100644 --- a/apm-sniffer/apm-toolkit-activation/pom.xml +++ b/apm-sniffer/apm-toolkit-activation/pom.xml @@ -120,9 +120,9 @@ - + + tofile="${project.build.directory}/../../../../skywalking-agent/activations/${project.artifactId}-${project.version}.jar" overwrite="true"/> diff --git a/apm-sniffer/optional-plugins/optional-spring-plugins/pom.xml b/apm-sniffer/optional-plugins/optional-spring-plugins/pom.xml index d182813a9..301e1a2e6 100644 --- a/apm-sniffer/optional-plugins/optional-spring-plugins/pom.xml +++ b/apm-sniffer/optional-plugins/optional-spring-plugins/pom.xml @@ -30,7 +30,7 @@ optional-spring-plugins - ${project.build.directory}/../../../../../packages/skywalking-agent/optional-plugins + ${project.build.directory}/../../../../../skywalking-agent/optional-plugins diff --git a/apm-sniffer/optional-plugins/pom.xml b/apm-sniffer/optional-plugins/pom.xml index b2b8830c4..4876cc8e9 100644 --- a/apm-sniffer/optional-plugins/pom.xml +++ b/apm-sniffer/optional-plugins/pom.xml @@ -33,7 +33,7 @@ net.bytebuddy ${shade.package}.${shade.net.bytebuddy.source} - ${project.build.directory}/../../../../packages/skywalking-agent/optional-plugins + ${project.build.directory}/../../../../skywalking-agent/optional-plugins diff --git a/pom.xml b/pom.xml index bcbbff716..ed623e0ed 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ apm-collector apm-protocol apm-webapp - apm-backend-dist + apm-dist pom