Split the deps into api and runtime

This is based on !34 in jfaas. The plan is to only depend on the api in
the pom file and for the runtime to be embedded into the run image.
Currently, there isn't a registry to push a Java image with the runtime
embedded so for run, we'll still reference both the api and runtime in
the pom.
This commit is contained in:
Mukhtar Haji
2017-07-06 10:41:25 +01:00
parent 5c5f10d6e5
commit ce7ef8bb99

View File

@@ -142,7 +142,12 @@ const (
<dependencies>
<dependency>
<groupId>com.oracle.faas</groupId>
<artifactId>fdk</artifactId>
<artifactId>api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.oracle.faas</groupId>
<artifactId>runtime</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>