3 ================================================================================
4 Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.dcaegen2.platform.mod</groupId>
26 <artifactId>designtool</artifactId>
27 <version>1.0.1-SNAPSHOT</version>
29 <artifactId>designtool-web</artifactId>
30 <version>1.0.2-SNAPSHOT</version>
31 <packaging>war</packaging>
32 <name>dcaegen2-platform-mod-designtool-web</name>
34 <canvas.filter>canvas-min.properties</canvas.filter>
39 <url>https://jcenter.bintray.com</url>
41 <enabled>false</enabled>
44 <enabled>true</enabled>
50 <groupId>org.apache.nifi</groupId>
51 <artifactId>nifi-framework-cluster</artifactId>
52 <version>${nifi.version}</version>
53 <scope>provided</scope>
56 <groupId>org.apache.nifi</groupId>
57 <artifactId>nifi-ui-extension</artifactId>
58 <version>${nifi.version}</version>
59 <scope>provided</scope>
62 <groupId>org.apache.nifi</groupId>
63 <artifactId>nifi-jetty</artifactId>
64 <version>${nifi.version}</version>
65 <scope>provided</scope>
68 <groupId>org.apache.nifi</groupId>
69 <artifactId>nifi-documentation</artifactId>
70 <version>${nifi.version}</version>
71 <scope>provided</scope>
74 <groupId>org.apache.nifi</groupId>
75 <artifactId>nifi-web-content-access</artifactId>
76 <version>${nifi.version}</version>
77 <scope>provided</scope>
80 <groupId>org.slf4j</groupId>
81 <artifactId>jul-to-slf4j</artifactId>
82 <version>${org.slf4j.version}</version>
83 <scope>provided</scope>
86 <groupId>org.onap.dcaegen2.platform.mod</groupId>
87 <artifactId>nifi-war-to-jar</artifactId>
88 <version>1.0.1-SNAPSHOT</version>
89 <scope>provided</scope>
92 <groupId>org.eclipse.jetty</groupId>
93 <artifactId>jetty-server</artifactId>
94 <version>${jetty.version}</version>
95 <scope>provided</scope>
98 <groupId>org.eclipse.jetty</groupId>
99 <artifactId>jetty-annotations</artifactId>
100 <version>${jetty.version}</version>
101 <scope>provided</scope>
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-deploy</artifactId>
106 <version>${jetty.version}</version>
107 <scope>provided</scope>
112 <filter>src/main/resources/filters/${canvas.filter}</filter>
116 <groupId>org.eclipse.jetty</groupId>
117 <artifactId>jetty-jspc-maven-plugin</artifactId>
118 <version>${jetty.version}</version>
125 <keepSources>true</keepSources>
126 <useProvidedScope>true</useProvidedScope>
135 <groupId>net.alchim31.maven</groupId>
136 <artifactId>yuicompressor-maven-plugin</artifactId>
137 <version>1.5.1</version>
141 <goal>compress</goal>
144 <sourceDirectory>src/main/webapp</sourceDirectory>
145 <outputDirectory>${staging.dir}</outputDirectory>
146 <nomunge>false</nomunge>
147 <jswarn>false</jswarn>
148 <nosuffix>true</nosuffix>
152 <insertNewLine>true</insertNewLine>
153 <output>${project.build.directory}/${project.build.finalName}//nf-ng-canvas-global-menu-controller-min.js</output>
155 <include>${staging.dir}/js/nf/canvas/controllers/nf-ng-canvas-global-menu-controller.js</include>
159 <insertNewLine>true</insertNewLine>
160 <output>${project.build.directory}/${project.build.finalName}//nf-ng-breadcrumbs-controller-min.js</output>
162 <include>${staging.dir}/js/nf/canvas/controllers/nf-ng-breadcrumbs-controller.js</include>
166 <insertNewLine>true</insertNewLine>
167 <output>${project.build.directory}/${project.build.finalName}//nf-ng-processor-component-min.js</output>
169 <include>${staging.dir}/js/nf/canvas/header/components/nf-ng-processor-component.js</include>
173 <insertNewLine>true</insertNewLine>
174 <output>${project.build.directory}/${project.build.finalName}//nf-connection-configuration-min.js</output>
176 <include>${staging.dir}/js/nf/canvas/nf-connection-configuration.js</include>
180 <insertNewLine>true</insertNewLine>
181 <output>${project.build.directory}/${project.build.finalName}//nf-flow-version-min.js</output>
183 <include>${staging.dir}/js/nf/canvas/nf-flow-version.js</include>
187 <insertNewLine>true</insertNewLine>
188 <output>${project.build.directory}/${project.build.finalName}//nf-process-group-min.js</output>
190 <include>${staging.dir}/js/nf/canvas/nf-process-group.js</include>
194 <insertNewLine>true</insertNewLine>
195 <output>${project.build.directory}/${project.build.finalName}//nf-settings-min.js</output>
197 <include>${staging.dir}/js/nf/canvas/nf-settings.js</include>
201 <insertNewLine>true</insertNewLine>
202 <output>${project.build.directory}/${project.build.finalName}/navigation-min.css</output>
204 <include>${staging.dir}/css/navigation.css</include>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-war-plugin</artifactId>
215 <version>3.2.1</version>
219 <directory>src/main/webapp/WEB-INF/pages</directory>
220 <targetPath>WEB-INF/pages</targetPath>
222 <include>canvas.jsp</include>
224 <filtering>true</filtering>
230 <groupId>io.fabric8</groupId>
231 <artifactId>docker-maven-plugin</artifactId>
232 <version>${docker.fabric.version}</version>
234 <verbose>true</verbose>
235 <pullRegistry>${docker.pull.registry}</pullRegistry>
236 <pushRegistry>${docker.push.registry}</pushRegistry>
239 <name>onap/${project.groupId}.${project.artifactId}</name>
240 <registry>${onap.nexus.dockerregistry.daily}</registry>
242 <contextDir>${project.basedir}</contextDir>
245 <tag>${project.version}</tag>
246 <tag>${project.version}-${maven.build.timestamp}Z</tag>