mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
WiseEditor WAR generation.
This commit is contained in:
parent
ba24e02d85
commit
c4f32cbcf9
@ -2,8 +2,8 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>wise-editor</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>WiseMapping Standalone Editor Distribution</name>
|
||||
<packaging>war</packaging>
|
||||
<name>WiseMapping Editor</name>
|
||||
<url>http://www.wisemapping.org</url>
|
||||
<parent>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
@ -26,4 +26,64 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
<version>6.1.26</version>
|
||||
<configuration>
|
||||
<connectors>
|
||||
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
||||
<port>8080</port>
|
||||
<maxIdleTime>60000</maxIdleTime>
|
||||
</connector>
|
||||
</connectors>
|
||||
<webApp>${project.build.directory}/wise-editor-3.0-SNAPSHOT.war</webApp>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<configuration>
|
||||
<warSourceExcludes>js/mindplot-min.js</warSourceExcludes>
|
||||
<overlays>
|
||||
<overlay>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
<artifactId>core-js</artifactId>
|
||||
<type>jar</type>
|
||||
<targetPath>js</targetPath>
|
||||
<includes>
|
||||
<include>*.js</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
<artifactId>mindplot</artifactId>
|
||||
<type>jar</type>
|
||||
<targetPath>css</targetPath>
|
||||
<includes>
|
||||
<include>**/*.css</include>
|
||||
<include>**/*.html</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
<artifactId>mindplot</artifactId>
|
||||
<type>jar</type>
|
||||
<targetPath>js</targetPath>
|
||||
<includes>
|
||||
<include>*.js</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
</overlays>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
|
9
wise-editor/src/main/webapp/WEB-INF/web.xml
Normal file
9
wise-editor/src/main/webapp/WEB-INF/web.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
|
||||
</web-app>
|
@ -1,6 +1,6 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta HTTP-EQUIV="REFRESH" content="0; url=/html/editor.html">
|
||||
<meta HTTP-EQUIV="REFRESH" content="0; url=html/editor.html">
|
||||
</head>
|
||||
</html>
|
||||
|
@ -39,6 +39,7 @@
|
||||
<artifactId>wise-editor</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
<type>war</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
@ -347,6 +348,19 @@
|
||||
<configuration>
|
||||
<warName>wisemapping</warName>
|
||||
<overlays>
|
||||
<overlay>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
<artifactId>wise-editor</artifactId>
|
||||
<type>war</type>
|
||||
<targetPath>css</targetPath>
|
||||
<includes>
|
||||
<include>**/*.css</include>
|
||||
<include>**/*.jpg</include>
|
||||
<include>**/*.ico</include>
|
||||
<include>**/*.jpg</include>
|
||||
<include>**/*.less</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.wisemapping</groupId>
|
||||
<artifactId>core-js</artifactId>
|
||||
|
BIN
wise-webapp/src/main/webapp/images/es.gif
Normal file
BIN
wise-webapp/src/main/webapp/images/es.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 331 B |
BIN
wise-webapp/src/main/webapp/images/fr.gif
Normal file
BIN
wise-webapp/src/main/webapp/images/fr.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 148 B |
BIN
wise-webapp/src/main/webapp/images/icon_triangle_grey_12x13.gif
Normal file
BIN
wise-webapp/src/main/webapp/images/icon_triangle_grey_12x13.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 192 B |
BIN
wise-webapp/src/main/webapp/images/info.png
Normal file
BIN
wise-webapp/src/main/webapp/images/info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 778 B |
BIN
wise-webapp/src/main/webapp/images/uk.gif
Normal file
BIN
wise-webapp/src/main/webapp/images/uk.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue
Block a user