Skip to content

Commit

Permalink
fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Nov 14, 2023
1 parent 9dad621 commit 741c1f3
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 41 deletions.
1 change: 1 addition & 0 deletions datasafe-business/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Cryptographic message syntax document encoder/decoder - see
*
* @see <a href=https://en.wikipedia.org/wiki/Cryptographic_Message_Syntax">CMS
* @see <a href="https://en.wikipedia.org/wiki/Cryptographic_Message_Syntax">CMS
* wiki</a>
*/
@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/**
* This is Datasafe services customized implementation.
* Note, that despite is has {@code @Singleton} annotation, it is not real singleton, the only shared thing
* Note, that despite it has {@code @Singleton} annotation, it is not real singleton, the only shared thing
* across all services instantiated using build() is bindings with {@code Singleton} in its Module.
*/
@Singleton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.adorsys.datasafe.simple.adapter.impl;

import com.amazonaws.services.s3.model.AmazonS3Exception;
import com.sun.management.UnixOperatingSystemMXBean;
import de.adorsys.datasafe.encrypiton.api.types.UserID;
import de.adorsys.datasafe.encrypiton.api.types.UserIDAuth;
import de.adorsys.datasafe.encrypiton.api.types.encryption.MutableEncryptionConfig;
Expand All @@ -24,17 +23,13 @@
import de.adorsys.datasafe.types.api.utils.ReadKeyPasswordTestFactory;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import net.bytebuddy.implementation.bytecode.Throw;
import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

import java.io.ByteArrayInputStream;
import java.io.OutputStream;
import java.lang.management.ManagementFactory;
import java.lang.management.OperatingSystemMXBean;
import java.nio.file.NoSuchFileException;
import java.security.UnrecoverableKeyException;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<groupId>de.adorsys</groupId>
<artifactId>datasafe-test-storages</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.Nullable;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;

import java.util.stream.Stream;

Expand Down
18 changes: 18 additions & 0 deletions datasafe-test-storages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,22 @@
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import de.adorsys.datasafe.types.api.resource.Uri;
import de.adorsys.datasafe.types.api.shared.BaseMockitoTest;
import de.adorsys.datasafe.types.api.utils.ExecutorServiceUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.SneakyThrows;
import lombok.ToString;
Expand Down
57 changes: 27 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.dependency.plugin.version>3.6.0</maven.dependency.plugin.version>
<lombok.version>1.18.28</lombok.version>
<lombok.version>1.18.30</lombok.version>
<gson.version>2.8.9</gson.version>
<dagger.version>2.46.1</dagger.version>
<guava.version>32.1.1-jre</guava.version>
Expand Down Expand Up @@ -371,21 +371,10 @@
<configuration>
<argLine>
${surefireArgLine},
--add-opens java.base/java.lang=ALL-UNNAMED,

--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED,
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED,

--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED,
--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
Expand Down Expand Up @@ -537,23 +526,31 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok-maven-plugin</artifactId>-->
<!-- <version>${lombok-maven-plugin.version}</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <phase>generate-sources</phase>-->
<!-- <goals>-->
<!-- <goal>delombok</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <addOutputDirectory>false</addOutputDirectory>-->
<!-- <sourceDirectory>src/main/java</sourceDirectory>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>${lombok-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
</dependencies>

<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
<configuration>
<addOutputDirectory>false</addOutputDirectory>
<sourceDirectory>src/main/java</sourceDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down

0 comments on commit 741c1f3

Please sign in to comment.