summaryrefslogtreecommitdiffstats
path: root/config-lib/pom.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-29 13:39:48 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-29 13:39:48 +0100
commit2a1ef08ab314866268c69edaf8235f6aa635bfcb (patch)
treee917cee281d8e63c01365a992c86dfc6d9d85922 /config-lib/pom.xml
parent4dd991a350eb2fb75ac5e9a5fdfc517c2025adba (diff)
Revert "Merge pull request #15510 from vespa-engine/revert-15508-bratseth/apply-on-restart-take-3"
This reverts commit 3c95d11418e3ebffc1260207932b7e8f3955e1a0, reversing changes made to 7a1a70055770a82bf42bff668abaf011af3f6e55.
Diffstat (limited to 'config-lib/pom.xml')
-rw-r--r--config-lib/pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/config-lib/pom.xml b/config-lib/pom.xml
index 1002d43bc37..c9eceb10812 100644
--- a/config-lib/pom.xml
+++ b/config-lib/pom.xml
@@ -26,6 +26,12 @@
<artifactId>annotations</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>configgen</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -68,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>