summaryrefslogtreecommitdiff
path: root/groot-shaded
diff options
context:
space:
mode:
authorlifengchao <[email protected]>2024-01-23 10:53:43 +0800
committerlifengchao <[email protected]>2024-01-23 10:53:43 +0800
commit3787c3d3638d26a9a36b8c8de090d59385ca2d4b (patch)
tree32f06e5bc7f84aacd61f83fe717b6cf0bfce35e9 /groot-shaded
parent8c29a164536c36d1d133260eb08bc259a2cdeee7 (diff)
[feature][format-protobuf] groot-shaded实现改为简便方式。
Diffstat (limited to 'groot-shaded')
-rw-r--r--groot-shaded/protobuf-shaded/pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/groot-shaded/protobuf-shaded/pom.xml b/groot-shaded/protobuf-shaded/pom.xml
index 23689e5..8fea409 100644
--- a/groot-shaded/protobuf-shaded/pom.xml
+++ b/groot-shaded/protobuf-shaded/pom.xml
@@ -56,6 +56,29 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${basedir}/target/protobuf-shaded-${protobuf.version}.jar</file>
+ <type>jar</type>
+ <classifier>optional</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project> \ No newline at end of file