aboutsummaryrefslogtreecommitdiffstats
path: root/config-lib/pom.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-30 09:40:38 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-30 09:40:38 +0100
commit1545396dfa8a085bd6d03b4dd9412d788d230299 (patch)
treea7cbbf82799a005437f27d38fc48062a2538f45c /config-lib/pom.xml
parent8001f2c4cf42344178cc4ecb0c695ef701b2bbce (diff)
Revert "Merge pull request #15521 from vespa-engine/revert-15520-bratseth/apply-on-restart-take-4"
This reverts commit 9e228790db5222124dd6a125a9937584bd1d4a4b, reversing changes made to a7cc1248bade10175a73a4602f8452ccda6a102a.
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>