Compare commits
6 Commits
0f4283bc7f
...
v1.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
324d611910
|
|||
|
799eb03397
|
|||
|
ac332f9740
|
|||
|
8275608730
|
|||
|
63d9d1d488
|
|||
|
a16577be96
|
51
pom.xml
51
pom.xml
@@ -27,7 +27,7 @@
|
||||
|
||||
<groupId>com.mattrixwv</groupId>
|
||||
<artifactId>matrix</artifactId>
|
||||
<version>1.2.4-SNAPSHOT</version>
|
||||
<version>1.3.1</version>
|
||||
|
||||
<name>Matrix</name>
|
||||
<description>A library for performing Matrix operations</description>
|
||||
@@ -38,11 +38,11 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>25</java.version>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<maven.compiler.source>25</maven.compiler.source>
|
||||
<maven.compiler.target>25</maven.compiler.target>
|
||||
|
||||
<!--Sonarqube-->
|
||||
<sonar.java.source>21</sonar.java.source>
|
||||
<sonar.java.source>25</sonar.java.source>
|
||||
<sonar.dependencyCheck.jsonReportPath>target/dependency-check-report.json</sonar.dependencyCheck.jsonReportPath>
|
||||
<sonar.dependencyCheck.htmlReportPath>target/dependency-check-report.html</sonar.dependencyCheck.htmlReportPath>
|
||||
</properties>
|
||||
@@ -60,11 +60,12 @@
|
||||
<plugins>
|
||||
<!--Ensure maven is the correct version-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-maven</id>
|
||||
<phase>enforce</phase>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
@@ -73,26 +74,6 @@
|
||||
</plugin>
|
||||
|
||||
<!--Sonarqube-->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jacoco-initialize</id>
|
||||
<phase>none</phase>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>jacoco-site</id>
|
||||
<phase>none</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.owasp</groupId>
|
||||
<artifactId>dependency-check-maven</artifactId>
|
||||
@@ -108,6 +89,11 @@
|
||||
</plugin>
|
||||
|
||||
<!--Deployment-->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
@@ -145,10 +131,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<pluginManagement>
|
||||
@@ -166,6 +148,7 @@
|
||||
</rules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
@@ -173,38 +156,46 @@
|
||||
|
||||
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.14.1</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
<arg>-Xlint:-serial</arg>
|
||||
</compilerArgs>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.5.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>3.1.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.21.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>3.9.0</version>
|
||||
</plugin>
|
||||
@@ -244,7 +235,7 @@
|
||||
</formats>
|
||||
<nvdApiServerId>nvd</nvdApiServerId>
|
||||
<failBuildOnCVSS>7</failBuildOnCVSS>
|
||||
<ossIndexServerId>ossrh</ossIndexServerId>
|
||||
<ossIndexServerId>ossindex</ossIndexServerId>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
//Matrix/src/main/java/com/mattrixwv/exceptions/InvalidCoordinatesException.java
|
||||
//Mattrixwv
|
||||
// Created: 02-01-22
|
||||
//Modified: 08-08-24
|
||||
package com.mattrixwv.matrix.exceptions;
|
||||
|
||||
|
||||
@@ -11,12 +7,6 @@ package com.mattrixwv.matrix.exceptions;
|
||||
* @author Mattrixwv
|
||||
*/
|
||||
public class InvalidCoordinatesException extends RuntimeException{
|
||||
/**
|
||||
* Serialization identifier for this class.
|
||||
*/
|
||||
public static final long serialVersionUID = 1;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new {@code InvalidCoordinatesException} with {@code null} as its detail message.
|
||||
* The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
//Matrix/src/main/java/com/mattrixwv/exceptions/InvalidGeometryException.java
|
||||
//Mattrixwv
|
||||
// Created: 02-01-22
|
||||
//Modified: 08-08-24
|
||||
package com.mattrixwv.matrix.exceptions;
|
||||
|
||||
|
||||
@@ -11,12 +7,6 @@ package com.mattrixwv.matrix.exceptions;
|
||||
* @author Mattrixwv
|
||||
*/
|
||||
public class InvalidGeometryException extends RuntimeException{
|
||||
/**
|
||||
* Serialization identifier for this class.
|
||||
*/
|
||||
public static final long serialVersionUID = 1;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new {@code InvalidGeometryException} with {@code null} as its detail message.
|
||||
* The cause is not initialized and may subsequently be initialized by a call to {@link #initCause}.
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
//Matrix/src/main/java/com/mattrixwv/exceptions/InvalidRowSizeException.java
|
||||
//Mattrixwv
|
||||
// Created: 02-01-22
|
||||
//Modified: 08-08-24
|
||||
package com.mattrixwv.matrix.exceptions;
|
||||
|
||||
|
||||
@@ -9,12 +5,6 @@ package com.mattrixwv.matrix.exceptions;
|
||||
* Exception thrown to indicate that the size of a row is invalid for a given matrix.
|
||||
*/
|
||||
public class InvalidRowSizeException extends RuntimeException{
|
||||
/**
|
||||
* Serialization identifier for this class.
|
||||
*/
|
||||
public static final long serialVersionUID = 1;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new {@code InvalidRowSizeException} with {@code null} as its detail message.
|
||||
* The cause is not initialized and may subsequently be initialized by a call to {@link #initCause}.
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
//Matrix/src/main/java/com/mattrixwv/matrix/exceptions/InvalidScalarException.java
|
||||
//Mattrixwv
|
||||
// Created: 02-07-22
|
||||
//Modified: 08-08-24
|
||||
package com.mattrixwv.matrix.exceptions;
|
||||
|
||||
|
||||
@@ -9,12 +5,6 @@ package com.mattrixwv.matrix.exceptions;
|
||||
* Exception thrown to indicate that a scalar value passed to a matrix is invalid
|
||||
*/
|
||||
public class InvalidScalarException extends RuntimeException{
|
||||
/**
|
||||
* Serialization identifier for this class.
|
||||
*/
|
||||
public static final long serialVersionUID = 1;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new {@code InvalidScalarException} with {@code null} as its detail message.
|
||||
* The cause is not initialized and may subsequently be initialized by a call to {@link #initCause}.
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
//Matrix/src/main/java/com/mattrixwv/exceptions/NullMatrixException.java
|
||||
//Mattrixwv
|
||||
// Created: 06-30-22
|
||||
//Modified: 08-08-24
|
||||
package com.mattrixwv.matrix.exceptions;
|
||||
|
||||
|
||||
@@ -9,12 +5,6 @@ package com.mattrixwv.matrix.exceptions;
|
||||
* Exception thrown to indicate that a null matrix has been illegally passed to a method
|
||||
*/
|
||||
public class NullMatrixException extends RuntimeException{
|
||||
/**
|
||||
* Serialization identifier for this class.
|
||||
*/
|
||||
public static final long serialVersionUID = 1;
|
||||
|
||||
|
||||
/**
|
||||
* Constructs a new {@code NullMatrixException} with {@code null} as its detail message.
|
||||
* The cause is not initialized and may subsequently be initialized by a call to {@link #initCause}.
|
||||
|
||||
Reference in New Issue
Block a user