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.0-SNAPSHOT</version>
29 <artifactId>designtool-web</artifactId>
30 <packaging>war</packaging>
31 <name>dcaegen2-platform-mod-designtool-web</name>
33 <canvas.filter>canvas-min.properties</canvas.filter>
38 <url>https://jcenter.bintray.com</url>
40 <enabled>false</enabled>
43 <enabled>true</enabled>
49 <groupId>org.apache.nifi</groupId>
50 <artifactId>nifi-framework-cluster</artifactId>
51 <version>${nifi.version}</version>
52 <scope>provided</scope>
55 <groupId>org.apache.nifi</groupId>
56 <artifactId>nifi-ui-extension</artifactId>
57 <version>${nifi.version}</version>
58 <scope>provided</scope>
61 <groupId>org.apache.nifi</groupId>
62 <artifactId>nifi-jetty</artifactId>
63 <version>${nifi.version}</version>
64 <scope>provided</scope>
67 <groupId>org.apache.nifi</groupId>
68 <artifactId>nifi-documentation</artifactId>
69 <version>${nifi.version}</version>
70 <scope>provided</scope>
73 <groupId>org.apache.nifi</groupId>
74 <artifactId>nifi-web-content-access</artifactId>
75 <version>${nifi.version}</version>
76 <scope>provided</scope>
79 <groupId>org.slf4j</groupId>
80 <artifactId>jul-to-slf4j</artifactId>
81 <version>${org.slf4j.version}</version>
82 <scope>provided</scope>
85 <groupId>org.onap.dcaegen2.platform.mod</groupId>
86 <artifactId>nifi-war-to-jar</artifactId>
87 <version>${project.version}</version>
88 <scope>provided</scope>
91 <groupId>org.eclipse.jetty</groupId>
92 <artifactId>jetty-server</artifactId>
93 <version>${jetty.version}</version>
94 <scope>provided</scope>
97 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-annotations</artifactId>
99 <version>${jetty.version}</version>
100 <scope>provided</scope>
103 <groupId>org.eclipse.jetty</groupId>
104 <artifactId>jetty-deploy</artifactId>
105 <version>${jetty.version}</version>
106 <scope>provided</scope>
111 <filter>src/main/resources/filters/${canvas.filter}</filter>
115 <groupId>org.eclipse.jetty</groupId>
116 <artifactId>jetty-jspc-maven-plugin</artifactId>
117 <version>${jetty.version}</version>
124 <keepSources>true</keepSources>
125 <useProvidedScope>true</useProvidedScope>
134 <groupId>net.alchim31.maven</groupId>
135 <artifactId>yuicompressor-maven-plugin</artifactId>
136 <version>1.5.1</version>
140 <goal>compress</goal>
143 <sourceDirectory>src/main/webapp</sourceDirectory>
144 <outputDirectory>${staging.dir}</outputDirectory>
145 <nomunge>false</nomunge>
146 <jswarn>false</jswarn>
147 <nosuffix>true</nosuffix>
151 <insertNewLine>true</insertNewLine>
152 <output>${project.build.directory}/${project.build.finalName}//nf-ng-breadcrumbs-controller-min.js</output>
154 <include>${staging.dir}/js/nf/canvas/controllers/nf-ng-breadcrumbs-controller.js</include>
158 <insertNewLine>true</insertNewLine>
159 <output>${project.build.directory}/${project.build.finalName}//nf-ng-processor-component-min.js</output>
161 <include>${staging.dir}/js/nf/canvas/header/components/nf-ng-processor-component.js</include>
165 <insertNewLine>true</insertNewLine>
166 <output>${project.build.directory}/${project.build.finalName}//nf-connection-configuration-min.js</output>
168 <include>${staging.dir}/js/nf/canvas/nf-connection-configuration.js</include>
172 <insertNewLine>true</insertNewLine>
173 <output>${project.build.directory}/${project.build.finalName}//nf-flow-version-min.js</output>
175 <include>${staging.dir}/js/nf/canvas/nf-flow-version.js</include>
179 <insertNewLine>true</insertNewLine>
180 <output>${project.build.directory}/${project.build.finalName}//nf-process-group-min.js</output>
182 <include>${staging.dir}/js/nf/canvas/nf-process-group.js</include>
186 <insertNewLine>true</insertNewLine>
187 <output>${project.build.directory}/${project.build.finalName}//nf-settings-min.js</output>
189 <include>${staging.dir}/js/nf/canvas/nf-settings.js</include>
193 <insertNewLine>true</insertNewLine>
194 <output>${project.build.directory}/${project.build.finalName}/navigation-min.css</output>
196 <include>${staging.dir}/css/navigation.css</include>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-war-plugin</artifactId>
207 <version>3.2.1</version>
211 <directory>src/main/webapp/WEB-INF/pages</directory>
212 <targetPath>WEB-INF/pages</targetPath>
214 <include>canvas.jsp</include>
216 <filtering>true</filtering>
222 <groupId>io.fabric8</groupId>
223 <artifactId>docker-maven-plugin</artifactId>
224 <version>${docker.fabric.version}</version>
226 <verbose>true</verbose>
227 <pullRegistry>${docker.pull.registry}</pullRegistry>
228 <pushRegistry>${docker.push.registry}</pushRegistry>
231 <name>onap/${project.groupId}.${project.artifactId}</name>
232 <registry>${onap.nexus.dockerregistry.daily}</registry>
234 <contextDir>${project.basedir}</contextDir>
237 <tag>${project.version}</tag>
238 <tag>${project.version}-${maven.build.timestamp}Z</tag>