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.FinanceUnitTests||13:54:16 Sun, Jan 21, 2018|
|TranscendentalLisp.SetUp||10:15:35 Sun, Jan 21, 2018| |TranscendentalLisp.SetUp||13:53:35 Sun, Jan 21, 2018|
|TranscendentalLisp.SuiteSetUp||10:12:22 Sun, Jan 21, 2018| |TranscendentalLisp.SuiteSetUp||10:12:22 Sun, Jan 21, 2018|
|TranscendentalLisp.Recursion||15:06:26 Sun, Nov 26, 2017| |TranscendentalLisp.Recursion||15:06:26 Sun, Nov 26, 2017|
|TranscendentalLisp||16:15:14 Fri, Mar 17, 2017| |TranscendentalLisp||16:15:14 Fri, Mar 17, 2017|

View File

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

View File

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

58
pom.xml
View File

@ -5,14 +5,14 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gitlab</groupId> <groupId>com.gitlab.mike-cifelli</groupId>
<artifactId>transcendental-lisp</artifactId> <artifactId>transcendental-lisp</artifactId>
<version>1.2.0</version> <version>1.2.0</version>
<build> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory> <testSourceDirectory>test</testSourceDirectory>
<resources> <resources>
<resource> <resource>
<directory>lisp/lang</directory> <directory>lisp/lang</directory>
@ -30,18 +30,51 @@
<plugins> <plugins>
<plugin> <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> <artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version> <version>3.7.0</version>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.3</version> <version>3.1.0</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -58,19 +91,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>
@ -80,14 +100,14 @@
<artifactId>lanterna</artifactId> <artifactId>lanterna</artifactId>
<version>3.0.0</version> <version>3.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.12</version> <version>4.12</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.hamcrest</groupId> <groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId> <artifactId>hamcrest-all</artifactId>

View File

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