diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..80a74ec14d53eb290c72cd08f8fe13499e8e258c --- /dev/null +++ b/pom.xml @@ -0,0 +1,14 @@ + + 4.0.0 + com.bstek.ureport + ureport2 + 2.0.5 + pom + + ureport2-parent + ureport2-core + ureport2-console + ureport2-font + + \ No newline at end of file diff --git a/ureport2-core/src/main/java/com/bstek/ureport/utils/ElCalculator.java b/ureport2-core/src/main/java/com/bstek/ureport/utils/ElCalculator.java index 0ca317dfe05ab42db1a4a79104618a2924797064..2c4435260b005758dffa2f86938e0ab76317acce 100644 --- a/ureport2-core/src/main/java/com/bstek/ureport/utils/ElCalculator.java +++ b/ureport2-core/src/main/java/com/bstek/ureport/utils/ElCalculator.java @@ -212,7 +212,7 @@ public class ElCalculator { }else if(currentOp=='/' && msg.indexOf("by zero")!=-1){ result = "Infinity"; }else{ - throw ex; + throw new RuntimeException(ex); } } return result; diff --git a/ureport2-font/pom.xml b/ureport2-font/pom.xml index 8f5e72cf0603444175671d1e7ecd0946eea20d40..ba1aa05b189194dadb81c1ec446066fe96afaed4 100644 --- a/ureport2-font/pom.xml +++ b/ureport2-font/pom.xml @@ -4,7 +4,7 @@ com.bstek.ureport ureport2-parent - 2.0.1 + 2.0.5 diff --git a/ureport2-parent/pom.xml b/ureport2-parent/pom.xml index d96e1d40091c2bedef10e65742a89c15036dce1f..3e5926a28f04a794f003dba70f4bce10194a827e 100644 --- a/ureport2-parent/pom.xml +++ b/ureport2-parent/pom.xml @@ -1,183 +1,189 @@ - 4.0.0 - com.bstek.ureport - ureport2-parent - 2.0.5 - pom - - UTF-8 - - - - The Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - - - Gaojie - jacky.gao@bstek.com - Bstek - http://www.bstek.com - - - - https://github.com/youseries/ureport.git - https://github.com/youseries/ureport.git - https://github.com/youseries/ureport - - - Bstek - http://www.bstek.com - - - - - src/main/resources - - **/*.jar - **/*.xml - **/*.xsd - **/*.schemas - **/*.handlers - **/*.properties - **/*.png - **/*.jpg - **/*.gif - **/*.css - **/*.js - **/*.map - **/*.swf - **/*.swz - **/*.html - **/*.jsp - **/*.txt - **/*.eot - **/*.svg - **/*.ttf - **/*.ttc - **/*.TTF - **/*.TTC - **/*.woff - **/*.md - **/*.template - - - - src/main/java - - **/*.xml - **/*.xsd - **/*.schemas - **/*.handlers - **/*.properties - **/*.png - **/*.jpg - **/*.gif - **/*.css - **/*.js - **/*.map - **/*.html - **/*.jsp - **/*.txt - **/*.eot - **/*.svg - **/*.ttf - **/*.ttc - **/*.TTF - **/*.TTC - **/*.woff - **/*.md - **/*.template - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.4 - - 1.7 - 1.7 - utf-8 - - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ossrh - https://oss.sonatype.org/ - true - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.9.1 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + com.bstek.ureport + ureport2-parent + 2.0.5 + pom + + UTF-8 + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + Gaojie + jacky.gao@bstek.com + Bstek + http://www.bstek.com + + + + https://github.com/youseries/ureport.git + https://github.com/youseries/ureport.git + https://github.com/youseries/ureport + + + Bstek + http://www.bstek.com + + + + release + + + + src/main/resources + + **/*.jar + **/*.xml + **/*.xsd + **/*.schemas + **/*.handlers + **/*.properties + **/*.png + **/*.jpg + **/*.gif + **/*.css + **/*.js + **/*.map + **/*.swf + **/*.swz + **/*.html + **/*.jsp + **/*.txt + **/*.eot + **/*.svg + **/*.ttf + **/*.ttc + **/*.TTF + **/*.TTC + **/*.woff + **/*.md + **/*.template + + + + src/main/java + + **/*.xml + **/*.xsd + **/*.schemas + **/*.handlers + **/*.properties + **/*.png + **/*.jpg + **/*.gif + **/*.css + **/*.js + **/*.map + **/*.html + **/*.jsp + **/*.txt + **/*.eot + **/*.svg + **/*.ttf + **/*.ttc + **/*.TTF + **/*.TTC + **/*.woff + **/*.md + **/*.template + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.4 + + 1.7 + 1.7 + utf-8 + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + + + + - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - UReport2 Parent Project - https://github.com/youseries/ureport/tree/master/ureport2-parent - - ${jira.browse.url}/VELOCITY - - UReport2 Parent Project + + UReport2 Parent Project + https://github.com/youseries/ureport/tree/master/ureport2-parent + + ${jira.browse.url}/VELOCITY + + UReport2 Parent Project \ No newline at end of file