~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
- -->
+ ~ Modifications copyright (c) 2019 Nokia
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<parent>
<groupId>org.onap.sdc.sdc-workflow-designer</groupId>
<artifactId>workflow-designer-parent</artifactId>
- <version>1.3.0-SNAPSHOT</version>
+ <version>1.6.4-SNAPSHOT</version>
</parent>
<properties>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-proxy</artifactId>
- <version>9.4.11.v20180605</version>
+ <version>9.4.18.v20190429</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
- <version>1.6</version>
+ <version>1.8.0</version>
<configuration>
<workingDirectory>src/main/frontend</workingDirectory>
<installDirectory>target</installDirectory>
</goals>
<phase>generate-resources</phase>
<configuration>
- <nodeVersion>v8.11.4</nodeVersion>
- <yarnVersion>v1.9.4</yarnVersion>
+ <nodeVersion>v10.17.0</nodeVersion>
+ <yarnVersion>v1.19.1</yarnVersion>
</configuration>
</execution>
<execution>
</activation>
<build>
<plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <id>copy-resources-docker</id>
+ <phase>install</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/docker</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.build.directory}</directory>
+ <include>${project.artifactId}-${project.version}.war</include>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<tags>
<tag>${project.version}</tag>
</tags>
- <from>jetty:9.4.11-alpine</from>
- <user>root</user>
- <assembly>
- <descriptorRef>artifact</descriptorRef>
- <targetDir>/var/lib/jetty/webapps</targetDir>
- </assembly>
- <entryPoint>
- java -DproxyTo=$BACKEND $JAVA_OPTIONS -jar $JETTY_HOME/start.jar
- </entryPoint>
+ <dockerFileDir>${project.basedir}/docker</dockerFileDir>
+ <args>
+ <ARTIFACT>${project.artifactId}-${project.version}.war</ARTIFACT>
+ </args>
</build>
</image>
</images>