Update maven plugin versions

This commit is contained in:
Mike Cifelli 2018-01-21 14:33:52 -05:00
parent 568fce3c11
commit e41a92a98a
5 changed files with 45 additions and 25 deletions

View File

@ -1,5 +1,5 @@
|TranscendentalLisp.FinanceUnitTests||10:16:07 Sun, Jan 21, 2018|
|TranscendentalLisp.SetUp||10:15:35 Sun, Jan 21, 2018|
|TranscendentalLisp.FinanceUnitTests||13:54:16 Sun, Jan 21, 2018|
|TranscendentalLisp.SetUp||13:53:35 Sun, Jan 21, 2018|
|TranscendentalLisp.SuiteSetUp||10:12:22 Sun, Jan 21, 2018|
|TranscendentalLisp.Recursion||15:06:26 Sun, Nov 26, 2017|
|TranscendentalLisp||16:15:14 Fri, Mar 17, 2017|

View File

@ -4,11 +4,11 @@ Test
Unit tests for the interest-compounder class.
| script | lisp interpreter fixture |
| refresh interpreter |
| reset interpreter |
| check | evaluate file | lisp/finance/interest-compounder-test.lisp | =~/\nT$/ |
Unit tests for the compound-interest function.
| script | lisp interpreter fixture |
| refresh interpreter |
| reset interpreter |
| check | evaluate file | lisp/finance/compound-interest-test.lisp | =~/\nT$/ |

View File

@ -2,4 +2,4 @@
Test
---
| script | lisp interpreter fixture |
| refresh interpreter |
| reset interpreter |

52
pom.xml
View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.gitlab</groupId>
<groupId>com.gitlab.mike-cifelli</groupId>
<artifactId>transcendental-lisp</artifactId>
<version>1.2.0</version>
@ -30,18 +30,51 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
@ -58,19 +91,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -23,7 +23,7 @@ public class LispInterpreterFixture {
private static RuntimeEnvironment environment = RuntimeEnvironment.getInstance();
private static LispInterpreter interpreter = null;
public static void refreshInterpreter() {
public static void resetInterpreter() {
cleanUp();
buildInterpreter();
}