Skip to content
Snippets Groups Projects
Commit 6ba39abb authored by OZGCloud's avatar OZGCloud
Browse files

update version; build test-jar

parent 92b90e97
No related branches found
No related tags found
No related merge requests found
...@@ -111,6 +111,19 @@ ...@@ -111,6 +111,19 @@
</compilerArgs> </compilerArgs>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
package de.ozgcloud.apilib.vorgang;
import de.ozgcloud.apilib.file.OzgCloudFileGroup;
import de.ozgcloud.apilib.file.OzgCloudFileTestFactory;
public class AttachmentTestFactory {
public static final String GROUP_NAME = "test_attachments";
public static OzgCloudFileGroup createFileGroup() {
return OzgCloudFileGroup.builder()
.name(GROUP_NAME)
.file(OzgCloudFileTestFactory.create())
.build();
}
}
...@@ -23,6 +23,7 @@ public class OzgCloudVorgangEingangTestFactory { ...@@ -23,6 +23,7 @@ public class OzgCloudVorgangEingangTestFactory {
.header(OzgCloudEingangHeaderTestFactory.create()) .header(OzgCloudEingangHeaderTestFactory.create())
.antragsteller(OzgCloudAntragstellerTestFactory.create()) .antragsteller(OzgCloudAntragstellerTestFactory.create())
.zustaendigeStelle(OzgCloudZustaendigeStelleTestFactory.create()) .zustaendigeStelle(OzgCloudZustaendigeStelleTestFactory.create())
.attachments(List.of(AttachmentTestFactory.createFileGroup()))
.formDataEntrys(List.<OzgCloudFormDataEntry>of( .formDataEntrys(List.<OzgCloudFormDataEntry>of(
OzgCloudFormField.builder().name(FIELD_NAME).label(FIELD_LABEL).value(FIELD_VALUE).build(), OzgCloudFormField.builder().name(FIELD_NAME).label(FIELD_LABEL).value(FIELD_VALUE).build(),
OzgCloudSubForm.builder().name(SUB_FORM_NAME).label(SUB_FORM_LABEL) OzgCloudSubForm.builder().name(SUB_FORM_NAME).label(SUB_FORM_LABEL)
......
...@@ -20,6 +20,8 @@ public class OzgCloudVorgangTestFactory { ...@@ -20,6 +20,8 @@ public class OzgCloudVorgangTestFactory {
.version(VERSION) .version(VERSION)
.vorgangName(VORGANG_NAME) .vorgangName(VORGANG_NAME)
.vorgangNummer(VORGANG_NUMMER) .vorgangNummer(VORGANG_NUMMER)
.header(OzgCloudVorgangHeaderTestFactory.create()); .header(OzgCloudVorgangHeaderTestFactory.create())
.eingang(OzgCloudVorgangEingangTestFactory.create());
} }
} }
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<properties> <properties>
<source-plugin.version>3.3.0</source-plugin.version> <source-plugin.version>3.3.0</source-plugin.version>
<failsafe-plugin.version>3.1.2</failsafe-plugin.version> <failsafe-plugin.version>3.1.2</failsafe-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
</properties> </properties>
<build> <build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment