diff options
author | gjoranv <gv@oath.com> | 2018-10-01 12:20:26 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-10-01 14:14:54 +0200 |
commit | 5acccddbae1064f93f01ec8ca88083e56e247bc3 (patch) | |
tree | 128996167865a100a5a02a66d59c97c2f6844d75 | |
parent | 73f9e38d4f076a569d3a0176351be3135bc1f5de (diff) |
Calculate exportPackages in a separate JVM (not maven's).
-rw-r--r-- | jdisc_core/pom.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/jdisc_core/pom.xml b/jdisc_core/pom.xml index 1a0c27c71a6..bbfe750b2a5 100644 --- a/jdisc_core/pom.xml +++ b/jdisc_core/pom.xml @@ -227,13 +227,14 @@ <id>export-packages</id> <phase>compile</phase> <goals> - <goal>java</goal> + <goal>exec</goal> </goals> <configuration> - <mainClass>com.yahoo.jdisc.core.ExportPackages</mainClass> - <classpathScope>test</classpathScope> - <cleanupDaemonThreads>false</cleanupDaemonThreads> + <executable>java</executable> <arguments> + <argument>-classpath</argument> + <classpath /> + <argument>com.yahoo.jdisc.core.ExportPackages</argument> <argument>${exportPackagesFile}</argument> <argument>${project.build.directory}/dependency/commons-daemon.jar</argument> <argument>__REPLACE_VERSION__${project.build.directory}/dependency/guava.jar</argument> |