Skip to content

Commit

Permalink
Merge pull request #2 from SergeantSerk/build-fix
Browse files Browse the repository at this point in the history
Build fix
  • Loading branch information
SergeantSerk committed Oct 20, 2019
2 parents df745d0 + 27fe837 commit cca147c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 103 deletions.
104 changes: 2 additions & 102 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
</distributionManagement>
<properties> <!-- Sets the char set for the project -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies> <!-- All the dependencies required for the project to run -->
Expand Down Expand Up @@ -86,107 +88,5 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin> <!-- Plugin used to compile java files into class files -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<fork>true</fork>
<executable>C:\Program Files\Java\jdk1.8.0_161\bin\javac</executable>
<source>1.8</source> <!-- JDK Version -->
<target>1.8</target>
</configuration>
</plugin>

<plugin> <!-- Plugin used to jar class files into a .jar file -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>

<plugin> <!-- Plugin used to shade dependencies into the .jar file with the source code -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions> <!-- Spooky copy-pasta in order to let this run when I run 'mvn package' -->
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
<message>
Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.
</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</project>
3 changes: 2 additions & 1 deletion target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#Created by Apache Maven 3.5.4
#Generated by Maven
#Sun Oct 20 12:04:09 BST 2019
version=1.1.0
groupId=com.github.joecourtneyw
artifactId=R6J

0 comments on commit cca147c

Please sign in to comment.