summaryrefslogtreecommitdiffstats
path: root/config-lib/pom.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2020-11-29 14:09:43 +0100
committerGitHub <noreply@github.com>2020-11-29 14:09:43 +0100
commita7cc1248bade10175a73a4602f8452ccda6a102a (patch)
tree503fb8eec9485e981f3171b206566fb6775e943a /config-lib/pom.xml
parent4dd991a350eb2fb75ac5e9a5fdfc517c2025adba (diff)
parentd584331d2eba6738b3196c79e0066b24ec978e79 (diff)
Merge pull request #15520 from vespa-engine/bratseth/apply-on-restart-take-4
Bratseth/apply on restart take 4
Diffstat (limited to 'config-lib/pom.xml')
-rw-r--r--config-lib/pom.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/config-lib/pom.xml b/config-lib/pom.xml
index 1002d43bc37..bc11f0ab874 100644
--- a/config-lib/pom.xml
+++ b/config-lib/pom.xml
@@ -26,6 +26,11 @@
<artifactId>annotations</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>configgen</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -68,6 +73,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>