Skip to content

Commit 86bbb3d

Browse files
authored
Merge pull request #1 from GwtMaterialDesign/feature/amchart
AmCharts initial delivery
2 parents 98febec + c63cec4 commit 86bbb3d

File tree

505 files changed

+213896
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

505 files changed

+213896
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.idea/
2+
/gwt-material-amchart.iml
3+
/target/

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
sudo: false
2+
language: java
3+
jdk:
4+
- oraclejdk8
5+
cache:
6+
directories:
7+
- $HOME/.m2
8+
before_install:
9+
# install the gwt-material-jquery library
10+
- git clone -b release_2.1 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
11+
- cd gwt-material-jquery
12+
- mvn install -DskipTests=true -DdryRun=true
13+
- cd ..
14+
# install the gwt-material library
15+
- git clone -b release_2.1 https://github.com/GwtMaterialDesign/gwt-material.git
16+
- cd gwt-material
17+
- mvn install -DskipTests=true -DdryRun=true
18+
- cd ..
19+
install: true
20+
before_script:
21+
- chmod +x .utility/*
22+
script:
23+
- mvn clean install -DdryRun=true
24+
after_success:
25+
- .utility/deploy.sh

.utility/deploy.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -ev
3+
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "feature/amcharts" ]; then
4+
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml
5+
mvn deploy --settings ~/settings.xml
6+
fi

README.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,53 @@
1-
# gwt-material-amchart
2-
GMD + AmChart for charting library
1+
<img src="https://i.imgur.com/1q1K6BU.png" width="60%"/>
2+
3+
GwtMaterialDesign plus [AmCharts](https://www.amcharts.com/) provides you professional and nice looking [charts](https://www.amcharts.com/javascript-charts/), [maps](https://www.amcharts.com/javascript-maps/) and [stock charts](https://www.amcharts.com/stock-chart/).
4+
5+
6+
[![Build Status](https://travis-ci.org/GwtMaterialDesign/gwt-material-amcharts.svg?branch=master)](https://travis-ci.org/GwtMaterialDesign/gwt-material-amcharts) [![Join the chat at https://gitter.im/GwtMaterialDesign/gwt-material](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/GwtMaterialDesign/gwt-material?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7+
8+
## Demo
9+
* Under Construction
10+
11+
## Documentation
12+
AmCharts Official Documentation can be found [here](https://docs.amcharts.com/3/javascriptcharts/AmChart)
13+
14+
15+
## Maven
16+
### Snapshot Version 2.1-SNAPSHOT
17+
```xml
18+
<dependency>
19+
<groupId>com.github.gwtmaterialdesign</groupId>
20+
<artifactId>gwt-material-amcharts</artifactId>
21+
<version>2.1-SNAPSHOT</version>
22+
</dependency>
23+
```
24+
25+
## License
26+
[Apache 2.0 License](https://github.com/GwtMaterialDesign/gwt-material/blob/master/LICENSE)
27+
28+
## Contributing
29+
Contributions are welcomed by all! If you would like to submit changes be sure to fork this project and create a [Pull Request](https://yangsu.github.io/pull-request-tutorial/) for us to review. PR's will be reviewed by the team as soon as possible. You will also be listed as a contributor on our changelog notes.
30+
31+
Please follow the [contribution document](https://github.com/GwtMaterialDesign/gwt-material/wiki/Contributing) on the projects code style standards.
32+
33+
## Follow Us
34+
<a href="https://plus.google.com/u/0/communities/108005250093449814286"> Google Plus</a>
35+
36+
## Related Projects
37+
<ul>
38+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-addins" >Addins</a></li>
39+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-themes" >Themes</a></li>
40+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-jquery" >JQuery</a></li>
41+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-table" >Table</a></li>
42+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-demo" >Demo</a></li>
43+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-demo-errai" >Errai Demo</a></li>
44+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-template" >Starter</a></li>
45+
<li><a href="https://github.com/GwtMaterialDesign/gwt-material-patterns" >Patterns</a></li>
46+
</ul>
47+
48+
## Testing Platform
49+
<p>Many thanks to BrowserStack for sponsoring our Open Source projects</p>
50+
<a href="https://www.browserstack.com/" target="_blank">
51+
<img width="300px" src="https://www.browserstack.com/images/layout/browserstack-logo-600x315.png"/>
52+
</a>
53+

gwt-material-amcharts.iml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3+
<component name="FacetManager">
4+
<facet type="gwt" name="GWT">
5+
<configuration>
6+
<setting name="compilerParameters" value="-compileReport -XcompilerMetrics" />
7+
<setting name="compilerMaxHeapSize" value="1024" />
8+
<setting name="gwtScriptOutputStyle" value="DETAILED" />
9+
<setting name="gwtSdkUrl" value="file://$MAVEN_REPOSITORY$/com/google/gwt/gwt-dev/2.8.2" />
10+
<setting name="gwtSdkType" value="maven" />
11+
<packaging>
12+
<module name="gwt.material.design.amcharts.GwtMaterialAmChartsBase" enabled="false" />
13+
<module name="gwt.material.design.amcharts.GwtMaterialAmChartsBasic" enabled="false" />
14+
<module name="gwt.material.design.amcharts.GwtMaterialAmChartsBasicDebug" enabled="false" />
15+
<module name="gwt.material.design.amcharts.GwtMaterialAmChartsDebug" enabled="false" />
16+
</packaging>
17+
</configuration>
18+
</facet>
19+
</component>
20+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
21+
<output url="file://$MODULE_DIR$/target/classes" />
22+
<output-test url="file://$MODULE_DIR$/target/test-classes" />
23+
<content url="file://$MODULE_DIR$">
24+
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
25+
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
26+
<excludeFolder url="file://$MODULE_DIR$/target" />
27+
</content>
28+
<orderEntry type="inheritedJdk" />
29+
<orderEntry type="sourceFolder" forTests="false" />
30+
<orderEntry type="library" name="Maven: com.google.gwt:gwt-user:2.8.2" level="project" />
31+
<orderEntry type="library" name="Maven: com.google.jsinterop:jsinterop-annotations:1.0.2" level="project" />
32+
<orderEntry type="library" name="Maven: com.google.jsinterop:jsinterop-annotations:sources:1.0.2" level="project" />
33+
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.0.0.GA" level="project" />
34+
<orderEntry type="library" name="Maven: javax.validation:validation-api:sources:1.0.0.GA" level="project" />
35+
<orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
36+
<orderEntry type="library" name="Maven: org.w3c.css:sac:1.3" level="project" />
37+
<orderEntry type="library" name="Maven: com.google.gwt:gwt-dev:2.8.2" level="project" />
38+
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
39+
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.6.2" level="project" />
40+
<orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.3" level="project" />
41+
<orderEntry type="library" name="Maven: org.ow2.asm:asm-util:5.0.3" level="project" />
42+
<orderEntry type="library" name="Maven: org.ow2.asm:asm-tree:5.0.3" level="project" />
43+
<orderEntry type="library" name="Maven: org.ow2.asm:asm-commons:5.0.3" level="project" />
44+
<orderEntry type="library" name="Maven: colt:colt:1.2.0" level="project" />
45+
<orderEntry type="library" name="Maven: ant:ant:1.6.5" level="project" />
46+
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.2" level="project" />
47+
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
48+
<orderEntry type="library" name="Maven: com.ibm.icu:icu4j:50.1.1" level="project" />
49+
<orderEntry type="library" name="Maven: tapestry:tapestry:4.0.2" level="project" />
50+
<orderEntry type="library" name="Maven: net.sourceforge.htmlunit:htmlunit:2.19" level="project" />
51+
<orderEntry type="library" name="Maven: xalan:xalan:2.7.2" level="project" />
52+
<orderEntry type="library" name="Maven: xalan:serializer:2.7.2" level="project" />
53+
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.4" level="project" />
54+
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.1" level="project" />
55+
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.3" level="project" />
56+
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.1" level="project" />
57+
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
58+
<orderEntry type="library" name="Maven: net.sourceforge.htmlunit:htmlunit-core-js:2.17" level="project" />
59+
<orderEntry type="library" name="Maven: xerces:xercesImpl:2.11.0" level="project" />
60+
<orderEntry type="library" name="Maven: xml-apis:xml-apis:1.4.01" level="project" />
61+
<orderEntry type="library" name="Maven: net.sourceforge.nekohtml:nekohtml:1.9.22" level="project" />
62+
<orderEntry type="library" name="Maven: net.sourceforge.cssparser:cssparser:0.9.18" level="project" />
63+
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
64+
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-client:9.2.13.v20150730" level="project" />
65+
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-common:9.2.14.v20151106" level="project" />
66+
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-api:9.2.14.v20151106" level="project" />
67+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-webapp:9.2.14.v20151106" level="project" />
68+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-xml:9.2.14.v20151106" level="project" />
69+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlet:9.2.14.v20151106" level="project" />
70+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-security:9.2.14.v20151106" level="project" />
71+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlets:9.2.14.v20151106" level="project" />
72+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:9.2.14.v20151106" level="project" />
73+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:9.2.14.v20151106" level="project" />
74+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:9.2.14.v20151106" level="project" />
75+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:9.2.14.v20151106" level="project" />
76+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-annotations:9.2.14.v20151106" level="project" />
77+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-plus:9.2.14.v20151106" level="project" />
78+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-jndi:9.2.14.v20151106" level="project" />
79+
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.2" level="project" />
80+
<orderEntry type="library" name="Maven: org.eclipse.jetty:apache-jsp:9.2.14.v20151106" level="project" />
81+
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:9.2.14.v20151106" level="project" />
82+
<orderEntry type="library" name="Maven: org.eclipse.jetty.toolchain:jetty-schemas:3.1.M0" level="project" />
83+
<orderEntry type="library" name="Maven: org.mortbay.jasper:apache-jsp:8.0.9.M3" level="project" />
84+
<orderEntry type="library" name="Maven: org.mortbay.jasper:apache-el:8.0.9.M3" level="project" />
85+
<orderEntry type="module" module-name="gwt-material" />
86+
<orderEntry type="module" module-name="gwt-material-jquery" />
87+
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
88+
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
89+
</component>
90+
</module>

pom.xml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
6+
<parent>
7+
<groupId>com.github.gwtmaterialdesign</groupId>
8+
<artifactId>gwt-material-parent</artifactId>
9+
<version>2.1-SNAPSHOT</version>
10+
</parent>
11+
12+
<modelVersion>4.0.0</modelVersion>
13+
14+
<groupId>com.github.gwtmaterialdesign</groupId>
15+
<artifactId>gwt-material-amcharts</artifactId>
16+
<version>2.1-SNAPSHOT</version>
17+
<packaging>jar</packaging>
18+
19+
<name>gwt-material-amcharts</name>
20+
21+
<repositories>
22+
<repository>
23+
<id>central</id>
24+
<name>Central Repository</name>
25+
<url>https://repo.maven.apache.org/maven2</url>
26+
</repository>
27+
<repository>
28+
<id>sonatype-nexus-snapshot</id>
29+
<name>Sonatype Nexus snapshot repository</name>
30+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
31+
</repository>
32+
</repositories>
33+
34+
<pluginRepositories>
35+
<pluginRepository>
36+
<id>snapshots-repo</id>
37+
<!--<url>https://oss.sonatype.org/content/repositories/google-snapshots</url>-->
38+
<url>https://oss.sonatype.org/content/repositories/public/</url>
39+
<releases>
40+
<enabled>false</enabled>
41+
</releases>
42+
<snapshots>
43+
<enabled>true</enabled>
44+
</snapshots>
45+
</pluginRepository>
46+
</pluginRepositories>
47+
48+
<properties>
49+
<!-- Project properties -->
50+
<maven.compiler.source>1.8</maven.compiler.source>
51+
<maven.compiler.target>1.8</maven.compiler.target>
52+
<project.encoding>UTF-8</project.encoding>
53+
<tbroyer.version>1.0-rc-9</tbroyer.version>
54+
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
55+
</properties>
56+
57+
<distributionManagement>
58+
<snapshotRepository>
59+
<id>ossrh</id>
60+
<name>Sonatype Nexus snapshot repository</name>
61+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
62+
</snapshotRepository>
63+
<repository>
64+
<id>sonatype-nexus-staging</id>
65+
<name>Sonatype Nexus release repository</name>
66+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
67+
</repository>
68+
</distributionManagement>
69+
70+
<dependencies>
71+
<!-- GWT -->
72+
<dependency>
73+
<groupId>com.google.gwt</groupId>
74+
<artifactId>gwt-user</artifactId>
75+
</dependency>
76+
<dependency>
77+
<groupId>com.google.gwt</groupId>
78+
<artifactId>gwt-dev</artifactId>
79+
</dependency>
80+
81+
<!-- GwtMaterial -->
82+
<dependency>
83+
<groupId>com.github.gwtmaterialdesign</groupId>
84+
<artifactId>gwt-material</artifactId>
85+
<version>${parent.version}</version>
86+
</dependency>
87+
88+
<!-- Testing -->
89+
<dependency>
90+
<groupId>junit</groupId>
91+
<artifactId>junit</artifactId>
92+
<version>4.11</version>
93+
<!-- this can be overridden -->
94+
<scope>test</scope>
95+
</dependency>
96+
</dependencies>
97+
98+
<build>
99+
<resources>
100+
<resource>
101+
<directory>src/main/java</directory>
102+
</resource>
103+
<resource>
104+
<directory>src/main/resources</directory>
105+
</resource>
106+
</resources>
107+
108+
<plugins>
109+
<plugin>
110+
<artifactId>maven-surefire-plugin</artifactId>
111+
<version>2.6</version>
112+
<configuration>
113+
<excludes>
114+
<exclude>**/*Test.java</exclude>
115+
</excludes>
116+
<additionalClasspathElements>
117+
<additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
118+
<additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
119+
</additionalClasspathElements>
120+
<useManifestOnlyJar>false</useManifestOnlyJar>
121+
<forkMode>always</forkMode>
122+
</configuration>
123+
</plugin>
124+
125+
<plugin>
126+
<groupId>net.ltgt.gwt.maven</groupId>
127+
<artifactId>gwt-maven-plugin</artifactId>
128+
<version>${tbroyer.version}</version>
129+
<extensions>true</extensions>
130+
<configuration>
131+
<moduleName>gwt.material.design.amcharts.GwtMaterialAmCharts</moduleName>
132+
<style>OBFUSCATED</style>
133+
<logLevel>INFO</logLevel>
134+
<sourceLevel>1.8</sourceLevel>
135+
<jvmArgs>
136+
<jvmArg>-Xmx1g</jvmArg>
137+
<jvmArg>-Xms1g</jvmArg>
138+
<jvmArg>-XX:CompileThreshold=7000</jvmArg>
139+
</jvmArgs>
140+
<optimize>9</optimize>
141+
<compilerArgs>
142+
<compilerArg>-compileReport</compilerArg>
143+
<compilerArg>-XcompilerMetrics</compilerArg>
144+
</compilerArgs>
145+
<skipModule>true</skipModule>
146+
<classpathScope>compile+runtime</classpathScope>
147+
<failOnError>true</failOnError>
148+
<skipModule>true</skipModule>
149+
</configuration>
150+
<executions>
151+
<execution>
152+
<goals>
153+
<goal>compile</goal>
154+
<goal>test</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
</plugin>
159+
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-compiler-plugin</artifactId>
163+
<configuration>
164+
<source>1.8</source>
165+
<target>1.8</target>
166+
</configuration>
167+
</plugin>
168+
169+
<plugin>
170+
<groupId>org.apache.maven.plugins</groupId>
171+
<artifactId>maven-source-plugin</artifactId>
172+
</plugin>
173+
</plugins>
174+
</build>
175+
</project>

0 commit comments

Comments
 (0)