Commit db7e36f
authored
fix: maven-shade-plugin-build-issues (#111)
* fix: resolve Maven shade plugin build issues
- Disable maven-shade-plugin for common modules to prevent package relocation conflicts
- Fix maven-antrun-plugin configuration in msp-integrations (tasks -> target)
- Resolve compilation errors caused by package relocation during build lifecycle
Changes:
- agent-app-insight-common/pom.xml: disable shade plugin
- agent-jdbc-commons/pom.xml: disable shade plugin
- agent-servlet-commons/pom.xml: disable shade plugin
- msp-integrations/pom.xml: update antrun plugin configuration
This ensures that common modules maintain original package names for proper
compilation of dependent modules while still allowing final plugins to be shaded.
* revert resteasy-jaxrs pom version
Signed-off-by: Ash <[email protected]>
* revert resteasy-jackson-provider pom version
Signed-off-by: Ash <[email protected]>
* refactor: comment out unused shade plugin relocations in pom.xml files
- Commented out the relocation configurations for org.apache.skywalking.apm.agent.core in both agent-main and agent-plugins pom.xml files to prevent potential conflicts during the build process.
This change helps maintain clarity in the build configuration while ensuring that the necessary relocations remain intact for other dependencies.
* refactor: remove unused maven-shade-plugin configurations from pom.xml files
- Removed the maven-shade-plugin configurations from agent-app-insight-common, agent-jdbc-commons, and agent-servlet-commons pom.xml files to streamline the build process and eliminate potential conflicts.
This change enhances clarity in the build configuration while ensuring that the necessary dependencies remain intact.
---------
Signed-off-by: Ash <[email protected]>1 parent 1f0beca commit db7e36f
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments