Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 07e2088

Browse files
author
Matthias Böckmann
committed
Adding requirements for Central Repository release
1 parent bef34cf commit 07e2088

6 files changed

Lines changed: 75 additions & 3 deletions

File tree

dataformat-aasx/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
<plugin>
5656
<groupId>org.apache.maven.plugins</groupId>
5757
<artifactId>maven-compiler-plugin</artifactId>
58+
<version>3.8.1</version>
5859
<configuration>
5960
<source>11</source>
6061
<target>11</target>

dataformat-core/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<plugin>
4444
<groupId>org.apache.maven.plugins</groupId>
4545
<artifactId>maven-compiler-plugin</artifactId>
46+
<version>3.8.1</version>
4647
<configuration>
4748
<source>11</source>
4849
<target>11</target>

dataformat-json/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<plugin>
7373
<groupId>org.apache.maven.plugins</groupId>
7474
<artifactId>maven-compiler-plugin</artifactId>
75+
<version>3.8.1</version>
7576
<configuration>
7677
<source>11</source>
7778
<target>11</target>

dataformat-json/src/main/java/io/adminshell/aas/v3/dataformat/json/ReflectionAnnotationIntrospector.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@
4242
* <li> @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "modelType")
4343
* <li> @JsonSubTypes({
4444
*
45-
* @Type(value = [sub-interface].class, name = "[sub-interface name]"), ...})
45+
* \@Type(value = [sub-interface].class, name = "[sub-interface name]"), ...})
4646
* for each sub-interface
4747
* </ul>
48-
* <li> to all getter methods returning any type of Collection<?> defined in the
48+
* <li> to all getter methods returning any type of Collection&lt;?&gt; defined in the
4949
* AAS model:
50-
* <ul> @JsonInclude(JsonInclude.Include.NON_EMPTY)
50+
* <ul>
51+
* <li>@JsonInclude(JsonInclude.Include.NON_EMPTY)</li>
5152
* </ul>
5253
* </ul>
5354
*/

dataformat-xml/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<plugin>
7373
<groupId>org.apache.maven.plugins</groupId>
7474
<artifactId>maven-compiler-plugin</artifactId>
75+
<version>3.8.1</version>
7576
<configuration>
7677
<source>11</source>
7778
<target>11</target>

pom.xml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
6+
<!-- Description, name, URL, developers, and scm are required by Sonatype for the Central Repository release -->
7+
<description>This project includes serializers to produce various data formats for objects from the Asset Administration Shell ontology, as well as means to validate these objects.</description>
8+
<name>Asset Administration Shell Serializer</name>
9+
<url>https://github.com/admin-shell-io/java-serializer</url>
10+
<developers>
11+
<developer>
12+
<organization>SAP SE</organization>
13+
<url>https://github.com/admin-shell-io/java-serializer#contributors</url>
14+
</developer>
15+
<developer>
16+
<organization>Fraunhofer e.V.</organization>
17+
<url>https://github.com/admin-shell-io/java-serializer#contributors</url>
18+
</developer>
19+
</developers>
20+
21+
<scm>
22+
<connection>scm:git:git://github.com/admin-shell-io/java-serializer.git</connection>
23+
<developerConnection>scm:git:git://github.com/admin-shell-io/java-serializer.git</developerConnection>
24+
<url>https://github.com/admin-shell-io/java-serializer/tree/main</url>
25+
</scm>
26+
527
<modelVersion>4.0.0</modelVersion>
628
<groupId>io.admin-shell.aas</groupId>
729
<artifactId>dataformat-parent</artifactId>
@@ -42,6 +64,7 @@
4264
<commons-io.version>2.6</commons-io.version>
4365
<shacl.version>1.3.2</shacl.version>
4466
<commons-lang3.version>3.8.1</commons-lang3.version>
67+
<gpg.keyname>0xDFCC34A6</gpg.keyname>
4568
</properties>
4669
<build>
4770
<plugins>
@@ -72,6 +95,50 @@
7295
</execution>
7396
</executions>
7497
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-source-plugin</artifactId>
101+
<version>3.2.0</version>
102+
<executions>
103+
<execution>
104+
<id>attach-sources</id>
105+
<goals>
106+
<goal>jar-no-fork</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-javadoc-plugin</artifactId>
114+
<version>3.3.0</version>
115+
<executions>
116+
<execution>
117+
<id>attach-javadocs</id>
118+
<goals>
119+
<goal>jar</goal>
120+
</goals>
121+
</execution>
122+
</executions>
123+
</plugin>
124+
<plugin>
125+
<groupId>org.apache.maven.plugins</groupId>
126+
<artifactId>maven-gpg-plugin</artifactId>
127+
<version>3.0.1</version>
128+
<configuration>
129+
<keyname>${gpg.keyname}</keyname>
130+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
131+
</configuration>
132+
<executions>
133+
<execution>
134+
<id>sign-artifacts</id>
135+
<phase>verify</phase>
136+
<goals>
137+
<goal>sign</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
</plugin>
75142
</plugins>
76143
</build>
77144

0 commit comments

Comments
 (0)