mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
### What is this PR for? Update maven plugin, node vesion, npm package and fix tests to make #1639 pass CI ### What is the Jira issue? Sub issue of #1639 ### Questions: Does the licenses files need update? NO Is there breaking changes for older versions? YES (front-end build tool usage changed) Does this needs documentation? YES (front-end build tool usage changed) Author: 1ambda <1amb4a@gmail.com> Closes #1659 from 1ambda/pr/1639 and squashes the following commits:e5b414b[1ambda] docs: Add a package installation commandd8c9d36[1ambda] docs: Update zeppelin-web/README.mdf0fcdff[1ambda] feat: Add start script to package.jsona2aab1f[1ambda] fix: Remove useless script5cdd813[1ambda] fix: Print warn, error log only while packing5e1e746[1ambda] fix: Caching npm, bower, node directoriesac40b56[1ambda] test: fix test for jasmine-core 2.xded1f2c[1ambda] chore: Update karma, phantom related package version6bb52cc[1ambda] chore: Add slient option to bower (show error only)ca2359c[1ambda] fix: Restore bower install option4c26211[1ambda] chore: Update node, npm version to avoid proxy errore085809[1ambda] chore: Remove bower install root option488092a[1ambda] chore: fix travis maven option668a687[1ambda] chore: Set maven option using mavenrcf42531a[1ambda] chore: Update assembly plugin version532f1e6[1ambda] fix(web): npm tasks in pom.xml6568960[1ambda] chore: Add test, build task to npm314dcd8[1ambda] chore: Update frontend plugin version
182 lines
5.8 KiB
XML
182 lines
5.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Licensed to the Apache Software Foundation (ASF) under one or more
|
|
~ contributor license agreements. See the NOTICE file distributed with
|
|
~ this work for additional information regarding copyright ownership.
|
|
~ The ASF licenses this file to You under the Apache License, Version 2.0
|
|
~ (the "License"); you may not use this file except in compliance with
|
|
~ the License. You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ 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.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<artifactId>zeppelin</artifactId>
|
|
<groupId>org.apache.zeppelin</groupId>
|
|
<version>0.7.0-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<groupId>org.apache.zeppelin</groupId>
|
|
<artifactId>zeppelin-web</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>0.7.0-SNAPSHOT</version>
|
|
<name>Zeppelin: web Application</name>
|
|
|
|
<!-- See https://github.com/eirslett/frontend-maven-plugin/issues/229 -->
|
|
<prerequisites>
|
|
<maven>3.1.0</maven>
|
|
</prerequisites>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<warSourceDirectory>dist</warSourceDirectory>
|
|
<webXml>dist\WEB-INF\web.xml</webXml>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/.idea/</exclude>
|
|
<exclude>**/*.iml</exclude>
|
|
<exclude>.git/</exclude>
|
|
<exclude>.gitignore</exclude>
|
|
<exclude>.bowerrc</exclude>
|
|
<exclude>.editorconfig</exclude>
|
|
<exclude>.jscsrc</exclude>
|
|
<exclude>.eslintrc</exclude>
|
|
<exclude>.tmp/**</exclude>
|
|
<exclude>**/.settings/*</exclude>
|
|
<exclude>**/.classpath</exclude>
|
|
<exclude>**/.project</exclude>
|
|
<exclude>**/target/**</exclude>
|
|
<exclude>node/**</exclude>
|
|
<exclude>node_modules/**</exclude>
|
|
<exclude>bower_components/**</exclude>
|
|
<exclude>test/**</exclude>
|
|
<exclude>dist/**</exclude>
|
|
<exclude>src/.buildignore</exclude>
|
|
<exclude>src/fonts/fontawesome*</exclude>
|
|
<exclude>src/fonts/font-awesome*</exclude>
|
|
<exclude>src/styles/font-awesome*</exclude>
|
|
<exclude>src/fonts/Simple-Line*</exclude>
|
|
<exclude>src/fonts/simple-line*</exclude>
|
|
<exclude>src/fonts/Patua-One*</exclude>
|
|
<exclude>src/fonts/Roboto*</exclude>
|
|
<exclude>src/fonts/Source-Code-Pro*</exclude>
|
|
<exclude>bower.json</exclude>
|
|
<exclude>package.json</exclude>
|
|
<exclude>*.md</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.3</version>
|
|
<executions>
|
|
|
|
<execution>
|
|
<id>install node and npm</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>v6.9.1</nodeVersion>
|
|
<npmVersion>3.10.8</npmVersion>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>install</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>npm build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>npm test</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>test</phase>
|
|
<configuration>
|
|
<arguments>run test</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!--
|
|
Disabling test report generation as it forks the lifecycle
|
|
and results in https://issues.apache.org/jira/browse/ZEPPELIN-69
|
|
|
|
There is no better way to do it, as per
|
|
http://jira.codehaus.org/browse/MCOBERTURA-154
|
|
-->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>cobertura</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>bower_components</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
</project>
|