Temporarily use assembly instead of shade

This commit is contained in:
Mike Cifelli 2018-10-21 09:26:50 -04:00
parent c7b9f694c7
commit 59ecb503b5
2 changed files with 36 additions and 36 deletions

View File

@ -10,6 +10,6 @@
mvn clean verify mvn clean verify
# run the interpreter # run the interpreter
java -jar target/transcendental-lisp-*.jar java -jar target/transcendental-lisp-*-jar-with-dependencies.jar
``` ```

70
pom.xml
View File

@ -136,53 +136,53 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>application.LispMain</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<!--<plugin>--> <!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>--> <!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-assembly-plugin</artifactId>--> <!--<artifactId>maven-shade-plugin</artifactId>-->
<!--<version>3.1.0</version>--> <!--<version>3.2.0</version>-->
<!--<executions>--> <!--<executions>-->
<!--<execution>--> <!--<execution>-->
<!--<phase>package</phase>--> <!--<phase>package</phase>-->
<!--<goals>--> <!--<goals>-->
<!--<goal>single</goal>--> <!--<goal>shade</goal>-->
<!--</goals>--> <!--</goals>-->
<!--<configuration>--> <!--<configuration>-->
<!--<archive>--> <!--<transformers>-->
<!--<manifest>--> <!--<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">-->
<!--<mainClass>--> <!--<mainClass>application.LispMain</mainClass>-->
<!--application.LispMain--> <!--</transformer>-->
<!--</mainClass>--> <!--</transformers>-->
<!--<addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
<!--</manifest>-->
<!--</archive>-->
<!--<descriptorRefs>-->
<!--<descriptorRef>jar-with-dependencies</descriptorRef>-->
<!--</descriptorRefs>-->
<!--</configuration>--> <!--</configuration>-->
<!--</execution>--> <!--</execution>-->
<!--</executions>--> <!--</executions>-->
<!--</plugin>--> <!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
application.LispMain
</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>