|
6 | 6 | <groupId>io.admin-shell.aas</groupId> |
7 | 7 | <artifactId>model</artifactId> |
8 | 8 | <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 | + |
9 | 33 | <properties> |
10 | 34 | <revision>1.0.0</revision> |
11 | 35 | <maven.compiler.source>1.8</maven.compiler.source> |
|
14 | 38 | <plugin.javadoc.version>3.2.0</plugin.javadoc.version> |
15 | 39 | <plugin.license.version>4.1</plugin.license.version> |
16 | 40 | <plugin.projectinfo.version>3.1.2</plugin.projectinfo.version> |
| 41 | + <gpg.keyname>0xDFCC34A6</gpg.keyname> |
17 | 42 | </properties> |
18 | 43 | <dependencies> |
19 | 44 | <dependency> |
|
92 | 117 | </execution> |
93 | 118 | </executions> |
94 | 119 | </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> |
95 | 153 | </plugins> |
96 | 154 | </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> |
107 | 167 | </project> |
0 commit comments