Browse Source

Repair coverage

tags/build/168^0
Kai Kretschmann 6 months ago
parent
commit
8430836658
3 changed files with 43 additions and 21 deletions
  1. 1
    2
      .classpath
  2. 1
    1
      .settings/org.eclipse.jdt.core.prefs
  3. 41
    18
      pom.xml

+ 1
- 2
.classpath View File

@@ -25,9 +25,8 @@
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-11.0.1">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>

+ 1
- 1
.settings/org.eclipse.jdt.core.prefs View File

@@ -109,7 +109,7 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=11
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16

+ 41
- 18
pom.xml View File

@@ -5,7 +5,7 @@
<groupId>org.jastacry</groupId>
<artifactId>jastacry</artifactId>
<version>0.5.0</version>
<version>0.5.1</version>
<!-- 'mvn scm:tag' will create a new git tag with above value -->
<description>Java Stacked Crypto</description>
@@ -20,11 +20,14 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pmd.version>6.6.0</pmd.version>
<!-- <findbugs.version>3.0.5</findbugs.version> -->
<!-- <findbugs.version>3.0.5</findbugs.version> -->
<checkstyle.version>8.12</checkstyle.version>
<surefire.version>3.0.0-M3</surefire.version>
<!-- <argLine>-Xmx128m - -illegal-access=permit</argLine> -->
<jacoco.version>0.8.2</jacoco.version>
<dependency.locations.enabled>false</dependency.locations.enabled>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<profiles>
<profile>
@@ -160,11 +163,11 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- <version>${findbugs.version}</version> -->
<!-- </plugin> -->
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- <version>${findbugs.version}</version> -->
<!-- </plugin> -->
<plugin>
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
@@ -253,19 +256,38 @@
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-prepare-agent</id>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<dataFile>target/jacoco.exec</dataFile>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>target/jacoco-ut</outputDirectory>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
@@ -293,7 +315,7 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>11</release>
<verbose>true</verbose>
</configuration>
</plugin>
@@ -330,16 +352,17 @@
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<!-- <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
<test>org.jastacry.test.Test*,org.jastacry.layer.Test*</test>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<argLine>
--illegal-access=permit
- -illegal-access=permit
</argLine>
</configuration>
</plugin>
</plugin> -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -483,11 +506,11 @@
<configuration>
</configuration>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- <version>${findbugs.version}</version> -->
<!-- </plugin> -->
<!-- <plugin> -->
<!-- <groupId>org.codehaus.mojo</groupId> -->
<!-- <artifactId>findbugs-maven-plugin</artifactId> -->
<!-- <version>${findbugs.version}</version> -->
<!-- </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>

Loading…
Cancel
Save
Social stuff:
Mastodon