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

Commit 5c5f03a

Browse files
author
Matthias Böckmann
committed
Adding meta-information to pom.xml which is required for Central Repository release
1 parent b3a1edb commit 5c5f03a

1 file changed

Lines changed: 70 additions & 10 deletions

File tree

pom.xml

Lines changed: 70 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@
66
<groupId>io.admin-shell.aas</groupId>
77
<artifactId>model</artifactId>
88
<version>${revision}</version>
9+
10+
<!-- Description, name, URL, developers, and scm are required by Sonatype for the Central Repository release -->
11+
<description>This project includes a Java representation of the classes defined in the Asset Administration Shell ontology.</description>
12+
<name>Asset Administration Shell Java Model</name>
13+
<url>https://github.com/admin-shell-io/java-model</url>
14+
<developers>
15+
<developer>
16+
<organization>SAP SE</organization>
17+
<url>https://github.com/admin-shell-io/java-model#contributors</url>
18+
</developer>
19+
<developer>
20+
<organization>Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.</organization>
21+
<url>https://github.com/admin-shell-io/java-model#contributors</url>
22+
</developer>
23+
</developers>
24+
25+
<scm>
26+
<connection>scm:git:git://github.com/admin-shell-io/java-model.git</connection>
27+
<developerConnection>scm:git:git://github.com/admin-shell-io/java-model.git</developerConnection>
28+
<url>https://github.com/admin-shell-io/java-model/tree/main</url>
29+
</scm>
30+
31+
32+
933
<properties>
1034
<revision>1.0.0</revision>
1135
<maven.compiler.source>1.8</maven.compiler.source>
@@ -14,6 +38,7 @@
1438
<plugin.javadoc.version>3.2.0</plugin.javadoc.version>
1539
<plugin.license.version>4.1</plugin.license.version>
1640
<plugin.projectinfo.version>3.1.2</plugin.projectinfo.version>
41+
<gpg.keyname>0xDFCC34A6</gpg.keyname>
1742
</properties>
1843
<dependencies>
1944
<dependency>
@@ -92,16 +117,51 @@
92117
</execution>
93118
</executions>
94119
</plugin>
120+
<plugin>
121+
<groupId>org.apache.maven.plugins</groupId>
122+
<artifactId>maven-source-plugin</artifactId>
123+
<version>3.2.0</version>
124+
<executions>
125+
<execution>
126+
<id>attach-sources</id>
127+
<goals>
128+
<goal>jar-no-fork</goal>
129+
</goals>
130+
</execution>
131+
</executions>
132+
</plugin>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-gpg-plugin</artifactId>
136+
<version>3.0.1</version>
137+
<configuration>
138+
<keyname>${gpg.keyname}</keyname>
139+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
140+
</configuration>
141+
<!-- No automated execution for now to make sure that the build succeeds on all machines
142+
<executions>
143+
<execution>
144+
<id>sign-artifacts</id>
145+
<phase>verify</phase>
146+
<goals>
147+
<goal>sign</goal>
148+
</goals>
149+
</execution>
150+
</executions>
151+
-->
152+
</plugin>
95153
</plugins>
96154
</build>
97-
<distributionManagement>
98-
<snapshotRepository>
99-
<id>ossrh</id>
100-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
101-
</snapshotRepository>
102-
<repository>
103-
<id>ossrh</id>
104-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
105-
</repository>
106-
</distributionManagement>
155+
156+
<!-- Central Repository deployment configuration -->
157+
<distributionManagement>
158+
<snapshotRepository>
159+
<id>ossrh</id>
160+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
161+
</snapshotRepository>
162+
<repository>
163+
<id>ossrh</id>
164+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
165+
</repository>
166+
</distributionManagement>
107167
</project>

0 commit comments

Comments
 (0)