aboutsummaryrefslogtreecommitdiffstats
path: root/config-lib
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-27 14:21:54 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-27 14:21:54 +0100
commitbd67897b00b7670a72defc4a46cc051ab6581026 (patch)
tree83b974e8490c72ced8e9fd82e405ee104c86c130 /config-lib
parent0facde033e35dbd0510c095519e322667ba278bd (diff)
Import codegen
Diffstat (limited to 'config-lib')
-rw-r--r--config-lib/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/config-lib/pom.xml b/config-lib/pom.xml
index 90c61725466..c9eceb10812 100644
--- a/config-lib/pom.xml
+++ b/config-lib/pom.xml
@@ -74,6 +74,31 @@
<groupId>com.yahoo.vespa</groupId>
<artifactId>abi-check-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <configuration>
+ <finalName>${project.artifactId}-jar-with-dependencies</finalName>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <manifestEntries>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Import-Package>
+ com.yahoo.config.codegen<!-- TODO: Remove when the model of config def, which today is InnerCNode in codegen :-(, is moved to config-lib -->
+ </Import-Package>
+ </manifestEntries>
+ </transformer>
+ </transformers>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>