diff options
author | gjoranv <gjoranv@gmail.com> | 2018-10-01 15:43:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 15:43:37 +0200 |
commit | e4e00a68d60f7ca2cc5c80186052686c22c50e51 (patch) | |
tree | 9b2f7623637f79501edb5c5af480a5847440f8af | |
parent | fbca8fc6115fbf924cc688d927c50d8e9d99a321 (diff) | |
parent | 5acccddbae1064f93f01ec8ca88083e56e247bc3 (diff) |
Merge pull request #7157 from vespa-engine/gjoranv/exec-own-jvm
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> |