Skip to content

Commit 8285e36

Browse files
committed
提交修改
1 parent 87c61d3 commit 8285e36

File tree

4 files changed

+83
-17
lines changed

4 files changed

+83
-17
lines changed

java/toolgood.algorithm/build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn clean install -Dmaven.test.skip javadoc:jar source:jar install gpg:sign

java/toolgood.algorithm/pom.xml

Lines changed: 81 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,46 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>toolgood</groupId>
7+
<groupId>io.github.toolgood</groupId>
88
<artifactId>toolgood-algorithm</artifactId>
99
<version>3.0.3.0</version>
10+
<packaging>jar</packaging>
1011

1112
<name>toolgood.algorithm</name>
1213
<url>https://github.com/toolgood/ToolGood.Algorithm</url>
14+
<description>ToolGood.Algorithm supports Four arithmetic, Excel formula, and supports Custom parameters. </description>
15+
<licenses>
16+
<license>
17+
<name>The Apache Software License, Version 2.0</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
<scm>
23+
<url>https://github.com/toolgood/ToolGood.Algorithm</url>
24+
<connection>scm:git:https://github.com/toolgood/ToolGood.Algorithm.git</connection>
25+
<developerConnection>scm:git:https://github.com/toolgood/ToolGood.Algorithm.git</developerConnection>
26+
</scm>
27+
<developers>
28+
<developer>
29+
<name>Lin Zhijun</name>
30+
<url>https://github.com/toolgood</url>
31+
<roles>
32+
<role>Project lead</role>
33+
</roles>
34+
</developer>
35+
</developers>
1336

1437
<properties>
1538
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1640
<maven.compiler.source>1.8</maven.compiler.source>
1741
<maven.compiler.target>1.8</maven.compiler.target>
1842
</properties>
19-
43+
<issueManagement>
44+
<system>GitHub Issues</system>
45+
<url>https://github.com/toolgood/ToolGood.Algorithm/issues</url>
46+
</issueManagement>
2047

2148
<dependencies>
2249
<dependency>
@@ -26,13 +53,11 @@
2653
<scope>test</scope>
2754
</dependency>
2855

29-
<dependency>
30-
<groupId>org.antlr.v4.runtime</groupId>
31-
<artifactId>antlr-runtime</artifactId>
32-
<version>4.8</version>
33-
<scope>system</scope>
34-
<systemPath>${basedir}\libs\antlr-runtime-4.8.jar</systemPath>
35-
</dependency>
56+
<dependency>
57+
<groupId>org.antlr</groupId>
58+
<artifactId>antlr4-runtime</artifactId>
59+
<version>4.9.3</version>
60+
</dependency>
3661
<dependency>
3762
<groupId>joda-time</groupId>
3863
<artifactId>joda-time</artifactId>
@@ -43,12 +68,16 @@
4368
<artifactId>commons-text</artifactId>
4469
<version>1.9</version>
4570
</dependency>
46-
4771
</dependencies>
4872

4973
<build>
5074
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
5175
<plugins>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-deploy-plugin</artifactId>
79+
<version>2.8.2</version>
80+
</plugin>
5281
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
5382
<plugin>
5483
<artifactId>maven-clean-plugin</artifactId>
@@ -86,11 +115,6 @@
86115
<artifactId>maven-install-plugin</artifactId>
87116
<version>2.5.2</version>
88117
</plugin>
89-
<plugin>
90-
<artifactId>maven-deploy-plugin</artifactId>
91-
<version>2.8.2</version>
92-
</plugin>
93-
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
94118
<plugin>
95119
<artifactId>maven-site-plugin</artifactId>
96120
<version>3.7.1</version>
@@ -99,6 +123,48 @@
99123
<artifactId>maven-project-info-reports-plugin</artifactId>
100124
<version>3.0.0</version>
101125
</plugin>
126+
<plugin>
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-gpg-plugin</artifactId>
129+
<version>1.6</version>
130+
<executions>
131+
<execution>
132+
<id>sign-artifacts</id>
133+
<phase>verify</phase>
134+
<goals>
135+
<goal>sign</goal>
136+
</goals>
137+
</execution>
138+
</executions>
139+
</plugin>
140+
<plugin> <!-- create javadoc jar -->
141+
<groupId>org.apache.maven.plugins</groupId>
142+
<artifactId>maven-javadoc-plugin</artifactId>
143+
<version>2.10.4</version>
144+
<configuration>
145+
<javadocVersion>1.7</javadocVersion>
146+
<failOnError>false</failOnError>
147+
</configuration>
148+
<executions>
149+
<execution>
150+
<goals>
151+
<goal>javadoc</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
<plugin> <!-- create src jar -->
157+
<groupId>org.apache.maven.plugins</groupId>
158+
<artifactId>maven-source-plugin</artifactId>
159+
<version>3.0.1</version>
160+
<executions>
161+
<execution>
162+
<goals>
163+
<goal>jar</goal>
164+
</goals>
165+
</execution>
166+
</executions>
167+
</plugin>
102168
</plugins>
103169
</pluginManagement>
104170
</build>

java/toolgood.algorithm/src/main/java/toolgood/algorithm/math/mathLexer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package toolgood.algorithm.math;
22

3-
// Generated from math.g4 by ANTLR 4.8
43
import org.antlr.v4.runtime.Lexer;
54
import org.antlr.v4.runtime.CharStream;
65
import org.antlr.v4.runtime.Token;

java/toolgood.algorithm/src/main/java/toolgood/algorithm/math/mathParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
1212
public class mathParser extends Parser {
1313
static {
14-
RuntimeMetaData.checkVersion("4.8", RuntimeMetaData.VERSION);
14+
RuntimeMetaData.checkVersion("4.9.3", RuntimeMetaData.VERSION);
1515
}
1616
protected static final DFA[] _decisionToDFA;
1717
protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();

0 commit comments

Comments
 (0)